Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
GameMaker Programming By Example

You're reading from   GameMaker Programming By Example Master the development of 2D games by learning to use the powerful GameMaker Language and tools provided by the GameMaker: Studio workspace and engine!

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781785887963
Length 212 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Brian Christian Brian Christian
Author Profile Icon Brian Christian
Brian Christian
Steven Isaacs Steven Isaacs
Author Profile Icon Steven Isaacs
Steven Isaacs
Arrow right icon
View More author details
Toc

Creating your Escape the Dungeon game

Your Escape the Dungeon game is going to be a simple 2D maze-like game where the player dodges enemies and escapes a labyrinth of sorts to proceed through the levels. Your player will be able to shoot at these enemies and the enemies in turn will shoot randomly. In addition, the player will need to collect keys to unlock doors to the next level. This will introduce the use of variables in the game. The game is fairly simple, but teaches many skills in terms of using GameMaker: Studio.

First, create a new game project called EscapeTheDungeon by selecting the New tab at the very start screen of GameMaker: Studio. Choose your directory and project name. The GameMaker IDE should then open in a new workspace.

The playable character

The playable character is something that has a few components that make it up. It is an object that the user of the game will control via keyboard input that can allow it to move in four directions and shoot. The player consists...

You have been reading a chapter from
GameMaker Programming By Example
Published in: Dec 2015
Publisher:
ISBN-13: 9781785887963
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime