Questions tagged [animation]
The animation tag has no summary.
18 questions
-1 votes
2 answers
175 views
How are operating system animations displayed (concurrency)?
How are operating system animations displayed (concurrency)? E.g. window resizing. I've particularly always wondered about the concurrency aspect of it. Since the OS has to run many many things ...
2 votes
1 answer
669 views
C++ - How should I design my animation class?
I am working on my first sizable C++ program; a 2-D mario platformer remake. I currently have an animation class that encapsulates all of the functionality of my animations for all the bad-guys ...
0 votes
1 answer
88 views
Data structure for effects animation? [closed]
I'm making a prototype for a game. I'm working on effects at the moment, but more generally animation. Currently, I have list where newly spawned effects are added to. Then on the update section ...
1 vote
0 answers
101 views
Approach for interruptible transition animations
I found it's very complex to manage transitional animations. For example, when changes to a model get reverted before the animations have completed, the animations for previous changes should stop and ...
0 votes
2 answers
790 views
Looking to simulate the rolling of a ball around a roulette wheel, while the resulting number is already known
I want to make a roulette board with a ball spinning and landing on a certain field. The catch is that the field the ball will land on, is known beforehand. I want the animation to look somewhat ...
3 votes
1 answer
886 views
How do I cleanly design a central render/animation loop?
I'm learning some graphics programming, and am in the midst of my first such project of any substance. But, I am really struggling at the moment with how to architect it cleanly. Let me explain. To ...
2 votes
3 answers
2k views
Animation in Swing
I have a project written using Swing, and I want to make it more smoothly (like JavaFX is) by adding animation to some components(JButton, JScrollPane, JSplitPane) using javax.swing.Timer. UPD: That ...
4 votes
2 answers
5k views
What's the best way to use requestAnimationFrame and fixed frame rates
I recently got into using the HTML5-requestAnimationFrame-API a lot on animation-heavy websites, especially after seeing the Jank Busters talk. This seems to work pretty well and really improve ...