/city

Flecs city example

Primary LanguageCMIT LicenseMIT

city

Simple procedural city generator. Standalone Flecs project with embedded graphics modules (live webasm demo)

Screenshot 2023-09-27 at 1 43 07 AM

How to run

Use the following commands to run the demo:

Install bake on macOS/Linux:

git clone https://github.com/SanderMertens/bake
bake/setup.sh

Install bake on Windows (don't use powershell)

git clone https://github.com/SanderMertens/bake
cd bake
setup.bat

or if you already have a bake installation:

bake upgrade

Then run:

bake run flecs-hub/city --cfg release

Have fun!

How to use

To customize the city generation parameters, change the settings in the etc/assets/scene.flecs file.