O'Reilly logo

GameMaker Programming By Example by Steven Isaacs, Brian Christian

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required