Tagged Questions
-1
votes
1answer
66 views
Animation Trouble with Java Swing Timer - Also, JFrame Will Not Exit_On_Close
So, I am using a Java Swing Timer because putting the animation code in a run() method of a Thread subclass caused an insane amount of flickering that is really a terrible experience for any video ...
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 ...
2
votes
2answers
219 views
How can I animate a recursive algorithm?
Say I have a recursive algorithm, for example one that generates a random tree:
// Pseudocode, just a simple algorithm: it isn't perfect.
function generate_branch(angle, length, current_depth, ...
4
votes
3answers
477 views
Determine animation frame from interval
I have an array of sprites that are displayed in-order to make an animation. There is code in an update loop that has access to a value 'time' indicating how far along the animation is. Time is a ...