I created a new variable named "emeraldCount" but I want this variable not equals 0 when we change room...
I want to keep the variable for all rooms, like the score variable for example if you want.
I give you the codes:
obj_drawScore >> Draw Event...
I'm making a space shooter and I have made a spawner, but I want the spawner to stop spawning when it hits a certain amount of enemies. For example after the 100th no more spawn.
In my obj_spawner I have
spawn_rate = 70;
alarm = spawn_rate;
I'm trying to loop through to find how many collisions with Tree_obj I'm getting in the player's collision rectangle (actually place_meeting), and also get the id each loop. I'm only getting the value 0 for each when I don't overlap the object (that part's correct), and 1 for each variable when...