{"action":"closed","issue":{"url":"https://api.github.com/repos/MakerBox-NZ/Pygame_George/issues/13","repository_url":"https://api.github.com/repos/MakerBox-NZ/Pygame_George","labels_url":"https://api.github.com/repos/MakerBox-NZ/Pygame_George/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/MakerBox-NZ/Pygame_George/issues/13/comments","events_url":"https://api.github.com/repos/MakerBox-NZ/Pygame_George/issues/13/events","html_url":"https://github.com/MakerBox-NZ/Pygame_George/issues/13","id":258358124,"number":13,"title":"Indent Key Presses","user":{"login":"cyanidecupcake","id":13429860,"avatar_url":"https://avatars3.githubusercontent.com/u/13429860?v=4","gravatar_id":"","url":"https://api.github.com/users/cyanidecupcake","html_url":"https://github.com/cyanidecupcake","followers_url":"https://api.github.com/users/cyanidecupcake/followers","following_url":"https://api.github.com/users/cyanidecupcake/following{/other_user}","gists_url":"https://api.github.com/users/cyanidecupcake/gists{/gist_id}","starred_url":"https://api.github.com/users/cyanidecupcake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyanidecupcake/subscriptions","organizations_url":"https://api.github.com/users/cyanidecupcake/orgs","repos_url":"https://api.github.com/users/cyanidecupcake/repos","events_url":"https://api.github.com/users/cyanidecupcake/events{/privacy}","received_events_url":"https://api.github.com/users/cyanidecupcake/received_events","type":"User","site_admin":false},"labels":[{"id":616499064,"url":"https://api.github.com/repos/MakerBox-NZ/Pygame_George/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"Coinmat3r","id":28747299,"avatar_url":"https://avatars2.githubusercontent.com/u/28747299?v=4","gravatar_id":"","url":"https://api.github.com/users/Coinmat3r","html_url":"https://github.com/Coinmat3r","followers_url":"https://api.github.com/users/Coinmat3r/followers","following_url":"https://api.github.com/users/Coinmat3r/following{/other_user}","gists_url":"https://api.github.com/users/Coinmat3r/gists{/gist_id}","starred_url":"https://api.github.com/users/Coinmat3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coinmat3r/subscriptions","organizations_url":"https://api.github.com/users/Coinmat3r/orgs","repos_url":"https://api.github.com/users/Coinmat3r/repos","events_url":"https://api.github.com/users/Coinmat3r/events{/privacy}","received_events_url":"https://api.github.com/users/Coinmat3r/received_events","type":"User","site_admin":false},"assignees":[{"login":"Coinmat3r","id":28747299,"avatar_url":"https://avatars2.githubusercontent.com/u/28747299?v=4","gravatar_id":"","url":"https://api.github.com/users/Coinmat3r","html_url":"https://github.com/Coinmat3r","followers_url":"https://api.github.com/users/Coinmat3r/followers","following_url":"https://api.github.com/users/Coinmat3r/following{/other_user}","gists_url":"https://api.github.com/users/Coinmat3r/gists{/gist_id}","starred_url":"https://api.github.com/users/Coinmat3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coinmat3r/subscriptions","organizations_url":"https://api.github.com/users/Coinmat3r/orgs","repos_url":"https://api.github.com/users/Coinmat3r/repos","events_url":"https://api.github.com/users/Coinmat3r/events{/privacy}","received_events_url":"https://api.github.com/users/Coinmat3r/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-09-18T02:44:58Z","updated_at":"2017-09-20T04:48:31Z","closed_at":"2017-09-20T04:48:31Z","author_association":"CONTRIBUTOR","body":"\r\n![screen shot 2017-09-18 at 2 44 28 pm](https://user-images.githubusercontent.com/13429860/30527734-e97666ac-9c7f-11e7-828f-c3b1fbbc373f.png)\r\n\r\n\r\nThe key presses for SPACE and UP need to be in line with the rest of the \"if event.key ==\" statements.  Like this: \r\n\r\n```\r\n          if event.type == pygame.KEYUP:\r\n               if event.key == ord('a'):\r\n                    player.control(movesteps, 0)\r\n                    print('left')\r\n\r\n               if event.key == ord('d'):\r\n                    player.control(-movesteps, 0)\r\n                    print('right')\r\n\r\n               if event.key == ord(' '):\r\n                    player.jump(platform_list)\r\n                    print('up')\r\n    \r\n               if event.key == pygame.K_SPACE:\r\n                    if not fire.firing:\r\n                         fire = Throwable(player.rect.x,player.rect.y,'projectile.png',1)\r\n                         firepower.add(fire)\r\n```"}}
{"actor":{"display_login":"Coinmat3r"}}