IGM Tutorial: Lives Left

Want to check out a PDF of this tutorial? Right click save asĀ HERE.

Thus far in our shooting game we’ve made enemies, we have hit points, and we can die endlessly. Let’s go over how to put a cap on dying, show the number of lives left on the screen, and rock a game over screen.

So the first thing we need to do is figure out how many lives we want. I say two (just to keep it a different number from our max health). Open up our shooting game and head to the “Materials” tab and the “Memories” sub-tab. Here you’ll find a bunch of preset memories in red. One of them is “Player Lives Left”. There is also one for “Player Max Lives” but you don’t need to worry about it for now. On “Player Lives Left” just increase the number to two and you’re done here.

Continue reading