Paths

Paths are used to let an object follow a set path. For example, if you want to make a sun set and rise, you can make a half sphere, and let the sun follow it. In combination with changing background light, this will look magnificent.

Use
To make a path (you have to be in advanced mode), go to the toolbar on top of the screen, and click 'Create a path'. A window with some settings on the left and a big grid on the right will appear (see below).



On the grid, you can create the patch by clicking on some places on the grid, but you may want to change some settings first. On the left of the window (as stated before) you can edit the settings. The most important are the following:

Name
Most of will directly understand this one, it's just the name of this path, to recognize it when you're assigning it to an object, for example.

Connection kind
With these two buttons, you can choose wich kind of connection you want to use. If you use the straight lines, game maker will just draw lines between the points you gave. But when you use the smooth curve option, Game Maker will draw a curve, approx. following your points. So if you click for points in a square, Game Maker will draw a circle inside your 'square'.

Closed (or not)
With this option, you can tell Game Maker if you want to draw a full shape, like a circle, or just a line, like a straight line, or a parabola.

Precision
Here you can set the precision of your shape or line. If you want to create a small curve, circle or parabola, the default setting of 4 is enough. But when you're creating big ones, the most precise option, 8, is better. This will make your curve (or whatever) more smooth.

If you want to create a path, you can either fill in coordinates, or you can just click on certain points on the grid.