Tag: Unity

  • Building a Random Quest Generator

    Building a Random Quest Generator

    TL;DR I wanted a low maintenance way to generate random quests for my game. So I created an awesome Factory class that did not require maintenance or upkeep as I added new quests. Keep reading to find out how I did it… The ProblemA SolutionThe Code The Problem I’m building an RPG-themed idle/incremental game, where…

  • Unity’s Transform Implements IEnumerable

    Unity’s Transform Implements IEnumerable

    The Usage Imagine you’re playing a survival game and you unlocked stone buildings, now you can finally upgrade from a wooden cabin to a stone house. After you risk life and limb to gather enough stone you start the upgrade and boom your house transforms from wood to stone. The developers could have completely replaced…