mirror of
https://github.com/tonytins/citylimits.git
synced 2025-03-19 06:11:22 +00:00
A lot has happened since May that I couldn't begin to describe what was working at the time. What I can tell you that is new as of this commit is an upcoming VR mode.
570 B
570 B
Open City Spec
This ia WIP save file structure.
Save file in City Limits are nothing more than JSON files.
Top-level
{
"city": "",
"mayor": "",
"version": "",
}
Zones
{
"zones": {
"commercial": {},
"residential": {},
"industrial": {}
}
}
Within each zone type are the zones themselves with their coordinates on the map. Each zone is given a random number as an id.
{
"1": {
"x": 654,
"y": 564
},
"2": {
"x": 321,
"y": 85
}
}