Datamosh

Resize or change shape

Recommended Posts

There's a public API for removing shapes: http://melonjs.github.io/melonJS/docs/me.Body.html#removeShapeAt

You can also change the shape in-place (and save yourself a bunch of CPU cycles and garbage collection overhead, if you're doing this often):

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

  • Recently Browsing   0 members

    No registered users viewing this page.