{"id":1118,"date":"2014-12-02T13:46:36","date_gmt":"2014-12-02T13:46:36","guid":{"rendered":"http:\/\/astoryisnotatree.net\/?p=1118"},"modified":"2020-05-06T19:48:14","modified_gmt":"2020-05-06T19:48:14","slug":"skinnydipper-full-development","status":"publish","type":"post","link":"https:\/\/astoryisnotatree.net\/?p=1118","title":{"rendered":"Games from Nothing: Group Game #2 \u2014 Skinnydipper"},"content":{"rendered":"<p><a href=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/png1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1123\" src=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/png1-300x225.png\" alt=\"png\" width=\"500\" height=\"375\" srcset=\"https:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/png1-300x225.png 300w, https:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/png1-624x468.png 624w, https:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/png1.png 800w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>For our group game, we decided to use the hider\/seeker labs to make a game about running naked through people&#8217;s pools while getting chased by police. You score points by being in pools, and if you get caught, it&#8217;s over.<\/p>\n<p><a href=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/dipper11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1120\" src=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/dipper11.png\" alt=\"dipper1\" width=\"500\" height=\"375\" \/><\/a><\/p>\n<p>We first made a little skin-tone dot to represent the player, and a vehicle chasing it. We wrote the code so that pools would appear in 3 random spots for the sake of variety.\u00a0 But we had trouble getting it to move how we wanted it to (automatically, steering towards the cursor\/finger). We ended up with a player character that just teleports to wherever the mouse is clicked.\u00a0 That&#8217;s as far as it went for a while.<\/p>\n<p><a href=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/dipper1-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1121\" src=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/dipper1-5.png\" alt=\"dipper1-5\" width=\"499\" height=\"374\" \/><\/a><\/p>\n<p>To solve the movement problem, we just replaced the little player-dot with a second vehicle, in its own class, that chases the cursor while being chased by the enemy vehicle.\u00a0 Collision was still difficult to figure out. We thought that putting the player character in its own class would help, but it didn\u2019t. We also still had no idea how to make the code detect when vehicles were in water, since the parameters\/coordinates were randomized. And so there could be no score.<\/p>\n<p>Also, we made the colors awful.<\/p>\n<p><a href=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/sketch6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-1124\" src=\"http:\/\/astoryisnotatree.net\/wp-content\/uploads\/2014\/12\/sketch6.png\" alt=\"sketch\" width=\"500\" height=\"375\" \/><\/a><\/p>\n<p>We changed the hideous color palette.\u00a0 We eliminated the player&#8217;s class.\u00a0 It&#8217;s now just Vehicles one and two &#8212; the peach-skinned arrow is the player, and the navy blue arrow is the police. We had to ditch the random pools idea because it made the next part super difficult: vehicle-in water detection, and vehicle slowdown while in water, which affects the enemy slightly more than the player. We&#8217;ve got a score-counter going as well. Collision between vehicles now ends the game, with a &#8216;Game Over&#8217; message as the police escort you off the screen.\u00a0 We had a breakthrough &#8212; every mechanic works as it should.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For our group game, we decided to use the hider\/seeker labs to make a game about running naked through people&#8217;s pools while getting chased by police. You score points by being in pools, and if you get caught, it&#8217;s over&#8230;.<\/p>\n","protected":false},"author":27,"featured_media":1123,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[87,36,89],"class_list":["post-1118","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-games-from-nothing","tag-group-game-2","tag-group-games","tag-flocking","wpcat-5-id"],"_links":{"self":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts\/1118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1118"}],"version-history":[{"count":5,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts\/1118\/revisions"}],"predecessor-version":[{"id":13971,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/posts\/1118\/revisions\/13971"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=\/wp\/v2\/media\/1123"}],"wp:attachment":[{"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/astoryisnotatree.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}