{"action":"closed","issue":{"url":"https://api.github.com/repos/JABeal/Fun-With-Pygame/issues/1","repository_url":"https://api.github.com/repos/JABeal/Fun-With-Pygame","labels_url":"https://api.github.com/repos/JABeal/Fun-With-Pygame/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/JABeal/Fun-With-Pygame/issues/1/comments","events_url":"https://api.github.com/repos/JABeal/Fun-With-Pygame/issues/1/events","html_url":"https://github.com/JABeal/Fun-With-Pygame/issues/1","id":378541139,"node_id":"MDU6SXNzdWUzNzg1NDExMzk=","number":1,"title":"Reorganize image and sound file locations to clean up project","user":{"login":"redbullx310","id":15881228,"node_id":"MDQ6VXNlcjE1ODgxMjI4","avatar_url":"https://avatars0.githubusercontent.com/u/15881228?v=4","gravatar_id":"","url":"https://api.github.com/users/redbullx310","html_url":"https://github.com/redbullx310","followers_url":"https://api.github.com/users/redbullx310/followers","following_url":"https://api.github.com/users/redbullx310/following{/other_user}","gists_url":"https://api.github.com/users/redbullx310/gists{/gist_id}","starred_url":"https://api.github.com/users/redbullx310/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbullx310/subscriptions","organizations_url":"https://api.github.com/users/redbullx310/orgs","repos_url":"https://api.github.com/users/redbullx310/repos","events_url":"https://api.github.com/users/redbullx310/events{/privacy}","received_events_url":"https://api.github.com/users/redbullx310/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-08T01:32:43Z","updated_at":"2018-11-08T14:59:57Z","closed_at":"2018-11-08T14:59:56Z","author_association":"NONE","body":"You can organize the image and sound files to separate folder locations, like /images and /sounds folders. \r\n\r\nTo do this, create two folders in the Fun-With-Pygame folder, named images and sounds. Then, move all image files (.gif, .png, etc.) to the images folder, and all the sound files (.wav, .mp3, etc.) to the sounds folder. \r\n\r\nAfter moving all the files to the new folders, throughout the code you need to point the code to the new location of the files. For example, in Dino_Dodge.py, to point the background image to the new location of the dino_dodge_intro_background.jpg file, change the code to this:\r\n\r\n`setBackgroundImage(\"images/dino_dodge_intro_background.jpg\")`  \r\n\r\nThe sound files will be similar, but will use the sounds folder name instead. "}}
{"actor":{"display_login":"JABeal"}}