Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Examples of 2D animation handling

$
0
0
Hi D.I.C.

I've been working on this 2d platform game for a while and I have quite a few glitches during my animations. I was wondering if anyone knows of any examples or something I can read that might point me down a good design path for how to handle state based animations. Not looking for code, just a tutorial or something.

I guess what I should be asking is should I be using a ton of if/else statements or is there some smarter way to control which animation is showing?

Please don't say "Use google" because searching for state based animation gives me a bunch of "Here's how to animate something" and thats NOT what I'm looking for. I want to know how to tell my program when to play a certain animation and not conflict with other animations. Google just turns up a ton of Flash animation articles and that is not what I need X(

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>