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

Chapter 9. Breaking Vlad – Pickups, Hazards, and Enemies

In previous chapters, views and backgrounds were discussed and an environment was built for Vlad to travel through while being tracked by a camera. This gave a little bit of depth to the game; however, the platformer is still rather simplistic, lacking the pressures and challenges commonly present in this genre's games.

There are dozens, if not hundreds, of ways pressure can be added. In this example, the concept of health will be the focus—components that decrease health, such as enemies, as well as those that can increase it. This topic will be covered in the following ways:

  • A UI will be created to display score and health with the Draw and Draw GUI events
  • Collectible items for increasing ...

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