O'Reilly logo

GameMaker Cookbook by Brandon Gardiner

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

Setting a path

In GameMaker, paths can be used for many things, some of which will be discussed in the following recipes. Before we get started with the recipes, it might be helpful to first learn how to create simple paths and move objects along them.

Getting ready

Before we make a path, let's take a quick look at the tool itself. To open the path editor, click on the icon at the top of the window that looks like a green arrow moving in a serpentine fashion.

Getting ready

This will open a window where you can plot the path, straight or curved, to be used in your game.

Name the path, path_test.

How to do it

  1. With the path editor open, select Smooth Curve.
  2. Uncheck the ...

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