• Content Count

  • Joined

  • Last visited

About Datamosh

  • Rank

Contact Methods

  • Twitter

Recent Profile Visitors

345 profile views
  • Tua

  1. Datamosh

    Resize or change shape

    I solved the problem by deleting the contents of player.body.shapes and adding a new shape using setShape. Example: player.body.shapes = [] player.body.addShape(new me.Rect(0, 0, 16, 16))
  2. Datamosh

    Resize or change shape

    Hello! I need to change/adjust the collision rectangle when the entity crouches. I guess that I need to use addShape and setShape but I do not understand how to do it. Can anybody help me with an example or snippet? Thanks!