Creating Collectibles

Collectibles typically refers to items within the game world that the player can pick up as they play. Sometimes they’re obvious, like coins, and other times they’re hidden far from sight for explorers to find. Sometimes they add to the score or power up weapons. Other times they’re purely for the bragging rights of being able to find them all. Whatever their purpose, it’s hard to find a game that doesn’t have them, so we’ll be adding a few to our own game as well.

We’re going to make a small variety of collectible coins according to the following specifications:

Image Floating coins: These coins will hang suspended in the air ...

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.