{"action":"closed","issue":{"url":"https://api.github.com/repos/OttoRobba/ox/issues/1","labels_url":"https://api.github.com/repos/OttoRobba/ox/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/OttoRobba/ox/issues/1/comments","events_url":"https://api.github.com/repos/OttoRobba/ox/issues/1/events","html_url":"https://github.com/OttoRobba/ox/issues/1","id":64042497,"number":1,"title":"API for Canvas","user":{"login":"OttoRobba","id":597287,"avatar_url":"https://avatars.githubusercontent.com/u/597287?v=3","gravatar_id":"","url":"https://api.github.com/users/OttoRobba","html_url":"https://github.com/OttoRobba","followers_url":"https://api.github.com/users/OttoRobba/followers","following_url":"https://api.github.com/users/OttoRobba/following{/other_user}","gists_url":"https://api.github.com/users/OttoRobba/gists{/gist_id}","starred_url":"https://api.github.com/users/OttoRobba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OttoRobba/subscriptions","organizations_url":"https://api.github.com/users/OttoRobba/orgs","repos_url":"https://api.github.com/users/OttoRobba/repos","events_url":"https://api.github.com/users/OttoRobba/events{/privacy}","received_events_url":"https://api.github.com/users/OttoRobba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OttoRobba/ox/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"OttoRobba","id":597287,"avatar_url":"https://avatars.githubusercontent.com/u/597287?v=3","gravatar_id":"","url":"https://api.github.com/users/OttoRobba","html_url":"https://github.com/OttoRobba","followers_url":"https://api.github.com/users/OttoRobba/followers","following_url":"https://api.github.com/users/OttoRobba/following{/other_user}","gists_url":"https://api.github.com/users/OttoRobba/gists{/gist_id}","starred_url":"https://api.github.com/users/OttoRobba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OttoRobba/subscriptions","organizations_url":"https://api.github.com/users/OttoRobba/orgs","repos_url":"https://api.github.com/users/OttoRobba/repos","events_url":"https://api.github.com/users/OttoRobba/events{/privacy}","received_events_url":"https://api.github.com/users/OttoRobba/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OttoRobba/ox/milestones/1","html_url":"https://github.com/OttoRobba/ox/milestones/v0.1.0","labels_url":"https://api.github.com/repos/OttoRobba/ox/milestones/1/labels","id":1036680,"number":1,"title":"v0.1.0","description":"Things it should already have:\r\n\r\n- A preloader that handles images (png, jpg, gif) and data files (json, txt).\r\n- An scene manager.\r\n- A proper game loop with fixed steps\r\n- A variable to control timeflow based on delta time\r\n- A lightweight entity system\r\n- A basic API for accessing canvas elements","creator":{"login":"OttoRobba","id":597287,"avatar_url":"https://avatars.githubusercontent.com/u/597287?v=3","gravatar_id":"","url":"https://api.github.com/users/OttoRobba","html_url":"https://github.com/OttoRobba","followers_url":"https://api.github.com/users/OttoRobba/followers","following_url":"https://api.github.com/users/OttoRobba/following{/other_user}","gists_url":"https://api.github.com/users/OttoRobba/gists{/gist_id}","starred_url":"https://api.github.com/users/OttoRobba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OttoRobba/subscriptions","organizations_url":"https://api.github.com/users/OttoRobba/orgs","repos_url":"https://api.github.com/users/OttoRobba/repos","events_url":"https://api.github.com/users/OttoRobba/events{/privacy}","received_events_url":"https://api.github.com/users/OttoRobba/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":7,"state":"open","created_at":"2015-03-24T16:31:14Z","updated_at":"2015-04-05T19:50:09Z","due_on":"2015-04-04T03:00:00Z","closed_at":null},"comments":3,"created_at":"2015-03-24T16:33:21Z","updated_at":"2015-04-05T19:50:09Z","closed_at":"2015-04-05T19:50:09Z","body":"By default, the context is acessible through ox.ctx. It should and could be better though.\r\nPerhaps this?\r\n\r\n    ox.Shape('rectangle', {\r\n      x: 100, y: 100, w: 100, h: 100, fill: \"lightblue\"\r\n    });\r\n\r\nor this?\r\n\r\n    ox.fillStyle('lightblue').fillRect(100,100,100,100);\r\n    \r\n    "}}