https://github.com/portaloffreedom/godot_entt_example
A simple example on how to use entt (https://github.com/skypjack/entt) within godot
https://github.com/portaloffreedom/godot_entt_example
cpp entt example game-development gdnative godot template
Last synced: 21 days ago
JSON representation
A simple example on how to use entt (https://github.com/skypjack/entt) within godot
- Host: GitHub
- URL: https://github.com/portaloffreedom/godot_entt_example
- Owner: portaloffreedom
- License: mit
- Created: 2019-09-18T00:12:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-22T16:18:43.000Z (over 5 years ago)
- Last Synced: 2025-04-02T12:47:19.322Z (2 months ago)
- Topics: cpp, entt, example, game-development, gdnative, godot, template
- Language: C++
- Homepage:
- Size: 150 KB
- Stars: 46
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot gdnative EnTT example
An example on how to use gdnative with entt.
### Clone and build
- clone with `git clone --recursive` (I use git submodules). If you forget you can always run later `git submodule init --recursive && git submodule update`.
- build with `cmake`, no particular options required.
- run as a normal godot project.#### How the example game works
When running the example, just press enter ("ui_accept") to spawn another random entity.
Entities will be removed when they get outside of the plane (72 * 72 square surface).#### Disclaimer
this may not be the best way to use entt inside godot, it's just an easy way to do it that I want to share with the world.