Tower defense example written in Flecs (live webasm demo)
![Screenshot 2023-09-27 at 1 31 51 AM](https://private-user-images.githubusercontent.com/9919222/270915567-f86a4bb8-cc86-4e0d-8cb6-06b1fadd1690.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyMTE0NzIsIm5iZiI6MTcxOTIxMTE3MiwicGF0aCI6Ii85OTE5MjIyLzI3MDkxNTU2Ny1mODZhNGJiOC1jYzg2LTRlMGQtOGNiNi0wNmIxZmFkZDE2OTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjRUMDYzOTMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmFmYmM2ZTE3MDNhYWJmMmE0ZGM2NDg2YWIyMTQ4NjUxYWRkYTQ4NjcyNDY2NjJhNWZhZDJjODA2N2M5NzUyMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.5Ns2rMBkXMcfsCS76dEI54DpwwhNscKx5LPbn9iIq7I)
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 SanderMertens/tower_defense
Have fun!