View Full Version : game maker help
regeneratorizer
12-11-2005, 08:30 AM
im making a pacman game, and i need this to happen:If there are zero dots on the field, restart the room.
i dont see how i can do that. i see an option in the "actions" list that states"if a number of instances is a value" but i dont know what to put as the "event" or to make the room restart after that.
what do i do?
pizza
12-11-2005, 09:14 AM
If number of instances is a value (if number of objects dot is Equal to 0)
Restart the current room
regeneratorizer
12-11-2005, 09:38 AM
umm.....
but what do i put as the events?
srry, im new to this, you will have to explain it to me.
pizza
12-11-2005, 10:48 AM
Step
AtkinsSJ
12-11-2005, 11:28 AM
Open an object that is always in the room. You could create a special object just for the room-change.
In the 'Control' Menu, drag the octagon with the ball and '123' into the step event. Select the name of the 'dot' object from the list, then close the window. Then underneath it drag the 'Go to next room' action('Main 1' Menu), select a transition if you like.
http://i19.photobucket.com/albums/b151/AtkinsSJ/regenhelp1.gif
Hope this helps,
~AtkinsSJ
apiesandwich
12-11-2005, 03:46 PM
you don't need the start/end block actions though.
regeneratorizer
12-11-2005, 04:40 PM
oooo, i tried that but it didnt work, but then i realized i had to put it in the room. duh, srry.
regeneratorizer
12-11-2005, 05:02 PM
Ok, its working. if anyone knows a website that will allow you to make a website(for free) and put games on it(without that"this game may contain viruses, we cant allow you to download it"....stupid tripod.) or just a site that will host games, please tell me so yall can play that and another game i made.
pizza
12-11-2005, 10:42 PM
50webs (http://www.50webs.com/)
AtkinsSJ
12-12-2005, 11:19 AM
you don't need the start/end block actions though.
Ah, but I find it's a good habit to get into, because otherwise you might end up missing them out when you want more than one action to occur.
regeneratorizer
12-12-2005, 03:47 PM
50webs (http://www.50webs.com/)
It doesnt allow enough space to upload it.
pizza
12-12-2005, 10:54 PM
Split the file...
Mr.Onion
12-13-2005, 12:15 AM
Or try Freewebs (http://www.freewebs.com)
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.