Author Topic: How can I use SpriteZ ?  (Read 1465 times)

Offline dman10001

  • Mc. Print
  • *
  • Posts: 5
    • View Profile
How can I use SpriteZ ?
« 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


Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1645
  • Particle Hawk
    • View Profile
Re: How can I use SpriteZ ?
« Reply #1 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.
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

Offline dman10001

  • Mc. Print
  • *
  • Posts: 5
    • View Profile
Re: How can I use SpriteZ ?
« Reply #2 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...

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1645
  • Particle Hawk
    • View Profile
Re: How can I use SpriteZ ?
« Reply #3 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
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)