{"id":231,"date":"2024-04-13T11:26:22","date_gmt":"2024-04-13T10:26:22","guid":{"rendered":"https:\/\/liambenstead.co.uk\/?p=231"},"modified":"2024-04-13T11:27:07","modified_gmt":"2024-04-13T10:27:07","slug":"adventure-boy","status":"publish","type":"post","link":"https:\/\/liambenstead.co.uk\/?p=231","title":{"rendered":"Adventure Boy"},"content":{"rendered":"\n<p>This week&#8217;s activity was to create a platformer game using the PowerPoint as a guide to create said game. I followed the steps and had ideas to expand the game by including features such as spikes, attaching the camera to the player and a lives system. Here is the script for the player movement.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" src=\"https:\/\/benstead-2020.hulldesign.co.uk\/wp-content\/uploads\/2020\/11\/scr_PlayerMovement.png\" alt=\"\" class=\"wp-image-81\"\/><figcaption class=\"wp-element-caption\">Lines of code indicate each movement feature of the player character, like for instance sr.flipx for direction and groundcheck for collision as the player touches the ground.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/benstead-2020.hulldesign.co.uk\/wp-content\/uploads\/2020\/11\/Assets.png\" alt=\"\" class=\"wp-image-82\"\/><figcaption class=\"wp-element-caption\">These are all of my assets, including a folder for the character sprites, tiles and platforms, and items for the player to pick up.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/benstead-2020.hulldesign.co.uk\/wp-content\/uploads\/2020\/11\/Viewport.png\" alt=\"\" class=\"wp-image-83\"\/><figcaption class=\"wp-element-caption\">I also made the background look like it takes place in the sky or something.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/benstead-2020.hulldesign.co.uk\/wp-content\/uploads\/2020\/11\/Rest-of-Level.png\" alt=\"\" class=\"wp-image-84\"\/><figcaption class=\"wp-element-caption\">In the viewport, this is what the rest of the level resembles. Notice the detail in adding bushes to the ground, as they are non-solid and the player will pass through them.<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week&#8217;s activity was to create a platformer game using the PowerPoint as a guide to create said game. I followed the steps and had ideas to expand the game by including features such as spikes, attaching the camera to the player and a lives system. Here is the script for the player movement.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry","category-introduction-to-game-engines"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=231"}],"version-history":[{"count":2,"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":233,"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions\/233"}],"wp:attachment":[{"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/liambenstead.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}