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

How to disable debug render? #62

Closed
ivanstnsk opened this issue Aug 18, 2018 · 6 comments
Closed

How to disable debug render? #62

ivanstnsk opened this issue Aug 18, 2018 · 6 comments

Comments

@ivanstnsk
Copy link

Should I always use a testbed? It renders always debug layer. Any example how to draw a basic texture?

@ivanstnsk
Copy link
Author

I like this lib more than box2d.js but I has no documentation. Reffers to box2d documentation doesn't helpfull because it has a lot of differences. So I can't use it because I don't know how to use it without testbed. Have no idea why this repo has so many stars..

@shakiba
Copy link
Collaborator

shakiba commented Aug 19, 2018

This is how it can be used without testbed:
https://github.com/shakiba/planck.js/blob/master/README.md#rendering-and-integration

Also you could see example folder to get familiar with API usage.

@dibyendu
Copy link

Yes, a minimalistic documentation would be really great.

@clankill3r
Copy link

There is not a single example showing how to use it without the testbed.
You only show it in the readme but way to minimal.

This library seems really great, but the examples are lacking how todo certain things.

@shakiba
Copy link
Collaborator

shakiba commented Jul 5, 2019

You need to create a renderer, testbed is a renderer itself, so it might be helpful to check it out to see how it works: https://github.com/shakiba/planck.js/blob/master/testbed/index.js#L354
Feel free to let me know if you have any specific question about it.

@shakiba
Copy link
Collaborator

shakiba commented Aug 23, 2023

There are now a couple docs and examples:

Please feel free to reopen if needed.

@shakiba shakiba closed this as completed Aug 23, 2023
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

No branches or pull requests

4 participants