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

Discussion in 'Programming' started by Steven Lost, Jul 3, 2018.

  1. Steven Lost

    Steven Lost Member

    Joined:
    Jul 3, 2018
    Posts:
    2
    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!
     
  2. PhenomenalDev

    PhenomenalDev Member

    Joined:
    Jan 5, 2017
    Posts:
    121
  3. Steven Lost

    Steven Lost Member

    Joined:
    Jul 3, 2018
    Posts:
    2
    Where do I place the Step?
     
  4. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,433
    You do it in the Step event of the player object or a separate controller object.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice