Saturday, October 8, 2011

Tighten up the graphics on level 3

Today's goals are mostly graphical in nature. To make the ship animation smoother I need to add a bunch of frames so that the last frame smoothly leads into the first one. I could cut out some frames overall to keep the frame size manageable but I think I am just gonna go for the gold and not cut any.

I started to do it one frame at a time but realized there had to have been a much better way since I was just gonna be using what already existed. I copied the middle 16 frames, flipped them and had what I wanted in a fraction of the time. I also went and shaved 3 pixels off the height for hopefully a slightly tighter hit box (size it is using the size of the animation in the collision.

Of course here I run into my first error of the day. When I attempt to load the new animation in, I am told I have exceeded the maximum allowable Texture 2D size of 2048 since the one I attempted to put in was 2718 x 70. Looks like I am gonna have to cut out some frames.

Deciding which frames to cut was tough, and I had to cut a lot more than I wanted. It went from 18 to 34 to 25 overall. Regardless, when I loaded it up (and then remembered to tell it there were 25 frames now, not 34) it looked good. I didn't notice any jumping so I think it's ok as is.

Not much to write here as most of the time was spent moving pixels. Next time I suppose... I dunno. I'm having a friend over the next few days, I might give myself a break from doing something every night.

No comments:

Post a Comment