I would have missed this glorious example if not for bilgekaan bump.
So thanks bilgekaan ! <img src="smileys/smiley9.gif" border="0" align="middle" />
I thought bumps were supported by the developers so that new users can see these.
A sprite and an array in a container works for this. Here's an example: http://dl.dropbox.com/u/5426011/example ... ecord.capx Notice that only two events are used for the recording and playback. The rest are just standard game events. This idea can be extended by adding some interpolation between recorded states to smooth out hiccups caused by garbage collecting or other programs running in the background.
A sprite and an array in a container works for this. Here's an example:
http://dl.dropbox.com/u/5426011/example ... ecord.capx
Notice that only two events are used for the recording and playback. The rest are just standard game events.
This idea can be extended by adding some interpolation between recorded states to smooth out hiccups caused by garbage collecting or other programs running in the background.
Hi R0j0, Can you reupload the file, please?
Develop games in your browser. Powerful, performant & highly capable.
Link updated
Hey,
Always a big thanks for R0J0hound ^^ as avery time ^^
But is there a way to only record the 3/4 seconds until death ?
Thank you =D
oOScuByOo
Sure, you could just keep it recording everything like normal, but when the length of the array gets too long you could start removing stuff from the front of the array. At 60fps 3/4 of a second would be an array of width 60*0.75 or 45.