How to end game once all of a certain object it collected?


Steven Lost

I have just recently got into Game Maker. I am using Game Maker 8.0 Pro. I am using it it simple mode and not advanced. I just need help with ending the game or moving to the next room once all of a certain object has been destroyed by the player. I have an object called pellot that destroys itself on collision with the object player. I want to set it up that once all the pellots have been destroyed, that either the game ends or you move to the next room. Any help would be much appreciated!