Go to file
Kenney 48458e6f34
Merge pull request #19 from akien-mga/godot4.5
Check in Godot 4.5 .import changes, run upgrade tool
2025-09-18 10:41:30 +07:00
fonts Check in Godot 4.5 .import changes, run upgrade tool 2025-09-18 10:20:34 +07:00
models Upgrade to Godot 4.5 2025-09-16 12:23:04 +07:00
sample map Check in Godot 4.5 .import changes, run upgrade tool 2025-09-18 10:20:34 +07:00
scenes Added sounds 2025-09-17 08:26:58 +07:00
screenshots Added screenshot 2023-09-25 19:50:19 +07:00
scripts Added sounds 2025-09-17 08:26:58 +07:00
sounds Added sounds 2025-09-17 08:26:58 +07:00
sprites Check in Godot 4.5 .import changes, run upgrade tool 2025-09-18 10:20:34 +07:00
structures Check in Godot 4.5 .import changes, run upgrade tool 2025-09-18 10:20:34 +07:00
vector Upgrade to Godot 4.5 2025-09-16 12:23:04 +07:00
.gitattributes Initial commit 2023-09-25 19:42:22 +07:00
.gitignore Initial commit 2023-09-25 19:42:48 +07:00
LICENSE.md Upgrade to Godot 4.5 2025-09-16 12:23:04 +07:00
README.md Update README.md 2025-09-16 12:25:56 +07:00
icon.png Initial commit 2023-09-25 19:42:22 +07:00
icon.png.import Check in Godot 4.5 .import changes, run upgrade tool 2025-09-18 10:20:34 +07:00
project.godot Added sounds 2025-09-17 08:26:58 +07:00
splash-screen.png Upgrade to Godot 4.3 2024-08-17 21:11:59 +07:00
splash-screen.png.import Check in Godot 4.5 .import changes, run upgrade tool 2025-09-18 10:20:34 +07:00

README.md

Starter Kit City Builder

This package includes a basic template for a 3D city builder in Godot 4.5 (stable). Includes features like;

  • Building and removing structures
  • Smooth camera controls
  • Dynamic MeshLibrary creation
  • Saving/loading
  • Sprites and 3D Models (CC0 licensed)

Screenshot

Controls

Key Command
W A S D Move camera
F Camera to center
Middle mouse button Hold to rotate camera
Scroll wheel Zoom
Left mouse button Place building
DEL Remove building
Right mouse button Rotate building
Q E Toggle between buildings
F1 Save
F2 Load

Instructions

1. How to add more buildings?

Duplicate one of the existing resources in the 'structures' folder, adjust the properties in the inspector. Select the 'Builder' node in the scene and add your new resources to the 'Structures' array.

2. How to adjust building models?

Select the resource of the building you'd like to change in the 'structures' folder, adjust the model in the inspector.

3. How to save and load cities?

Pressing F1 during gameplay will save the current city to disk, F2 will load it from the same location. The file is saved as 'map.res' in the user folder (see below). You can adjust this in the 'action_save' and 'action_load' functions found in the 'builder.gd' script.

User data folder:

Windows: %APPDATA%/Godot/app_userdata/Starter Kit City Builder/

Linux: ~/.local/share/godot/app_userdata/Starter Kit City Builder/

MacOS: ~/Library/Application Support/Godot/app_userdata/Starter Kit City Builder/

4. How to include city data in the project and load this?

You'll find a sample map in the 'sample map' folder, to load this during gameplay press F3. You can find the function that handles this as 'action_load_resources' found in the 'builder.gd' script.

License

MIT License

Copyright (c) 2025 Kenney

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Assets included in this package (2D sprites, 3D models and sound effects) are CC0 licensed