{"id":1735,"date":"2014-10-30T14:28:24","date_gmt":"2014-10-30T14:28:24","guid":{"rendered":"http:\/\/prog.pwnict.co.uk\/?page_id=1735"},"modified":"2015-11-25T10:19:29","modified_gmt":"2015-11-25T10:19:29","slug":"pygame-tutorials","status":"publish","type":"page","link":"https:\/\/www.ihaz.codes\/UoB\/learning-python\/pygame-tutorials\/","title":{"rendered":"Pygame tutorials"},"content":{"rendered":"<p>Pygame is a brilliant python library which will teach you how to create your own games as well as develop your multimedia coding skills.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"child_pages child_pages-thumbnail\">\n<div id=\"child_page-1741\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/learning-python\/pygame-tutorials\/installing-pygame\/\">Installing pygame<\/a><\/h4><div class=\"post_excerpt\">Installing pygame<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1741\" -->\n\n<div id=\"child_page-1757\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/learning-python\/pygame-tutorials\/making-a-pong-game\/\">Making a pong game<\/a><\/h4><div class=\"post_excerpt\">\u00a0 Watch the above tutorial videos to get an idea of how to write your own pong game. The final code is shown below. Note &#8211; it will not run in the browser due to the sound files.\u00a0 You can find sound files by making your own using[read more]<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1757\" -->\n\n<div id=\"child_page-2529\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/learning-python\/pygame-tutorials\/learning-the-basics-of-pygame\/\">Learning the basics of pygame<\/a><\/h4><div class=\"post_excerpt\">In order to learn pygame you need to go through the following key lessons. These will introduce you to some of the key ideas before you can start a more complex project. Make sure you go through them in the order listed below!<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-2529\" -->\n\n<div id=\"child_page-1783\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/learning-python\/pygame-tutorials\/stacking-triangles\/\">Stacking triangles<\/a><\/h4><div class=\"post_excerpt\">http:\/\/www.pygame.org\/docs\/ref\/draw.html#pygame.draw.lines using the link above, create a pygame program which will generate the triangle below using random colours. It[read more]<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1783\" -->\n\n<div id=\"child_page-2544\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/learning-python\/pygame-tutorials\/space-invaders\/\">Space invaders<\/a><\/h4><div class=\"post_excerpt\">You can learn how to create a basic space invaders game using the tutorial below. The tutorials will not only teach you how to code it but also get you to consider how to solve difficult problems such as making space invaders. TODO add trinket[read more]<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-2544\" -->\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Pygame is a brilliant python library which will teach you how to create your own games as well as develop your multimedia coding skills. &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":332,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"categories":[],"class_list":["post-1735","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/1735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/comments?post=1735"}],"version-history":[{"count":2,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/1735\/revisions"}],"predecessor-version":[{"id":1905,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/1735\/revisions\/1905"}],"up":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/332"}],"wp:attachment":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/media?parent=1735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/categories?post=1735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}