Although, Actually, would you also happen to know how to make a game over screen appear when your character runs out of lives?
Many ways to implement this but a good way would be to create an uppermost layer with black [or your choice of color] and during gameplay set opacity of the whole layer to 0.
When you meet your Game Over condition just fade the whole layer in or instantly set the opacity to 100.