Day 52 — Aspiring Game Creator

2D Game Dev: Galaxy Shooter

Objective: Balanced Power-Up/Pick-Up Spawning

To achieve a balanced system for power-up & pick-up spawning, Galaxy Shooter makes use of a Random Loot Table based on Weights.

In the example above, an Item class of Name, Prefab & Spawn Rate is used to create the — currently — seven power-ups and pick-ups in the game.

Each item is assigned a SPAWN RATE, following the system by GameDevHQ, weighted systems are not required to balance to a particular total, but instead are given weight. …

Rob George

Aspiring Game Creator

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store