{"id":154,"date":"2020-10-30T13:33:02","date_gmt":"2020-10-30T13:33:02","guid":{"rendered":"https:\/\/cohort21.com\/robingarand\/?p=154"},"modified":"2020-10-30T13:33:02","modified_gmt":"2020-10-30T13:33:02","slug":"spooky-video-game-design","status":"publish","type":"post","link":"https:\/\/cohort21.com\/robingarand\/2020\/10\/30\/spooky-video-game-design\/","title":{"rendered":"Spooky Video Game Design!"},"content":{"rendered":"<p>Welcome back to Messy STEM! This week I will be continuing my coding theme and focusing on designing video games. The software I use for this is called <a href=\"https:\/\/www.yoyogames.com\/\" rel=\"\">Gamemaker Studio 2<\/a>. Let me start by saying this is an authentic software. It has been used to create a wide variety of popular video games including Undertale, Hyperlight Drifter, and Forager. This software allows games made with it to be published on every platform including Steam, Nintendo and Playstation. That alone I have found is enough to get kids excited. I have yet to have a student not tell me what they&#8217;re going to do with their millions of dollars once they upload their games and start selling them.<\/p>\n<p>Whenever I teach this software I am always amazed and motivated by the different and creative things students come up with. They can really dive in to the software and mess around with different coding concepts.<\/p>\n<p>I also want to state that there are a ton of resources for this software made specifically for educators and a lot of great youtube tutorials out there. So, if you finish reading this and want to learn please let me know and I will be happy to share resources I&#8217;ve liked, as I learned the software!<\/p>\n<p>Over the course of this post I will be showing a quick run through of how the software looks and some basic things you can try out yourself. <em>I know that I will be glossing over some steps but my main goal here is to show how the software looks\/feels and to present you with a resource you might not have known of before this.<\/em><\/p>\n<p>The photo below shows what Gamemaker Studio 2 looks like it when you open it up and sign in. For those of you wondering, the software is the same in Windows and Mac, so though I am showing this through Mac you can still learn and try it through Windows<\/p>\n<p><a href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.14-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-157\" src=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.14-AM.png\" alt=\"\" width=\"612\" height=\"338\" srcset=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.14-AM.png 1440w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.14-AM-300x166.png 300w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.14-AM-1024x566.png 1024w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.14-AM-768x425.png 768w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.14-AM-960x531.png 960w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><\/p>\n<p>Once you open up Gamemaker, it gives you the option to create a new project with either drag<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-158 alignright\" src=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.27-AM.png\" alt=\"\" width=\"464\" height=\"212\" srcset=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.27-AM.png 608w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.08.27-AM-300x137.png 300w\" sizes=\"auto, (max-width: 464px) 100vw, 464px\" \/><\/p>\n<p>and drop code options (similar to those on Scratch for example) or GameMaker Language which involves writing the code. I have always preferred the code! It&#8217;s what I will be writing about today.<\/p>\n<p>&nbsp;<\/p>\n<p>Once you start a new project, <strong><em>don&#8217;t be overwhelmed by what you see!<\/em><\/strong> This is a professional software but it is very straightforward! Below is a summary of what you will see.<\/p>\n<p><a href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-29-at-9.36.12-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-167\" src=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-29-at-9.36.12-AM.png\" alt=\"\" width=\"688\" height=\"380\" srcset=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-29-at-9.36.12-AM.png 1438w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-29-at-9.36.12-AM-300x166.png 300w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-29-at-9.36.12-AM-1024x565.png 1024w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-29-at-9.36.12-AM-768x424.png 768w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-29-at-9.36.12-AM-960x530.png 960w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p>In the spirit of Halloween I thought I would do some spooky examples!<\/p>\n<p>The main things you will work with initially are <strong>Objects<\/strong>, <strong>Rooms<\/strong> and <strong>Sprites.<\/strong> These are all things you will find in the left sidebar above.<\/p>\n<p><strong>Sprites<\/strong> are where you store your artwork for your game. This can include animations and gifs. It&#8217;s important to remember that a Sprite is not something you program, it is what you <em>attach<\/em> to what you have programmed. Below is a photo where I have selected my sprite, a dancing skeleton. In it I have painted a bit over my skeleton&#8217;s feet. It also shows the series of images that will be played on repeat to animate my character. In Gamemaker Studio 2 you can design and draw characters within the software or import images from your computer. In this case I used free graphics to upload a dancing skeleton gif. To make a new sprite simply click the Sprite category and select add new sprite.<\/p>\n<p><strong>Rooms<\/strong> are essentially your levels, they are your backgrounds. Anytime your character goes to a new place or a new level, they go to a new room.<\/p>\n<p><a href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.09.50-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-159\" src=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.09.50-AM.png\" alt=\"\" width=\"1119\" height=\"778\" srcset=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.09.50-AM.png 1119w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.09.50-AM-300x209.png 300w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.09.50-AM-1024x712.png 1024w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.09.50-AM-768x534.png 768w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.09.50-AM-960x667.png 960w\" sizes=\"auto, (max-width: 1119px) 100vw, 1119px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"font-size: 1rem;\">Objects<\/strong><span style=\"font-size: 1rem;\">\u00a0<\/span><span style=\"font-size: 1rem;\">are the parts of your game that you actually program. <\/span><\/p>\n<p><span style=\"font-size: 1rem;\"><a href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.11.36-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-160 alignright\" src=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.11.36-AM.png\" alt=\"\" width=\"459\" height=\"373\" srcset=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.11.36-AM.png 603w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.11.36-AM-300x244.png 300w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><\/a>These would be your characters, bad guys, walls, etc.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span><span style=\"font-size: 1rem;\">Basically, anything you want to respond in any way, you will make in to an object. In this case I have made an object named Skeleton. Once you make the Object (just double click Objects in the asset bar shown above, click and select make new object) you then can attach the artwork you saved in the sprite section, which was my dancing skeleton gif. <\/span><\/p>\n<p><span style=\"font-size: 1rem;\">Once you make an object you will then be given the option to select it and begin programming! Above you can see my Skeleton and that I have attached the sprite\/artwork to it. The next thing that pops up are Events. Events are essentially where you program coding and reactions of your object.\u00a0<\/span><\/p>\n<p>As I mentioned in my previous post, computers are not mind readers, when programming you need to consider every aspect of what you want to happen. In this situation I want my character to move to the right when I press the right arrow key. So to do that I clicked Add Event, and Key <a style=\"font-size: 1rem;\" href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.18.14-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-164 alignright\" src=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.18.14-AM.png\" alt=\"\" width=\"477\" height=\"286\" srcset=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.18.14-AM.png 892w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.18.14-AM-300x180.png 300w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.18.14-AM-768x461.png 768w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/a>Press, then Right. After that you will see on the right the place where you can type in your actual code. To keep things simple I wrote in &#8216;speed = 2;&#8217;<\/p>\n<p>What I have basically said is, when I press the right key I want my skeleton to move to the right at a speed of 2. If I wanted him to move to the left I would do select left arrow key and have the same code but my speed would be -2.<\/p>\n<p><a style=\"font-size: 1rem;\" href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.17.43-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-163 alignleft\" src=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.17.43-AM.png\" alt=\"\" width=\"379\" height=\"271\" srcset=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.17.43-AM.png 745w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.17.43-AM-300x215.png 300w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><\/a>The next thing I did was work on my room, I decided to create a spooky sprite and select that as the background in my &#8216;Room&#8217;. After making my room, the next thing you can do is drag your objects in to your room. You can then press the play button on the top bar to run the software and see what the game looks like!<\/p>\n<p>&nbsp;<\/p>\n<p><a style=\"color: #0f3647; font-size: 1rem;\" href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Recording-2020-10-28-at-11.18.39-AM.mov\" rel=\"\">Here is a sample of what our spooky skeleton looks like.<\/a><\/p>\n<p>This was just a basic run through of some simple concepts. Often I start this software by teaching students to make a game of tag where characters throw food at each other. In it we can do different things like set up a score and special affects. <a style=\"color: #0f3647; font-size: 1rem;\" href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Recording-2020-10-28-at-11.20.48-AM.mov\" rel=\"\">Here is another silly sample!<\/a><span style=\"font-size: 1rem;\">\u00a0<\/span><\/p>\n<p>That being said you can easily go much deeper into this software. You can challenge your students to define and set their own variables and even define constants. Below is an example of a more complicated platformer game I have been messing around with based on some online tutorials. I also have a photo of an array I started that will allow my character to have an inventory!<\/p>\n<p><a style=\"font-size: 1rem;\" href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.27-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-165\" src=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.27-AM.png\" alt=\"\" width=\"1428\" height=\"804\" srcset=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.27-AM.png 1428w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.27-AM-300x169.png 300w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.27-AM-1024x577.png 1024w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.27-AM-768x432.png 768w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.27-AM-960x541.png 960w\" sizes=\"auto, (max-width: 1428px) 100vw, 1428px\" \/><\/a> <a style=\"font-size: 1rem;\" href=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.51-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-166\" src=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.51-AM.png\" alt=\"\" width=\"456\" height=\"333\" srcset=\"https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.51-AM.png 599w, https:\/\/cohort21.com\/robingarand\/files\/2020\/10\/Screen-Shot-2020-10-28-at-11.24.51-AM-300x219.png 300w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><\/a><\/p>\n<p>I understand that this was a big post with a lot of information, but if I have interested you at all in this software and you want to try it out in your school please feel free to reach out to me and I will be happy to share resources and ideas. I also highly recommend the educator resources that this software offers.<\/p>\n<p>I really hope you are all having a great week and that you have a great Halloween. My goal this year is to help you all get back into a hands-on STEM class where you can get messy, build things and break them. I believe this software is a great tool for that and I hope that it helps you as well!<\/p>\n<p><img decoding=\"async\" class=\"bitmoji-image\" src=\"https:\/\/sdk.bitmoji.com\/render\/panel\/2cd16cde-ef0e-4549-9aaa-06dad72b748f-b5f2b8b5-c533-4964-a2cb-4591c3b619b5-v1.png?transparent=1&amp;palette=1\" alt=\"Bitmoji Image\" data-src=\"https:\/\/sdk.bitmoji.com\/render\/panel\/2cd16cde-ef0e-4549-9aaa-06dad72b748f-%s-v1.png?transparent=1&amp;palette=1\" data-downloadurl=\"image\/png:22706.png:https:\/\/sdk.bitmoji.com\/render\/panel\/2cd16cde-ef0e-4549-9aaa-06dad72b748f-b5f2b8b5-c533-4964-a2cb-4591c3b619b5-v1.png?transparent=1&amp;palette=1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome back to Messy STEM! This week I will be continuing my coding theme and focusing on designing video games. The software I use for this is called Gamemaker Studio 2. Let me start by saying this is an authentic software. It has been used to create a wide variety of popular video games including&hellip;<\/p>\n<p><a class=\"more-link\" href=\"https:\/\/cohort21.com\/robingarand\/2020\/10\/30\/spooky-video-game-design\/\" title=\"Continue reading &lsquo;Spooky Video Game Design!&rsquo;\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":339,"featured_media":171,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[3,5,7,1],"tags":[],"class_list":["post-154","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-action-plan","category-classroom-reflections","category-sharing-resources","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/posts\/154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/users\/339"}],"replies":[{"embeddable":true,"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/comments?post=154"}],"version-history":[{"count":5,"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/posts\/154\/revisions"}],"predecessor-version":[{"id":173,"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/posts\/154\/revisions\/173"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/media\/171"}],"wp:attachment":[{"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/media?parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/categories?post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cohort21.com\/robingarand\/wp-json\/wp\/v2\/tags?post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}