enemy waves gamemaker

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 the alarm for the first time alarm[0]=room_speed*10; Add an Alarm [0] event with the following code: //increment the wave global.wave++; //Change the spawn rate and max enemies //or feel free to change one or none at all //take 5 from the high spawn rate value


The remainder of this content is restricted to site members.
It is free to join.
New users please register below.
If you are an existing user, please log in.

Existing Users Log In
New User Registration
*Required field

Similar Posts