Draw, Step & Test Events
Draw
1. Create an empty object (so no sprite) and add it to the room.. call it health:
2. Add create and draw events to health object. Since im using Views in my room (as my map is massive), ive added a bit of view positioning information so the health bar (A) acutally follows my view, but (B) always stays fixed in the top left of screen:
3. Add a step event for the health bar:
Challenges
- Add a score bar
- Add a lives bar. have the game give a message to the user when it finishes
- Knowing what you know, add a title screen (it can be another room)