


In this first pass at our maze game, the player object is – if you will forgive the pun – where all the action is. The goal object has collision event with player that raises a display message action: “Game Over” before ending the game after a short delay.To start with, we will construct a single room game, where the object is for the player to reach a special goal square, at which point a congratulatory message will pop up and the game will end.Ĭreate three sprites ( spr_player, spr_wall and spr_goal), and three objects corresponding to those sprites ( obj_player, obj_wall and obj_goal) and configure them as follows: ( Download the tutorial directly from here). The audio and image assets used in the game can be found in the Maze Games Tutorial which can be found on the Yoyo Games tutorial page. In this bundle of Game Maker activities, I’ll show you how to build a maze type game that is spread over several rooms, each of which may be populated by angry monsters or prizweworthy jewels! By taking control of the player character, the real player will have to find their way through each of the rooms, avoiding any monsters that may cross their path and collecting treasure wherever they can. In many games, the real player will control the movement of a player character within the game, either using keyboard commands or another physical input device such as a joystick or gamepad controller, (or if you have a bluetooth computer, maybe even a wiimote… but that‘s for another day -) Danger Maze In the Catch a Clown game, the clown sprites moved around the room of their own accord, changing direction whenever they bumped into a wall. If you aren’t into arcade games, at least watch a quick run through of the game: Play a quick game of Pacman (try the arrow keys!) Can you work out how the controls affect the direction of the player character? How are points scored in the game? What about bonus points and penalties? How many ‘modes of behaviour’ do the ghost characters have, and what happens in each mode? To set the scene, you may wish to to relive old memories (if you’re as old as I am) or find out what the heck I’m talking about if you’re a member of the Google generation! I’ll start with a single room game and then show how to add additional rooms, as well as several other gameplay features that you may be familiar with if you have ever played classic arcade maze games such as Pacman. The original maze game tutorial assumes that there will be multiple rooms. The second game we shall look at is also inspired by an “official” Game Maker tutorial, although we’ll work through it in a slightly different way. The first game we looked at using Game Maker (“Catch a Clown”) was based very strongly on the First Game tutorial that can be found on the YoYo Games/Game Maker website.
