Tagged Questions
4
votes
4answers
227 views
Playing a death anim on an enemy that I want to remove
I've been trying to find a tutorial on how to best make animations in Android. I already have some animations for my enemies and my character that are controlled by rectangles and changing ...
4
votes
1answer
161 views
Android Java: Way to effectively pause system time while debugging?
In my project, I call nanoTime and use that to get a deltaTime which I pass to my entities and animations.
However, while debugging (for example, stepping through my code), the system time on my ...
3
votes
1answer
167 views
android game performance regarding timers
Im new to the game-dev world and I have a tendancy to over-simplify my code, and sometimes this costs me alot fo memory.
Im using a custom TimerTask that looks like this:
public class Task ...
5
votes
3answers
727 views
Thread runs faster on a faster processor… how to control Thread speed
I have a thread that uses TimeUnit.MILLISECONDS.sleep(5);
Problem is when I load my app on a faster phone say with a snapdragon, it runs at lightning speed.
Is there a way to control this speed so ...