the next day I'm going to watch the tutorial "enemies" and add enemies into the game.
Friday, May 19, 2017
Gamemaker Day 45
Today I learned how to use make my player move faster when it touch the power up object. what i did: first I recolor my player to red for speed sprite, then I loaded a new sprite for my power up in movespeed. I use a similar function as the previous day, I change jumpspeed to movespeed. and I create a new variable for movespeed while its power up, and I input a new sprite when the player touch the power up object.then in the player object I added a line "movespeed = movespeed_noraml" which mean after the power up , it will return to the normal speed. also I added more wall and object in the room.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment