O'Reilly logo

GameSalad Essentials by Miguel DeQuadros

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 5. Diving In – Gameplay Mechanics

So far you have done some cool new things with our game. Kevin now moves around, you've made menus and cut scenes. Things are looking pretty awesome! Now, because this game is somewhat a platformer/RPG, there are a few more mechanics that we should add in. Here is what we are going to discuss in this chapter:

  • Creating health, dying, and adding lives
  • Creating a scoring system
  • Creating great power up, ammo, and inventory systems
  • Working a little more on GUI (Graphic User Interface) elements

We are going to have a lot of fun in this chapter! Let's just dive right into it, shall we?

Health, dying, and lives

"No Mr. Kevin, I expect you to die." Unfortunately for Kevin, by the end of this chapter, he will die. Poor ...

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