Page 1 of 1

Need App.DeltaTime help :)

Posted: Mon Feb 26, 2007 11:19 am
by turshija
ok I made some kind of small game, and its working fine on my computer but I'm not sure how to use App.DeltaTime to make it working nice on different CPU speeds ...
I have attached zgeproj file, and I would like someone to add App.DeltaTimes where is necessary please :)

Thank you

Boris

P.S. I made this game to test reflexes so it is meant to be very fast ;)

Posted: Mon Feb 26, 2007 5:04 pm
by VilleK
I'm impressed!

You really seem to have understood how to use ZGE even though there
is so little documentation, good work. That makes me happy! :)

About deltatime: Since you only set an initial velocity in OnSpawn, you
do not need to use deltatime. If you modify Velocity or Position in an
expression in OnUpdate, then you need deltatime.

I would make the rocks fall slightly slower though, they are too fast
for my reactions :)