O'Reilly logo

GameMaker Game Programming with GML by Matthew DeLucas

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

Gathering resources for the platformer

Before the platformer can be started, resources must be created. These assets will focus primarily on the character, which in this case, will be a vampire named Lil' Vlad.

Note

A new project should also be started when creating this new game. Again, a new project can be created by navigating to File | New Project or pressing Ctrl + N. This will bring up the Project dialog window. This project is simply titled Platformer.

Establishing Lil' Vlad's sprites

Relating to the finite state machine mentioned previously, Vlad's character will have three sprites associated with it, as shown in the following list:

  • The spr_vlad_idle sprite for the idle state
  • The spr_vlad_walk sprite for the walking state
  • The spr_vlad_jump sprite ...

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