{"id":469,"date":"2019-06-13T12:10:10","date_gmt":"2019-06-13T19:10:10","guid":{"rendered":"http:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/?p=469"},"modified":"2022-06-27T10:21:32","modified_gmt":"2022-06-27T17:21:32","slug":"day-5-unit-3","status":"publish","type":"post","link":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/class\/day-5-unit-3\/","title":{"rendered":"Day 3 Unit 3"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Unit 3 Platform game<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">Create a Winning Condition<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">We need to make a winning condition for this game, just like we did with the maze game. But, this time, you will decide what the winning condition is, and what will happen when the condition is met. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/platform-game\/create-a-winning-condition.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/platform-game\/create-a-winning-condition.html<\/a><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Program an &#8220;if&#8221; block to decide if the player wins the game.<\/li><li>Add a celebration when the player sprite wins the game.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Add on extras to your platform game. Here are some ideas.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/platform-game\/add-ons.html\" target=\"_blank\">https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/platform-game\/add-ons.html<\/a><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>In Time to Celebrate, you&#8217;ll program a wild&nbsp;winning celebration.<\/li><li>Make the platforms change positions on the stage&nbsp;in Moving Platforms.<\/li><li>In Shrinking Platforms, create a platform&nbsp;that shrinks when the player stands on it.<\/li><li>In Splash You Lose, create a losing condition&nbsp;for your game.<\/li><li>Add music in your game with Add Some Tunes.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">When you are done, let&#8217;s share and show your games. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/music-and-sound\/introduction-and-discovery\/wrap-up-share-your-project.html\" target=\"_blank\" rel=\"noreferrer noopener\">Wrap up: Share your project!<\/a><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Click&nbsp;<strong>Share<\/strong>&nbsp;button on the top of the page.<\/li><li>Click on&nbsp;<strong>+add to studio&nbsp;<\/strong>button at the bottom of the page<\/li><li>Choose&nbsp;<strong>2022 summer code camp.<\/strong><\/li><li>Click okay<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Wrap-up: Show your project<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>click on your account name at the top right of the page.<\/li><li>Select&nbsp;<strong>My Class<\/strong><\/li><li>Click on Class Studios \u2013&nbsp;<strong>2022 summer code camp<\/strong><\/li><li>Check out your friends projects!<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-2022-summer-code-camp wp-block-embed-2022-summer-code-camp\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"ox2PyKkaTD\"><a href=\"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/class\/day-4-survey\/\">Day 4 Survey<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Day 4 Survey&#8221; &#8212; 2022 summer code camp\" src=\"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/class\/day-4-survey\/embed\/#?secret=RVz6aTWDnm#?secret=ox2PyKkaTD\" data-secret=\"ox2PyKkaTD\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unit 3 Platform game Create a Winning Condition We need to make a winning condition for this game, just like we did with the maze game. But, this time, you will decide what the winning condition is, and what will happen when the condition is met. https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/platform-game\/create-a-winning-condition.html Program an &#8220;if&#8221; block to decide if the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-469","post","type-post","status-publish","format-standard","hentry","category-class"],"_links":{"self":[{"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/posts\/469","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/comments?post=469"}],"version-history":[{"count":14,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/posts\/469\/revisions"}],"predecessor-version":[{"id":1294,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/posts\/469\/revisions\/1294"}],"wp:attachment":[{"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/media?parent=469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/categories?post=469"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2022\/wp-json\/wp\/v2\/tags?post=469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}