Animation

posted in The Pixel Ocean
Published December 07, 2008
Advertisement
I finally managed to get my sprite animations working to my liking. The system is fairly robust, allowing you to insert and remove frames at any point in the buffer, and specify a unique string identifier that allows you to seek to any specific frame. You can also alter the speed of the animation by specifying a delay between each frame update, which is calculated based on the global timer.

The executable (in RAR format) can be found here.

It has become painfully clear to me, now that I'm having to load in multiple frames for each animation, that I need to implement some sort of asset management. That and collision detection are next on my list, so expect to see some updates in the next week or so.
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement