Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Breathing life into Bola

Sign in to follow this  


Well, this thing is moving pretty quick now. I've added some functionality I never got around to in the past. For example, I can "mirror" an animation. So when I import my "runningleft" animation (see past entries), I can now make a mirrored "runningright" animation that shares and flips the images. Even more fun is that the Mirror Animation dialog does a check for the words "right" or "left" in the name of the animation being mirrored, and if it finds one it replaces it with the other and sets the text in the edit box to the new name. So if I want to just mirror "runningleft" into "runningright", I can just hit Ctrl+M and then Enter to accept the default name. And since the images are shared, if I want to edit the "runningleft" animation via the drawing functions, the "runningright" animation stays updated too.

I simply rule.

I'm going to clean up a few more things, then add to my game the ability to load .bola animation files from Allegro datafiles. I'm still a bit unclear as to how I should deal with the file format though. Right now it uses Allegro packfile routines, which is great because it's dirt simple and I get good compression, but that means opening the files requires Allegro. I could just save them straight into binary format without compression, but then they'll be huge files. Mind you, putting them into datafiles will allow me to compress them again. [grin] I could also add compression using zLib (or so I imagine), but the last thing I need right now is another API to learn. So I think I'll go with that second option for now.

This is turning into a little GraphicsGale clone here. [cool] Which I guess I kind of need, since GG seems to be discontinued. Last I checked, anyway. [sad]
Sign in to follow this  


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!