Create enemy waves
To create enemy waves You need to have followed the tutorial on creating a persistent object in the previous tutorialCreate a score that keeps its value between rooms. Add this global variable to the Create event of objVarPersist: global.wave=1; Create an object called objEnemyWaves In Create event add the following code: //wait 10 seconds for…