Breakthru

Published September 18, 2009
Advertisement
I found the problem I was having [grin]. I hadn't defined a copy constructor for the Animation class [rolleyes] so when I was copying the temporary Animation to my AnimationManager class it was performing a shallow copy (I think these are the correct terms). I also had to iron out a couple of other kinks with the AnimationManager class.

Also, I can only handle animations with a 32 x 32 frame and 11 frames because I have to put an empty frame and animation of the same size so that the real ones can be copied over in the copy constructor. So that is definitly something I will need to improve for the next game. (As an aside that seems to be the way these games have gone - kind of bumble through adding something new and then improving it in the next game when I know more about what needs to done and the caveats etc. [smile])

There is, however, quite a bit of tinkering to do with the animations because it causes horrific slowdown. But hopefully I should be able to get that done before uni starts and then this will have to take a back seat for a few months.

Thanks for reading
-AEdmonds

PS Thanks for the couple of messages of support I received. They were much appreciated.
Next Entry One Month Off
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!
Profile
Author
Advertisement
Advertisement