Results 1 to 17 of 17

Thread: Linear Particle for Clanlib 2.0

  1. #1
    Lesser Knight
    Join Date
    Mar 2009
    Posts
    54

    Default Linear Particle for Clanlib 2.0

    Finally I've decided to release my own port of linear particle to clanlib 2.0.

    The following zip archive contains the modified source code of linear particle 0.51 converted to clanlib 2.0.

    Please read Note.txt for a mini guide on upgrading. Also check out the examples.

    Credit goes to galaxist, the creator of linear particle.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	circle.PNG 
Views:	49 
Size:	60.8 KB 
ID:	309   Click image for larger version. 

Name:	circle2.PNG 
Views:	57 
Size:	101.5 KB 
ID:	310   Click image for larger version. 

Name:	motion2.PNG 
Views:	61 
Size:	202.1 KB 
ID:	312   Click image for larger version. 

Name:	staticball.PNG 
Views:	59 
Size:	32.2 KB 
ID:	313  
    Attached Files Attached Files
    Last edited by huntercool; 06-21-2009 at 11:10 AM. Reason: uploaded attachment

  2. #2
    Squire
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    29

    Thumbs up Hooray!

    You are a good man huntercool. Thank you and galaxist.
    I'm off to heaven on a golden chariot!

  3. #3
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,774

    Default

    Awesome

  4. #4
    Lesser Knight
    Join Date
    Oct 2007
    Posts
    56

    Smile down!

    I use this on clanlib0.80,I find that if a parameter(time aspect) set can let windows down,just os die.Can you give me some advices to set parameter.
    And use it diffcult,I mean the API is diffcult to use.
    finally,thank you for you open this.

  5. #5

    Default

    Is there any chance a MingW prebuilt version of this could be released? It would save people (including me) a lot of trouble trying to integrate this into their projects.

  6. #6

    Default

    OMG! Link does not work!! Whooaayy??

  7. #7
    Lesser Knight
    Join Date
    Mar 2009
    Posts
    54

    Default

    fixed

  8. #8

    Default

    I want to run an example but the compiler sends me lot of linker errors..

    have a look:

    Code:
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: static void __cdecl L_ParticleSystem::deinit(void)" (?deinit@L_ParticleSystem@@SAXXZ)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall GFrameHandler::calculate(void)" (?calculate@GFrameHandler@@QAEXXZ)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: int __thiscall L_ParticleEffect::get_particle_num(void)" (?get_particle_num@L_ParticleEffect@@QAEHXZ)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: int __thiscall GFrameHandler::get_fps(void)const " (?get_fps@GFrameHandler@@QBEHXZ)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall L_ParticleEffect::set_position(float,float)" (?set_position@L_ParticleEffect@@QAEXMM@Z)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    I just using VC++ 2008 express, all files are linked , i use same options as i compile my other clanlib work

    someone an idea ?

    (i hope you understand my english )

  9. #9

    Default

    Quote Originally Posted by xenus View Post
    I want to run an example but the compiler sends me lot of linker errors..

    have a look:

    Code:
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: static void __cdecl L_ParticleSystem::deinit(void)" (?deinit@L_ParticleSystem@@SAXXZ)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall GFrameHandler::calculate(void)" (?calculate@GFrameHandler@@QAEXXZ)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: int __thiscall L_ParticleEffect::get_particle_num(void)" (?get_particle_num@L_ParticleEffect@@QAEHXZ)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: int __thiscall GFrameHandler::get_fps(void)const " (?get_fps@GFrameHandler@@QBEHXZ)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    1>msmall.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall L_ParticleEffect::set_position(float,float)" (?set_position@L_ParticleEffect@@QAEXMM@Z)" in Funktion ""private: __thiscall LinearParticle_Example::LinearParticle_Example(void)" (??0LinearParticle_Example@@AAE@XZ)".
    I just using VC++ 2008 express, all files are linked , i use same options as i compile my other clanlib work

    someone an idea ?

    (i hope you understand my english )
    You compiled the GFramaHandler?? I will try to build this in vs9 too, hope it works

    PD: nah I couldn't, if someone do knows how to make this project in vs say, or at least share the binaries plix
    Last edited by vladimirdlc; 07-26-2009 at 09:50 PM. Reason: pd

  10. #10

    Default

    Does someone knows now ?

    Or can someone make a .dll file so that i can use this ?

  11. #11

    Default

    the examples don't work for me, when i run it, it close and show the command line windows saying "Press any key to close this console window"
    I run it in Windows XP SP3

  12. #12

    Default

    I made it! Yataa! with clanlib 2.0.2 and vs 2008.



    Quote Originally Posted by orgos View Post
    the examples don't work for me, when i run it, it close and show the command line windows saying "Press any key to close this console window"
    I run it in Windows XP SP3
    Do your computer support GL1? In my neither did run the examples but I think was becouse of that, or maybe for the media files.

    Anyway, I'm so happy that when I could build finally correctly the libraries I will upload it so you people with windows could use it as well, but now I will go to sleep z_z

    xenus, maybe a little late but that error was probably becouse of the linking or the lack of libraries...

  13. #13
    Lesser Knight
    Join Date
    Mar 2009
    Posts
    54

    Default

    Well done!

    Post the stuff so we can all use it

  14. #14

    Default

    sure sure, here it is now recompiled and tested in Clanlib 2.1.0, got some warnings but works fine.
    Attached Files Attached Files

  15. #15
    Serf Feral's Avatar
    Join Date
    Feb 2010
    Location
    Redding, CA, USA
    Posts
    3

    Smile Thank you!

    Thank you both huntercool and vladimirdlc!
    Special thanks to galaxist for making Linear Particle initially!
    An certainly not least, extra special thanks to all of the ClanLib developers past, present and yet to come that make this all possible in the first place! (=

  16. #16

    Default

    Thanks to huntercool and vladimirdlc.
    I have been looking for this

  17. #17
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,774

    Default

    The linear particle code can now be found in the Examples/Display/Particle in ClanLib 2.2 (When released)


Similar Threads

  1. LinearParticle - Particle Engine
    By galaxist in forum ClanLib: Showcase And Feedback Requests
    Replies: 11
    Last Post: 08-13-2009, 11:56 AM
  2. Anyone have Linear Particles for CL 2.0.x?
    By NovaLaw in forum ClanLib: Help
    Replies: 1
    Last Post: 05-20-2009, 03:22 PM
  3. linear filtering
    By logixoul in forum ClanLib: Developer Chat
    Replies: 1
    Last Post: 07-01-2008, 01:28 PM
  4. pixel and particle physics as well as other sujestions
    By attle in forum Novashell Game Creation System
    Replies: 2
    Last Post: 05-18-2008, 07:32 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •