(CGA) Keeping Score Lesson

Keeping Score

Scoring in the game occurs when the bird is navigated between the sets of pipes successfully. The player should receive a point.

To achieve this, we will create a bar placed directly after the Pipe set. Once the bird collides with it a point is earned.

After the bars have been created, you can change the transparency to 0 so they will not show.

screenshot of game with vertical pipes and red lines drawn between the pipes: score of 0 at the top of screen

[CC BY 4.0] UNLESS OTHERWISE NOTED | IMAGES: LICENSED AND USED ACCORDING TO TERMS OF SUBSCRIPTION