Today I started by organizing the players gun sprites into neat groups, its just easier to work in a clean environment. I also transferred over the idle/blinking animations into my new copy of the game. I then started to create a reloading animation for the shotgun. I started with dissecting Howard's code, as seen in the second screenshot. Then I took that code over and converted it into what I needed. In the third screenshot you can see the finished product of code, and finally the GIF is how it works in game. Obviously not the best animation, but its good for now. Well I was trying to originally create the reload animation I accidentally got the sprite to change in between shots rather then reloads. So now I know how to make a firing animation. Next class I will look at the other guns and see if a reloading animation or firing animation would work for them. I'm thinking about making a bolt animation for the sniper rifle.



And here's another GIF of Justins Youtube channel.


No comments:
Post a Comment