Today I learned how my game to switch room when all the enemy are destroy and a new function call instance_number, this function count the object number , once it reach the number that i code. it will execute the next function. what i did is i made a simple code to count how many enemy were destroy , and then go to the next room. the only problem the my code doesn't count the number of my spawner enemy, so it will just switch room without spawning the enemy.
the next day I'm going to do is make a select menu for level, then make a selection for each level
No comments:
Post a Comment