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

box2d: disable physics and simulation rate blocks #1190

Merged
merged 8 commits into from
Dec 21, 2023

Conversation

CST1229
Copy link
Collaborator

@CST1229 CST1229 commented Dec 9, 2023

Resolves #1171
Might resolve #925?

Adds 3 new blocks to the Box2D Physics extension:
image
Disables physics for the sprite.

image
Sets (or gets) the simulation rate; for example, you can set it and the project's framerate to 60 to make the physics run at 60FPS.

@InfinityLoop1
Copy link

go to prettier.io/playground and use it on your code.

this will fix the format issue

@CST1229
Copy link
Collaborator Author

CST1229 commented Dec 9, 2023

go to prettier.io/playground and use it on your code.

this will fix the format issue

or just npm run format

@InfinityLoop1
Copy link

oh yea

@ghost
Copy link

ghost commented Dec 10, 2023

Lily approved the changes, nice!
Now let's wait for her to merge it :)

@GarboMuffin GarboMuffin merged commit 11ca543 into TurboWarp:master Dec 21, 2023
3 checks passed
@CST1229 CST1229 deleted the box2d-disable-and-simrate branch March 7, 2024 05:48
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.

Disable Box2d Box2D: Step forward in time by a certain amount
4 participants