sm4 (Kulíš Android) Posted November 3, 2013 Share Posted November 3, 2013 Is there any possibility to shrink the physics body in Phaser? My game relies on collisions a lot. Round or polygonal body would be perfect. But if I can at least shrink the body, it will help a lot. Link to comment Share on other sites More sharing options...
Mike Posted November 3, 2013 Share Posted November 3, 2013 Yes you can make it smaller than the sprite size: http://gametest.mobi/phaser/examples/_site/view_full.html?d=collision&f=offset+bounding+box.js&t=offset%20bounding%20box sm4 (Kulíš Android) 1 Link to comment Share on other sites More sharing options...
sm4 (Kulíš Android) Posted November 4, 2013 Author Share Posted November 4, 2013 Yes you can make it smaller than the sprite size: http://gametest.mobi/phaser/examples/_site/view_full.html?d=collision&f=offset+bounding+box.js&t=offset%20bounding%20box Worked perfectly for my game. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts