Jump to content
Sign in to follow this  
  • entries
    8
  • comments
    10
  • views
    7513

Animation

Sign in to follow this  
PixelOcean

301 views

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.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!