hockenworks

Abstraction

Treekeepers Engine

I made my latest Unity project into a multi-application “engine”. I am now building and releasing two applications from one project. Let me show you how it works.

I did this because I had a lot of assets and code in Treekeepers that would directly translate to a new project I was prototyping. I considered other approaches - git submodules, unity packages, just cloning my old project. After a cost-benefit writeup I decided on this.

Now when I change variables, I edit a class called “Application Definition” for each application, which look like this:

March 17, 2023 · 2 minutes · Read more →

Ball Spawner
Ball
  Machine Help & Reset
Drop Rate: N/A
Dotted Line
Free
Straight Line
Coin 5
Curved Line
Coin 50
Gear CW
Coin 300
Gear CCW
Coin 300
Launcher
Coin 2K
Fast Launcher
Coin 10K
Insta Launcher
Coin 50K
Compactor
Coin 1M
Bubble Wand
Coin 5M