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

Chapter 4. Fun with Infinity and Gravity – An Endless Platformer

The previous two chapters took you through the creation of a dungeon game in which the player moved in all directions of the compass in order to escape a maze-like dungeon in which they were placed. You gave the player the ability to shoot, have health and lives, move to other rooms, and much more, but GameMaker isn't just for top-down or side-scrolling games. You can use it for minigames too, and specifically, in this chapter, we will use it for both platforming and making the game endless until death. GameMaker already contains built-in functionality to do both of these in your projects. There's no real goal in the game except to keep going for the longest time. So without further ado, let's begin to program our game.

lock icon The rest of the chapter is locked
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