Skip to content

Box2d chain support#244

Merged
fabmax merged 8 commits into
kool-engine:mainfrom
B4rtware:chain-box2d-support
May 16, 2026
Merged

Box2d chain support#244
fabmax merged 8 commits into
kool-engine:mainfrom
B4rtware:chain-box2d-support

Conversation

@B4rtware
Copy link
Copy Markdown
Contributor

Adds simple chain support for box2d.
Adds a simple test demo. I don't know much about chains but for my current use case I didn't encounter any issues.
Should the demo be hidden?

@fabmax
Copy link
Copy Markdown
Collaborator

fabmax commented May 16, 2026

Nice work! I added the missing Android bindings and changed the vec2 array creation to use a single b2vec2 instead of creating a new one per array entry. I think the demo can be hidden. Otherwise I would like it to be a bit more interactive 😄

@B4rtware
Copy link
Copy Markdown
Contributor Author

Thank you, I was not able to get the android module recognized by gradle/intellij. Thats why it built without any errors on my end.

The demo is now hidden. Since it will be used to sandbox my game, I will try to update the demo accordingly, maybe a 2d character controller, ladders, portals ...

@fabmax
Copy link
Copy Markdown
Collaborator

fabmax commented May 16, 2026

For android there's a gradle task to enable it: :enableAndroidPlatform, or in IntelliJ's gradle panel under Tasks -> build setup -> enableAndroidPlatform. It's disabled by default to lower build times and so that you don't need an Android SDK for building kool.

@fabmax fabmax merged commit 45d203e into kool-engine:main May 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants