top of page

The Code

There is a script on an empty object that holds the amount of turtle, the number of towers, and the efficiency of each tower type. In this script, the turtles per second were held. A coroutine that ran every 1/TPS when TPS was under 100 and added 1 turtle or ran every frame and added TPS*Time.deltaTime. There was also an achievement script that spawned the achievement when necessary.

bottom of page