{"action":"opened","issue":{"url":"https://api.github.com/repos/pvcraven/arcade/issues/281","repository_url":"https://api.github.com/repos/pvcraven/arcade","labels_url":"https://api.github.com/repos/pvcraven/arcade/issues/281/labels{/name}","comments_url":"https://api.github.com/repos/pvcraven/arcade/issues/281/comments","events_url":"https://api.github.com/repos/pvcraven/arcade/issues/281/events","html_url":"https://github.com/pvcraven/arcade/issues/281","id":383991344,"node_id":"MDU6SXNzdWUzODM5OTEzNDQ=","number":281,"title":"Boundary not implemented in Sprite / PhysicsEngineSimple","user":{"login":"TheFonus","id":45312668,"node_id":"MDQ6VXNlcjQ1MzEyNjY4","avatar_url":"https://avatars2.githubusercontent.com/u/45312668?v=4","gravatar_id":"","url":"https://api.github.com/users/TheFonus","html_url":"https://github.com/TheFonus","followers_url":"https://api.github.com/users/TheFonus/followers","following_url":"https://api.github.com/users/TheFonus/following{/other_user}","gists_url":"https://api.github.com/users/TheFonus/gists{/gist_id}","starred_url":"https://api.github.com/users/TheFonus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheFonus/subscriptions","organizations_url":"https://api.github.com/users/TheFonus/orgs","repos_url":"https://api.github.com/users/TheFonus/repos","events_url":"https://api.github.com/users/TheFonus/events{/privacy}","received_events_url":"https://api.github.com/users/TheFonus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-24T13:53:21Z","updated_at":"2018-11-24T13:53:21Z","closed_at":null,"author_association":"NONE","body":"## Bug Report\r\nBoundary not implemented in Sprite / PhysicsEngineSimple\r\n\r\n### Actual behavior:\r\n**For Sprite**:\r\nInitiated in __init__ as:\r\nself.boundary_left = None\r\nand stays as None\r\n (same for right, top, bottom)\r\n\r\n**For PhysicsEngineSimple:**\r\nUses player_sprite.left instead of player_sprite.boundary_left for collision detection.\r\n(same for right, top, bottom)\r\n\r\n### Expected behavior:\r\nBoundary exposed as property and used by PhysicsEngineSimple.\r\n\r\n### Steps to reproduce/example code:\r\nsprite.center_x = 10\r\nprint(sprite.left)\r\nprint(sprite.boundary_left)\r\n\r\n## Enhancement request:\r\nBasically I want to be able to have the collision area to differ from the Sprite area. \r\n\r\n"}}
{"actor":{"display_login":"TheFonus"}}