{"id":40,"date":"2013-03-31T22:34:01","date_gmt":"2013-03-31T22:34:01","guid":{"rendered":"http:\/\/guvstuff.wordpress.com\/?p=40"},"modified":"2015-08-16T12:35:03","modified_gmt":"2015-08-16T16:35:03","slug":"one-off-the-list-dolphin-fun","status":"publish","type":"post","link":"https:\/\/pmcgovern.ca\/wp\/?p=40","title":{"rendered":"One off the List: Dolphin Fun"},"content":{"rendered":"<p><a href=\"https:\/\/pmcgovern.ca\/wp\/wp-content\/uploads\/2013\/03\/dolphinfun.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-thumbnail wp-image-41 alignleft\" alt=\"dolphinfun\" src=\"https:\/\/pmcgovern.ca\/wp\/wp-content\/uploads\/2013\/03\/dolphinfun.png?w=150\" width=\"150\" height=\"126\" srcset=\"https:\/\/pmcgovern.ca\/wp\/wp-content\/uploads\/2013\/03\/dolphinfun.png 444w, https:\/\/pmcgovern.ca\/wp\/wp-content\/uploads\/2013\/03\/dolphinfun-300x253.png 300w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><\/p>\n<p>Dolphin Fun is a simple side-scroller for Android I wrote with artistic direction given by my seven year old daughter. Game play is simple: eat fish without running out of air, and don&#8217;t get hit by the boat. Not terribly exciting, but a good programming exercise, and my daughter enjoyed seeing some of her ideas being implemented. If nothing else I have been able to show her one does not have to sit passively in front of our devices, simply consuming other people&#8217;s work. We can do our own thing.<\/p>\n<p>In truth, I spent more time fussing with sprite sheets than writing code, but was able to cobble something together that has recognizable fish, boats, and a dolphin. The <a title=\"Sprite Sheets\" href=\"http:\/\/www.spriters-resource.com\/genesis\/ecco1\/ecco.png\">sprites<\/a> are all from<a title=\"Open Game Art\" href=\"http:\/\/opengameart.org\/\"> free game art<\/a> sites, and sound effects from <a title=\"Sound Bible\" href=\"http:\/\/soundbible.com\">Sound Bible<\/a> and <a title=\"Bonk!\" href=\"http:\/\/rpg.hamsterrepublic.com\/wiki-images\/7\/72\/Metal_Hit.ogg\">elsewhere<\/a>. The boats are from <a href=\"http:\/\/www.shipbucket.com\">Shipbucket<\/a>, which has some truly <a href=\"http:\/\/www.shipbucket.com\/images.php?dir=Real%20Designs\/France\/F%20CV%20Clemenceau%201.gif\">amazing<\/a> <a href=\"http:\/\/www.shipbucket.com\/images.php?dir=Real%20Designs\/United%20States%20of%20America\/BB-63%20Missouri%201945.png\">illustrations<\/a> of things that float.<\/p>\n<p>Collision detection is primitive,\u00a0 game play is somewhat clunky, and parts of the code are begging to be rewritten, so I guess I have to keep my day job. I&#8217;ve only scratched the surface of Android, but am looking forward to doing another app in the future, maybe an <a href=\"http:\/\/www.eboy.com\">isometric<\/a> something-or-other. If time allows, I will try to put it up into Jenkins and write some acceptance tests to run on a headless emulator.<\/p>\n<p>There is an excellent tutorial <a title=\"Game Turorial\" href=\"http:\/\/www.benareby.com\/tutorial\">here<\/a> for anyone looking for a good place to start with Android.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dolphin Fun is a simple side-scroller for Android I wrote with artistic direction given by my seven year old daughter. Game play is simple: eat fish without running out of air, and don&#8217;t get hit by the boat. Not terribly&#8230;<\/p>\n","protected":false},"author":1,"featured_media":57,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":1,"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":543,"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions\/543"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=\/wp\/v2\/media\/57"}],"wp:attachment":[{"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pmcgovern.ca\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}