Phil Hassey - game dev blog
Phil Hassey as Snidely Whiplash
"You can't buy awesomeness.
You're born that way."

Time rewinding fire effect

Part of the trick of time rewinding is to have as little state as possible.  This fire effect is generated from just this:

fire_draw(GAME.t,0,100,100,12,234)
To get this to work, I’ve pre-calculated how the flames will move.  Since the state is so small, fast-forward and rewind only depends on changing the GAME.t .
-Phil

Comments are closed.