MartyDC Posted July 22, 2016 Share Posted July 22, 2016 Hi guys, i have problem, i used for collision "this.physics.arcade.overlap(xxxx)" but this is bugging so hard, because my images isnt square but polygon... so i wanna ask you how i can implemate kolize.json to my game... is there anyone who is able to help me? kolize.json Game.js Quote Link to comment Share on other sites More sharing options...
marcgfx Posted July 25, 2016 Share Posted July 25, 2016 I've looked at your question a few times now and just decided to reply. maybe I can help you, even if I can't help you with your current question. If you want a sensible answer, ask a question that people can understand. bugging so hard is not a description of your problem. I'm assuming you are using physics targeted for a square shape object, but because your image is not square it looks weird. I even assume it works. But I have no idea, as you have not described your problem. I don't even know what library you are using and I am not clicking on those two links you provided to find out. It's your job to invest the time to describe your problem, not my job to find out what you are asking. Quote Link to comment Share on other sites More sharing options...
Firenibbler Posted August 11, 2016 Share Posted August 11, 2016 I am not sure what you are asking, but if you just want to understand a little more about various collisions then check this out: http://www.firenibbler.com/2016/04/how-to-js-collision-detection-cheat-sheets-learn-aabb-box-circle-and-point-detection/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.