Day 41

Today I worked on a new power up that adds speed whenever i pick it up. My movement speed goes from 0.3 to 0.5. I made the sprite of the powerup Sonic because, you know, Sonic is fast....
I did a lot of coding to make this work. I added a new variable called speed_powerup and made it so that when i pick it up my movement speed increases to 0.5 and plays a distorted version of the sonic theme until I die, reset or go to the next level.

I tried to change the player sprite too to sonic once i pick it up but I couldn't figure it out.

Tomorrow I will work on a new level.

No comments:

Post a Comment