XaiJu
thinmatrix
thinmatrix

patreon


City-Builder Game Download

I mentioned in my last devlog video that the people/pathfinding system was one of the most complex things I've ever implemented and I definitely still stand by that! The last few weeks have been especially arduous as I've worked through a seemingly endless list of edge-cases and loose ends , such as roads being removed while a person is following a path, destination nodes being removed, disconnected road loops not working at all with the road-network system, finding efficient ways of testing whether two road nodes are even connected, and so on.

Finally though, I think that the whole system is now fully working and bug-free, although you may well be able to prove me wrong there! I decided it's probably a good idea to start releasing (very) early versions of the game here on Patreon like I did with Equilinox, so here is the game in its current state:

https://drive.google.com/file/d/1oakq_dESydmZNnfIF5e6YXyGzWyDCDUw/view?usp=sharing

To play, just unzip it and then run the CityBuilderGame jar file. You'll need to have Java installed for it to work and it's currently Windows-only (Mac and Linux build coming soon).

I haven't yet tested it on any other computers so there will most likely be some issues. It would be fantastic if some of you could try it out, see if it runs, and let me know if you manage to crash the game! I'm not currently aware of any bugs so bonus points for anyone who can find some!

There's obviously not much you can do in the game yet, but you move the camera with the middle mouse button + WASD/arrow keys, and you can place roads and buildings by selecting the relevant button in the bottom left and then left-clicking in a suitable location. Right-click on an object/road to remove it (while in placing mode).

The full-code is available in the post below (for the $12.50 Patrons).

Hope you're all doing well and thank you for continuing to support me!

Karl

City-Builder Game Download

Comments

Hi

Thanks! He's a Havanese :)

ThinMatrix

Runs well on my machine (Desktop Win10, Intel i5, 16 gb ram)

Mathias Bader

Hey Karl, great videos as always. Question about your latest video: what breed is Rufus? He's incredibly adorable.

Maybe allow road tile deletion only if it was empty? that would work well with time pause functionality.

runs well and smoothly on my laptop (Acer Predator, intel i7, win10, 32gb ram, GeForce GTX 1080). no bugs found. keep up the good work..

Yeah, they get teleported back to their starting location. I did consider having them walk on the grass and find their way back to the road, but then I thought about how that would work when I've added cars and I definitely didn't want to have cars driving around on the grass.

ThinMatrix

When I delete a road tile the people on that tile disappear. is that an intended behavior?

Not yet - at the moment the people just spawn on the main road and wander around the pavements fairly randomly.

ThinMatrix

is there a way I can place people on the roads?

Looking forward to a macOS build

Rick Mann

It seems to work on my laptop (dell inspiron "Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz" with 16GB memory and "Intel(R) UHD Graphics 620" built in graphics. Looks nice so far :)


More Creators