HomeHome  SearchSearch  RegisterRegister  Log inLog in  

Share
 

 SPARK in my engine

Go down 
AuthorMessage
flamingo



Messages : 8
Date d'inscription : 2014-07-23

SPARK in my engine Empty
PostSubject: SPARK in my engine   SPARK in my engine Icon_minitimeWed Jul 23, 2014 1:58 pm

I use spark as particle system library in my pet project:
https://github.com/flaming0/libdf3d

I use JSON definitions in order to load particle systems and automatically add them in scene tree.
Here is an example of such definition
https://raw.githubusercontent.com/flaming0/libdf3d-examples/master/example1/data/vfx/test_particles.json

And here is example of spark in action in my demo game:


File format is not ready yet. Loader can be found here (tightly coupled with my engine of course):
https://github.com/flaming0/libdf3d/blob/master/libdf3d/utils/ParticleSystemLoader.cpp

Thanks.
Back to top Go down
Darktib
Committer
Darktib

Messages : 389
Date d'inscription : 2009-07-20
Localisation : A coté de Paris

SPARK in my engine Empty
PostSubject: Re: SPARK in my engine   SPARK in my engine Icon_minitimeTue Jul 29, 2014 4:48 pm

Nice game, quite smooth (although a bit empty for the moment). I really like the accelerator effect on the ui Smile

I see you use the old SPARK 1.5, but nice job for the JSON loader !

_________________
SPARK in my engine A824d8828e17173a5d5b383b8744118b28a79bc96c7deba8910bed109308d4304g
Back to top Go down
flamingo



Messages : 8
Date d'inscription : 2014-07-23

SPARK in my engine Empty
PostSubject: Re: SPARK in my engine   SPARK in my engine Icon_minitimeSat Jan 10, 2015 12:30 pm

Hi!

I've just integrated spark2 in my engine. Check out the video:


Like in the previous version, I use JSON definitions for particle systems (updated for version 2). Here is an example of explosion effect:
https://github.com/flaming0/libdf3d-examples/blob/master/example1/data/vfx/test_particles.json

But unfortunately, there is a problem building spark via gcc or clang due to a bug in compiler (according to this commit). Is there an another way getting spark compiling with gcc?

Thanks!
Back to top Go down
Darktib
Committer
Darktib

Messages : 389
Date d'inscription : 2009-07-20
Localisation : A coté de Paris

SPARK in my engine Empty
PostSubject: Re: SPARK in my engine   SPARK in my engine Icon_minitimeSun Jan 11, 2015 11:20 am

Always nice and smooth !

BTW, are you using SPARK 2 or SPARK 1 now ?

_________________
SPARK in my engine A824d8828e17173a5d5b383b8744118b28a79bc96c7deba8910bed109308d4304g
Back to top Go down
flamingo



Messages : 8
Date d'inscription : 2014-07-23

SPARK in my engine Empty
PostSubject: Re: SPARK in my engine   SPARK in my engine Icon_minitimeSun Jan 11, 2015 11:23 am

Darktib wrote:
BTW, are you using SPARK 2 or SPARK 1 now ?

I use spark 2.
Back to top Go down
Sponsored content




SPARK in my engine Empty
PostSubject: Re: SPARK in my engine   SPARK in my engine Icon_minitime

Back to top Go down
 
SPARK in my engine
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
 :: English Forum :: Showcase (en)-
Jump to: