Debugging HELL
I added fires, which you can see in the corner. Unity Particle system actually really cool for that by the way.
This forced me to rewrite how fires work and add new bits to the Building parent class. That was fine.
Had to update the UI to show you that an earthquake was happening, which works more reliably than last time and I figured the ghost error out.
I decided to implement water & energy requirements. Overhauled ChunkManager to allow for this, as each chunk needs enough. If it doesn’t produce enough, it imports from other chunks. If it can’t do that, everyone starts packing it up and leaving. Added this to city stats. Then modelled a cute little water tower as you can see below. Then I added energy, lots of chaos. Trying really hard to avoid circular loops to avoid a stack overflow, but it’s looking pretty good.
User warnings now show up, like when an earthquake happens, or if a building burns down or if you can’t do something or don’t have money for something.
Now I think I have time to do the fun part - creating chaotic fun stuff to make the city feel even more alive. But it’s looking pretty good right now.
It’s getting close to being shipped, almost 40 hours in. Like & follow for the link ;)
Now I really need to sleep. OH NO AND REVISE FOR THE PHYSICS TEST ON TUESDAY
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.