mdkess / Platformer2

A second attempt at making a 2D platformer, this time with libgdx
3 stars 0 forks source link

Use SystemClock to update animations if possible #24

Open mdkess opened 12 years ago

mdkess commented 12 years ago

Just found out about this, makes it easier than storing counters everywhere:

http://developer.android.com/reference/android/os/SystemClock.html

Need to be careful about pausing and starting though, when it comes to that. Perhaps we need our own system clock, that only updates if the game isn't paused.