GLBasic forum

Main forum => GLBasic - en => Topic started by: dman10001 on 2010-Apr-07

Title: How can I use SpriteZ ?
Post by: dman10001 on 2010-Apr-07
Hi, I am trying to use SpriteZ to create explosion for a game.

I tried using the examples but do not understand.

how can I use it to create an explosion

Title: Re: How can I use SpriteZ ?
Post by: Hemlos on 2010-Apr-08
To understand it better,
You need to preset a header for the emitter first.

Then in a loop (main) you turn it on or off.

The header is where all the settings for the emitter are.

Im really sorry this is al i can write today....i have a piece of tree in my eye and i need to get it out.  :help:

If you still have problems i will help you implement it into your program.
Keep in contact with me.
Title: Re: How can I use SpriteZ ?
Post by: dman10001 on 2010-Apr-08
Hi, I see that you have Emitter_Nozzle_Spread() for explosions.

I tried to play with some vales like the Lifetime and Number of Emitters, but I can not seem to get the right results.

I am looking for an explosion that looks real enough that Emits outward in different directions.

Please help...
Title: Re: How can I use SpriteZ ?
Post by: Hemlos on 2010-Apr-08
Sure thing...
Lets take this thread back to the main thread for spritez....

Follow this link:
http://www.glbasic.com/forum/index.php?topic=3550.msg32593#msg32593