Unity2D DevLog 14 — Randomizing Based on Rarity

Claudio Grassi
3 min readJun 4, 2021

Not all items are created equal. Any game that uses a loot-drop system categorizes its items by rarity. At the moment, all of my power-ups and enemies have an equal chance of being created. I want to change this and create a Spawn System that relies on rarity.

Objective:

Create a system that takes rarity into account when spawning enemies and…

--

--

Claudio Grassi

Experienced digital artist, Unity game developer & coder with a knack for problem solving and a passion for video games.