Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Frame rate independent gameplay implementation in pure Java

I've been looking up on FPS independent movement recently, and I somewhat understand the concept. But I'm having trouble implementing it in pure Java. Any one have any idea of how I could implement ...
Saumi's user avatar
  • 79
2 votes
2 answers
2k views

How can I create delays for sprite animations that work correctly when the application is killed and restored?

Please see my original question here: Using System Time to compute delay times that correctly deal with app pauses? In summary, I am attempting to to introduce a delay (say of 5 seconds or so) ...
BungleBonce's user avatar
  • 1,937
0 votes
2 answers
4k views

Using System Time to compute delay times that correctly deal with app pauses?

In my Android app I have the requirement to introduce small (for slowing down animation) and larger delays (for the purpose of delaying the appearance of a character for example). I've experimented ...
BungleBonce's user avatar
  • 1,937
7 votes
1 answer
29k views

How do I make a game tick method?

I've seen in some other simple 2D games that a "tick" method is used to sync game logic and graphics rendering. My main reason for using this is due to my collision detection malfunctioning, since ...
A13X's user avatar
  • 314