kotcity / kotcity
- понедельник, 19 марта 2018 г. в 00:16:28
Kotlin
KotCity, an open source city simulator
This is pre alpha software with super obvious bugs, rough edges etc. In the spirit of "release early and release often", I am posting the code. This project is far from done but I prefer to get the code out there to be used by whomever. Disagree with the project? Fork it :)
KotCity is a city simulator written in Kotlin inspired by the statistical city simulators of old. This game aims to achieve a mark somewhere between SimCity (1989) and SC2000. Hopefully this mark will be hit and we can set our sights higher. The game will be fully supported on Windows, macOS, and Linux.
A build for Windows, macOS and Linux is available at https://github.com/kotcity/kotcity/releases/tag/0.43.
Java 8+ is required. On Windows it will look for JRE and bring you to download page if you don't have it.
(note, on Ubuntu do apt-get install openjfx)
Be on the lookout for super easy to install package soon... until then...
It's easy to setting up the development environment. You can use either IntelliJ or other IDEs supporting Gradle, then import this as a Gradle project. Voilà, the project can be worked on.
The UI is done with FXML created with Gluon's SceneBuilder.
A: This project is a lot of work already without having to worry about 3D modeling and so forth. One of my bottlenecks is art, so 2D is an easy way to sidestep that concern. Additionally, the actual "renderers" for the game are kept semi-separate from the simulation, so there's no reason why this couldn't turn into 3D later.
A: It has a lot of libraries (pick any random Java library...) It's pretty productive! Gee-whiz functional stuff baked in. Besides, if this project gets to a place where it's really awesome but just needs extra speed we can reach for that C++ or Rust book.
A: Du hast Recht!
After many years of not seeing any new city builders descend that are satisfactory, I decided to take matters into my own hands. Why? SimCity 2013 was REALLY disappointing. Cities Skylines is fun, but it doesn't seem to scratch that itch that SimCity 4 does. Even though there are still patches and new content coming out for SimCity 4, it's definitely on life support. I looked around at a few of the city simulators available but it doesn't seem like anyone is really working on a modern version of SimCity.
If you get stuck or want to suggest suggestions, you can discuss it in our topic on Simtropolis. Chat with the developers at https://gitter.im/kotcity/Lobby.
You can contribute buildings (see assets directory), ideas for the game, help with art and so on by creating issues or fork the repo and start to make pull requests.
To make a game that "takes over" from SimCity 4. We have a loooooong way to go:
This project is licensed with Apache License 2.0. This project includes icons by various graphic designers from the Noun Project.