{"action":"created","issue":{"url":"https://api.github.com/repos/4ian/GD/issues/198","labels_url":"https://api.github.com/repos/4ian/GD/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/4ian/GD/issues/198/comments","events_url":"https://api.github.com/repos/4ian/GD/issues/198/events","html_url":"https://github.com/4ian/GD/issues/198","id":106210013,"number":198,"title":"Problem with collision and hitboxes in HTML5 games","user":{"login":"victorlevasseur","id":964512,"avatar_url":"https://avatars.githubusercontent.com/u/964512?v=3","gravatar_id":"","url":"https://api.github.com/users/victorlevasseur","html_url":"https://github.com/victorlevasseur","followers_url":"https://api.github.com/users/victorlevasseur/followers","following_url":"https://api.github.com/users/victorlevasseur/following{/other_user}","gists_url":"https://api.github.com/users/victorlevasseur/gists{/gist_id}","starred_url":"https://api.github.com/users/victorlevasseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorlevasseur/subscriptions","organizations_url":"https://api.github.com/users/victorlevasseur/orgs","repos_url":"https://api.github.com/users/victorlevasseur/repos","events_url":"https://api.github.com/users/victorlevasseur/events{/privacy}","received_events_url":"https://api.github.com/users/victorlevasseur/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/4ian/GD/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/4ian/GD/milestones/2","html_url":"https://github.com/4ian/GD/milestones/4.0","labels_url":"https://api.github.com/repos/4ian/GD/milestones/2/labels","id":1245627,"number":2,"title":"4.0","description":"","creator":{"login":"victorlevasseur","id":964512,"avatar_url":"https://avatars.githubusercontent.com/u/964512?v=3","gravatar_id":"","url":"https://api.github.com/users/victorlevasseur","html_url":"https://github.com/victorlevasseur","followers_url":"https://api.github.com/users/victorlevasseur/followers","following_url":"https://api.github.com/users/victorlevasseur/following{/other_user}","gists_url":"https://api.github.com/users/victorlevasseur/gists{/gist_id}","starred_url":"https://api.github.com/users/victorlevasseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorlevasseur/subscriptions","organizations_url":"https://api.github.com/users/victorlevasseur/orgs","repos_url":"https://api.github.com/users/victorlevasseur/repos","events_url":"https://api.github.com/users/victorlevasseur/events{/privacy}","received_events_url":"https://api.github.com/users/victorlevasseur/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":15,"state":"open","created_at":"2015-08-07T15:09:57Z","updated_at":"2015-09-13T20:02:34Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-09-13T10:54:11Z","updated_at":"2015-09-13T20:02:34Z","closed_at":"2015-09-13T20:02:34Z","body":"It seems there is a problem with custom hitboxes and the collision condition in HTML5 games.\r\nEven if the hitboxes are taken into account, the collision is triggered before the collision between the hitboxes. I think it's related to this condition : https://github.com/4ian/GD/blob/master/GDJS/Runtime/runtimeobject.js#L1024 because the collision condition is the only one that doesn't work correctly (the separateObjects condition works perfectly with the hitboxes).\r\n\r\nSee http://forum.compilgames.net/viewtopic.php?f=19&t=6968#p53037"},"comment":{"url":"https://api.github.com/repos/4ian/GD/issues/comments/139913326","html_url":"https://github.com/4ian/GD/issues/198#issuecomment-139913326","issue_url":"https://api.github.com/repos/4ian/GD/issues/198","id":139913326,"user":{"login":"4ian","id":1280130,"avatar_url":"https://avatars.githubusercontent.com/u/1280130?v=3","gravatar_id":"","url":"https://api.github.com/users/4ian","html_url":"https://github.com/4ian","followers_url":"https://api.github.com/users/4ian/followers","following_url":"https://api.github.com/users/4ian/following{/other_user}","gists_url":"https://api.github.com/users/4ian/gists{/gist_id}","starred_url":"https://api.github.com/users/4ian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4ian/subscriptions","organizations_url":"https://api.github.com/users/4ian/orgs","repos_url":"https://api.github.com/users/4ian/repos","events_url":"https://api.github.com/users/4ian/events{/privacy}","received_events_url":"https://api.github.com/users/4ian/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T20:02:34Z","updated_at":"2015-09-13T20:02:34Z","body":"Done in https://github.com/4ian/GD/commit/f6a55188c6b133937a25453d0e56db1880efa29c"}}