Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Create A Box2D Physics Plugin #252

Open
quinton-ashley opened this issue Jul 10, 2024 · 2 comments
Open

feat: Create A Box2D Physics Plugin #252

quinton-ashley opened this issue Jul 10, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@quinton-ashley
Copy link

p5play, Construct 3, GDevelop, and Unity all use the Box2D physics simulator.

Matter.js is not a good physics simulator and was probably only used in kaboom.js due to device limitations years ago.

@niceEli niceEli added enhancement New feature or request help wanted Extra attention is needed labels Jul 10, 2024
@niceEli niceEli added this to the 3001 milestone Jul 10, 2024
@niceEli
Copy link
Member

niceEli commented Jul 10, 2024

As of right now the physics is plugin based. It would be best to do this and make accurate physics part of engine itself at the same time.

@mflerackers
Copy link
Member

No, physics needs to be plugin based, because we need to support multiple physics engines. Box2D (or PlanckJS or MatterJS) are not a good choice for classic platform games because these games don't use or require realistic physics. So the physics engine will be a choice, not something built-in.
Depending on that choice, area and body will be behave differently, but their API will stay largely the same.

@niceEli niceEli changed the title feat: Upgrade physics to Box2D feat: Create A Box2D Physics Plugin Jul 17, 2024
@mflerackers mflerackers modified the milestones: 3001, 4000 Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: TODO
Development

No branches or pull requests

3 participants