danieldourado_2 Posted June 3, 2014 Share Posted June 3, 2014 Flappy bird game works by a bird hitting the scenario. Say the bird is a 30x30 square. How do I override the physics system so it become a 10x10 square, even though the sprite is 30x30?I don't want to make the sprite smaller, just its hitbox. Link to comment Share on other sites More sharing options...
rich Posted June 3, 2014 Share Posted June 3, 2014 Like this? http://examples.phaser.io/_site/view_full.html?d=arcade%20physics&f=offset+bounding+box.js&t=offset%20bounding%20box Link to comment Share on other sites More sharing options...
danieldourado_2 Posted June 3, 2014 Author Share Posted June 3, 2014 That is exacly what I wanted, Administrator. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts