This week marks one year of posting (near) weekly devlogs in this kind of five image + text format! So lots of progress has been made I feel. By this time last year I was working my way towards getting a stable enough build for Dreamhack Winter. I had just cut the block size and started adding roads, the carbon pressurization plant and police station buildings had made it into the game and I was also working on merging blocks to create a shadow casting volume to keep down the amount of shadow casters.
Although there's still a lot to be done in the game, it's nice to see that it has come as far as it has.
The devlog can be seen here for those interested in a blast from the past: Indiedb.com
To update on current matters though. This week has been almost solely focused on squashing bugs and optimizing the game. With the amount of new things added over the past few months, it's been high time to take a step back on feature additions and trying to fix some old and annoying bugs.
City hall building added.
- Halloween prop added. More time specific props will be added over time.
- New vactrack icons.- Fixed bug where sometimes loading a city from the main menu would stall.
- Fix for bug where roadtiles on bridges would not connect to road network on loaded cities.
- Fix for bug where destructed bridges would leave surrounding road tiles unaffected.
- Fix for bug where buildings would sometimes not connect to roads when loading cities. This might still occur in rare situations.
- Bug where notices would not move out smoothly fixed.
- Fix for building props not being removed correctly when demolishing.
- Further optimization when demolishing several buildings at the same time.
- Minor slowdown from sound stopping when demolishing a building playing an ambient sound fixed.
- Performance when deregistering cars when owner building has been demolished improved.
Known issues: Traffic is being optimized and a few bugs are being ironed out, so there's unexpected behaviour at times.
One issue has been with bridges not registering road tiles properly and messing up buildings registering to a road network. There's still an issue that sometimes buildings will still not connect to a proper road network, but it should be all but fixed now.Here's an image of my test build, fittingly featuring lots of bridges:
The city hall building has been added. Currently it doesn't do anything except swallow some mid skilled workers, but it will be given a proper function fairly soon. As can be seen in the following images, I've also added a bit of a halloween theme (temporary of course):
Another bug that has been fairly tricky to find a solution to was that sometimes cities would not load, instead the game would freeze on the loading screen. This has finally been fixed. I've also found some sources of performance issues, among them fading out sounds when buildings are demolished and deregistering cars that belong to demolished buildings. These issues are now fully fixed, which cuts down lag when destroying buildings, especially when destroying many at a time. I've also managed to fix the multi destruct bug that was particularly noticable when destroying many mini zones.
Traffic still shows off some odd behaviour, which will be given some time next week. Hopefully I can improve performance further too, although it is pretty performant as is. Next week I will also go back to working on inflation, currency and wages, getting a proper implementation in. This will be a stepping stone towards adding some new policy options and adding more economic management options. Until next time!