Zanorg

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by Zanorg

  1. Zanorg

    RoundedRectangle

    For anyone finding this post now, here's a sample code : let bg = game.add.graphics(0, 0); bg.beginFill(0xBBF9FF); bg.drawRoundedRect(307, 100, 750, 537, 20); bg.endFill();
  2. By the way I solved the problem by using Phaser 2 and p2 physics. Now it works great !
  3. Thanks for this really smart answer
  4. Hi, I’m making a simple physic game with Matter JS, you can see here : http://zanorg.com/phaser/ 1 Just click and a sword will fall, try to click some swords and you will see strange behavior : swords are moving by themself, bouncing or sliding etc… I used this tutorial https://www.codeandweb.com/physicseditor/tutorials/how-to-create-physics-shapes-for-phaser-3-and-matterjs with PhysicsEditor and TexturePacker with default settings. Am I doing something wrong ? Thanks !