Today I aim to fix as best I can the bugs in the new enemy I made last time. Not all of the bugs are in the code itself, one of the most noticeable problems is simply that the background for the animation isn't transparent. Another problem is that animation is a little shaky cause I should probably have used more frames.
Making the animation look better was as simple as making the frametime of the animation longer, not perfect but I think it might be acceptable at 60 instead of 30. Might be able to tinker with it more to make it look better.
The one issue I have to be able to solve first is making the images transparent so it looks decent on screen. No use fixing the code if there is a giant ugly white block around the ship.
Looking at the tutorial video about animation I notice the background was black (as was the thing for the animation I downloaded) so that might be it. I went and made the background black.
After painstakingly changing the background back to black and re-uploading it, the only difference is that I now have black squares around the enemy ships instead of white squares.
I think I'm gonna have to ask my friend Alex about this, he would likely know what to do. All the pre made stuff you download from the tutorial already is transparent (in fact if I open it in Paint and not in Windows Photo Gallery what would be background is filled with all kinds of random looking stuff).
Really hate to stretch this out. I'll tweak some other stuff in the meantime even though I've already spent a good amount of time on this tonight as is.
No comments:
Post a Comment