GameMaker: Studio

GameMaker: Studio

View Stats:
How to make an exit accessible only when you have all of one item?
I am VERY new to gamemaker (New as in this is my first game ever using gamemaker) And i want to make a game where you collect all of one object and get to an exit to win. I'm having trouble though. any help?
< >
Showing 1-4 of 4 comments
Daynar Jun 24, 2018 @ 7:28pm 
There are several ways to do this. I would either use a counter that goes up when you collect and object and opens the exit when it hits a certin point, or use instance_exists(obj); to check if any of the collectables exist and if they don't allow the player to exit
Boneless pizza Jun 24, 2018 @ 7:52pm 
Originally posted by Daynar:
There are several ways to do this. I would either use a counter that goes up when you collect and object and opens the exit when it hits a certin point, or use instance_exists(obj); to check if any of the collectables exist and if they don't allow the player to exit
I will try the last method and was using the first before.
Boneless pizza Jun 24, 2018 @ 8:13pm 
Originally posted by Daynar:
There are several ways to do this. I would either use a counter that goes up when you collect and object and opens the exit when it hits a certin point, or use instance_exists(obj); to check if any of the collectables exist and if they don't allow the player to exit
It exits regardless of the items being collected or not.
Boneless pizza Jun 24, 2018 @ 8:27pm 
Originally posted by Boneless pizza:
Originally posted by Daynar:
There are several ways to do this. I would either use a counter that goes up when you collect and object and opens the exit when it hits a certin point, or use instance_exists(obj); to check if any of the collectables exist and if they don't allow the player to exit
It exits regardless of the items being collected or not.
Nevermind i ended up making the first method you suggested work after going back to it
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jun 24, 2018 @ 4:36pm
Posts: 4