The next day I'm going to improve anything in my shooting project.
Tuesday, May 9, 2017
Gamemaker Day 39
Today I learned how to make a ending for my game and changing the enemy's speed in different room and create a spot for my levelmenu to go back to main menu. What i did : I change the enemy's speed by using step event, and then I use "if(room == level2)" to run whatever code in level2 of the enemy object. then I change speed to 1 in room 2 and speed 1.5 in room 3. to make the game more difficult in different level. the next thing I did is the ending screen , I use " If(!instance_exits(obj_enemy))" to create a text when all enemy is destroy, when all enemy is destroy then draw "winner" on the screen, then I change a bit in the levelmenu script , I added a line for going back to the main menu , I put room_goto(rm_menu) on the script, which means whenever I press the line , it will go back to the main menu.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment