Lumber · @lumber
4 followers · 12 posts · Server mastodon.gamedev.place

I put up a clean repo with the sample integration of and .

It includes:
* entity movement
* collision detection
* rudimentary general system implementation for EnTT
* per-frame & per-system stepping
* entity editing with

This code absolutely won't build on your system, but it is a sample integration of Chipmunk2D into an ECS library.

github.com/dmlary/entt-chipmun

#Sokol #gamedev #imgui #chipmunk2d #entt

Last updated 3 years ago

Lumber · @lumber
4 followers · 11 posts · Server mastodon.gamedev.place

Implemented true system single-stepping in my sandbox. Only one system will be run per mouse step, allowing me to see what happens to entities & components between each system. Of course, some systems are flagged as "always-run" so I can actually interact with imgui and see the entity explorer.

I'm getting close to the point where I can start a clean repo to share this example integration of and with an entity editor.

#imgui #chipmunk2d #entt

Last updated 3 years ago

Lumber · @lumber
3 followers · 3 posts · Server mastodon.gamedev.place

Spent a month getting working in both , and . Last night I realized that I don’t actually want “physics”, I just want collision detection.

“Physics” is a tile moving at 0.000000000001 pixels-per-second instead of coming to a stop, because that’s how the real world works. The real world is terrifying.

As I dive into AABB, does anyone know of a decent C or C++ collision detection library? Or is AABB so basic there’s no need for a library.

#gamedev #indiedev #entt #flecs #chipmunk2d

Last updated 3 years ago

Lumber · @lumber
3 followers · 2 posts · Server mastodon.gamedev.place

Collision is worki— hey, get back here! Oh god, what happened to the camera?

Assets from @kenney roguelike/RPG pack

#chipmunk2d #entt #indiedev

Last updated 3 years ago

Lumber · @lumber
3 followers · 2 posts · Server mastodon.gamedev.place

Collision is worki— hey, get back here! Oh god, what happened to the camera?

#chipmunk2d #entt #indiedev

Last updated 3 years ago

Lumber · @lumber
1 followers · 1 posts · Server mastodon.gamedev.place

System abstraction implemented yesterday; today was basic entity editor with multi-window support. This chunk will end up open sourced because I was struggling to find good references for integrating libraries with ECS. Assets from kenney.nl

#ecs #imgui #chipmunk2d #entt #Sokol #screenshotsaturday

Last updated 3 years ago