Skill Tree Activated

The quest to become an indie game developer

#100DaysOfCode#100DaysOfGameDevC#CodingGame DevIllogical BaconScript-writingUnity

Reworking the Coin Spawn Code

Day 087 #100DaysOfCode
Day 051 #100DaysOfGameDev

revised calculations for coin spawning

While I previously got coins to spawn into my game, it wasn’t quite how I wanted it to work. I spent a lot of time going over the code, specifically the math algorithms and ended up reworking everything from the ground up using what I had learned from the first try. This time I got something that was more like what I was looking for.

PostPool script
CoinSpawn script

Leave a Reply

Your email address will not be published. Required fields are marked *