Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/portaloffreedom/godot_entt_net_example

A simple example on how to use entt (https://github.com/skypjack/entt) and GameNetworkingSockets (https://github.com/ValveSoftware/GameNetworkingSockets) within godot
https://github.com/portaloffreedom/godot_entt_net_example

Last synced: 2 months ago
JSON representation

A simple example on how to use entt (https://github.com/skypjack/entt) and GameNetworkingSockets (https://github.com/ValveSoftware/GameNetworkingSockets) within godot

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.