{"id":45,"date":"2021-10-29T01:21:33","date_gmt":"2021-10-29T01:21:33","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/?p=45"},"modified":"2022-03-17T19:32:19","modified_gmt":"2022-03-17T19:32:19","slug":"operation-prototype","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/2021\/10\/29\/operation-prototype\/","title":{"rendered":"Operation: Prototype"},"content":{"rendered":"\n<p>With our midpoint prototype due next week, our team got to work on adding more art assets and stitching together different elements into one cohesive game.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Custom Sprites<\/h2>\n\n\n\n<p>We needed to add some art assets for our enemies, turrets, and ammunition. I spent a while browsing through sprite sheets on free art sites, but nothing really jumped out to me. Fortunately, my search led me to <a href=\"https:\/\/www.piskelapp.com\/p\/create\/sprite\" target=\"_blank\" rel=\"noreferrer noopener\">Piskel<\/a>, which allowed me to make my own sprite sheets.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"128\" height=\"128\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/4705\/files\/2022\/03\/pinkAlienWalkingV2.png\" alt=\"\" class=\"wp-image-70\" \/><figcaption>Pink alien sprite sheet<\/figcaption><\/figure><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"128\" height=\"128\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/4705\/files\/2022\/03\/greenAlienWalking.png\" alt=\"\" class=\"wp-image-72\" \/><figcaption>Green alien sprite sheet<\/figcaption><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<p>The two aliens I made have frames that show them walking in four directions (towards, away, left, and right). To make them walk around in the game, I added a function that creates animations by mapping each walking direction to each set of frames. I added another function that mapped each animation to the directional keys, which won&#8217;t be a part of the game, but it was a nice way to test how the animation looked.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Integration<\/h2>\n\n\n\n<p>Until this week, some of the game elements like turrets and ammunition were isolated from the main branch. Now we&#8217;re really seeing it all come together. Abraham added his player-controlled tower turret that can toggle between regular bullet and flamethrower ammunition. Cliff added his enemy wave system plus title and end scenes. Nam&#8217;s turrets aren&#8217;t functioning quite yet, but soon the player will be able to buy turrets and place them on the map to automatically pick away at enemy waves.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"450\" src=\"https:\/\/osu-wams-blogs-uploads.s3.amazonaws.com\/blogs.dir\/4705\/files\/2022\/03\/TDG-Demo-10-28-21.gif\" alt=\"\" class=\"wp-image-73\" \/><figcaption>Here&#8217;s what our game looks like now<\/figcaption><\/figure>\n\n\n\n<p>So far this game is looking great. By next week we&#8217;ll have a working prototype with all the basic elements of a tower-defense game. After that, we&#8217;ll be able to spend our time on fun stuff like more maps, enemies, ammunition types, a more responsive UI, and sound effects.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With our midpoint prototype due next week, our team got to work on adding more art assets and stitching together different elements into one cohesive game. Custom Sprites We needed to add some art assets for our enemies, turrets, and ammunition. I spent a while browsing through sprite sheets on free art sites, but nothing &hellip; <a href=\"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/2021\/10\/29\/operation-prototype\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Operation: Prototype<\/span><\/a><\/p>\n","protected":false},"author":11576,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/users\/11576"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":9,"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":76,"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/posts\/45\/revisions\/76"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/selfisnotdefined\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}