Sign in to follow this  
Rose Game Solutions

matter.js and setting world bounds

Recommended Posts

in my scene's create method I'm using this line of code to set bounds., 0, 1800, 1800, 15);

here, the thickness, is set to 15 as I understand it. But I fly through the walls sometimes and need a more solid barrier.


any ideas on how to shore up the world bounds? Alternatively if you know of a way of setting tiles along the world bounds, I'd be fine with that kind of solution...

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.