Jump to content
Sign in to follow this  
  • entries
    37
  • comments
    46
  • views
    22093

I improved my sprite class

Sign in to follow this  
Drakkcon

181 views

I made a better version of Dancing Kirby. I added a cImage class that divides itself into frames and lets you draw certain ones. I also made a sprite class that contains animations, and lets you load these animations out of a binary file. I also made a special program that lets you create said binary files. Last but not least I improved the sprite's self awareness in its update function so that it keeps track of how long it has been since the last time it has updated and only updates itself if it has been long enough since then. This lets me have seperate speeds for each sprite! My next project is going to be a map class that controls the sprites and a tile class that the map has an array of.

This whole engine is called Aerial Stratus. Aerial Interactive is my "Company" name (it's not a real company of course, I'm only 15 and not old enough to register one), and I prefix 'aerial' to all my projects. Check out the newest Dancing Kirby here.



Sign in to follow this  


2 Comments


Recommended Comments

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!