Today I learned how to fix going to the next room when the all enemy is destroy in any room, What i did: I used "if" to divide the code to run in spearte room, if the enemy object number is less than 1 , if the room is equal to level 1 or 2, then it'll run "room_goto_next" which is going onto next room, "room == rm_level 1" which means ,if the room is level 1 , then run the next code. on room level 3 I tried the create a ending menu by using this function , but somehow when I used drawing function after the "instance_number". It won't run the drawing function that I wrote.
level 1 to level 2:
level 2 to level 3:
level3:
The next day I'm going to fix the ending game menu.
No comments:
Post a Comment