16: Platform Playhouse (Part 02)
Learning Target
- Add an item that can be collected by the player
- Store, update and display the number of items collected
Resources
If you tend to finish your assignments early, I recommend finding assets that are more to your desired theme.
| Coin Sprite | Coin Sound |
![]() |
Instructions
Step 1:
Open your game from the prior assignment.
Save it with a new name (e.g. "platform playhouse 2").
This will serve as a backup and allow you to return to a working copy of your game if something goes wrong.
Step 2:
Add a coin or other prize to your game. Then, add the events needed to make it collectible by your player.
Tutorial: https://wiki.gdevelop.io/gdevelop5/tutorials/platformer/part-5/
Save your game now!
Step 3:
Add a variable and events to keep track of how many coins or prizes have been collected.
Tutorial: https://wiki.gdevelop.io/gdevelop5/tutorials/platformer/part-5/
Save your game now!
Step 4:
Add a text object to display the number of collected coins or prizes. Then, add events to update the score whenever the player collects an item.
Tutorial: https://wiki.gdevelop.io/gdevelop5/tutorials/platformer/part-5/
Save your game now!
Step 5:
Show the teacher your completed work and receive a verification code to enter in Canvas during class.
Grading
| Your submission... | Your grade... |
|---|---|
|
Extended
|
A+ |
|
Exceptional
|
A |
|
Good
|
B |
|
Reasonable
|
C |
|
Needs Improvement
|
D |
|
Insufficient
|
F |
| Scores may be rounded to the nearest whole number. | |
