{"id":1113,"date":"2012-03-06T11:55:54","date_gmt":"2012-03-06T11:55:54","guid":{"rendered":"http:\/\/www.holyfingers.co.uk\/main\/?p=1113"},"modified":"2020-03-14T16:45:58","modified_gmt":"2020-03-14T16:45:58","slug":"game-dev-diary-3","status":"publish","type":"post","link":"https:\/\/www.holyfingers.co.uk\/main\/blog\/2012\/03\/06\/game-dev-diary-3\/","title":{"rendered":"Development Diary #3: First Prototype!"},"content":{"rendered":"<p><a href=\"https:\/\/www.holyfingers.co.uk\/main\/2012\/03\/game-dev-diary-3\/\"><img decoding=\"async\" class=\"alignnone\" title=\"Prototype Play\" src=\"https:\/\/www.holyfingers.co.uk\/main\/wp-content\/media\/UnityPrototypes\/Prototype1\/Prototype-1_Screen.jpg\" alt=\"\"><\/a><\/p>\n<p style=\"text-align: justify;\">Following on from my last <a title=\"Development Diary #2: First Steps\" href=\"https:\/\/www.holyfingers.co.uk\/main\/2012\/02\/game-dev-diary-2\/\">post<\/a>, here&#8217;s my first attempt at a simple, working version of some basic game-mechanics. So far you can move about a bit, pick things up when you&#8217;re close enough, restart by pressing the enter key and&#8230; well that&#8217;s all actually.<\/p>\n<p style=\"text-align: justify;\"><!--more-->Here&#8217;s what I&#8217;ve been concerning myself with over the last week or so, all seem pretty essential for an adventure game:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Moving to mouse-click<\/li>\n<li>Pathfinding<\/li>\n<li>Obstacle avoidance \/ walkable areas<\/li>\n<li>Custom cursors<\/li>\n<li>Object interaction<\/li>\n<li>Inventory system<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Amazingly (and thankfully!) <em>Unity 3.5<\/em> ships with its own fancy new <a title=\"UNITY: Navigation and Pathfinding\" href=\"http:\/\/unity3d.com\/support\/documentation\/Manual\/Navmesh%20and%20Pathfinding.html\" target=\"_blank\" rel=\"noopener noreferrer\">Pathfinding<\/a> system and the above prototype incorporates a good percentage of the basic functionality I&#8217;m looking for. So far I&#8217;ve tested out defining walkable\/non-walkable areas and collision avoidance between characters\/obstacles. Still have to think about non-standard terrain like hills, ladders, stairs; I&#8217;m hoping to use Rune Skovbo Johansen&#8217;s <a title=\"UNITY: Locomotion System\" href=\"http:\/\/unity3d.com\/support\/resources\/unity-extensions\/locomotion-ik.html\" target=\"_blank\" rel=\"noopener noreferrer\">Locomotion<\/a> system for IK\/animation blending so that&#8217;s something else to look into.<\/p>\n<p style=\"text-align: justify;\">Replacing the system cursor with a new one is pretty straightforward but I still have to investigate animation and mouse-over effects. Depending on the system I come up with I may need a variety of different, interchangeable cursors for different functions, using items etc.<\/p>\n<p style=\"text-align: justify;\">Most of my time has been spent working out how to move the coloured cubes to the inventory (still haven&#8217;t managed to get them back again yet!). I don&#8217;t have the most logical of brains so, although some really basic concepts of scripting are sinking in, some aren&#8217;t. Arrays, so far, aren&#8217;t. I did manage to get something hacked together in the end though, it&#8217;s far, far from a complete solution but you can pick the coloured cubes in any order and they&#8217;ll move to the inventory as you do so, I&#8217;m claiming that as a very small victory!<\/p>\n<p style=\"text-align: justify;\">So after filling my head with numbers and a bunch of funny-looking brackets for the past few weeks I&#8217;m hoping to make a start on some art next, the latest version of <em>Softimage<\/em> usually appears in the next couple of months so I&#8217;m using that as a deadline. Along with another prototype the plan is to have some designs I&#8217;m happy with ready to go for the end of March&#8230;<\/p>\n<p style=\"text-align: justify;\"><em>If you have questions, suggestions or happen to know where I can get cheap, brand-name clothing, feel free to leave your words in the box below.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following on from my last post, here&#8217;s my first attempt at a simple, working version of some basic game-mechanics. So far you can move about a bit, pick things up when you&#8217;re close enough, restart by pressing the enter key and&#8230; well that&#8217;s all actually.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[55],"tags":[64,60,58,76,57,59],"class_list":["post-1113","post","type-post","status-publish","format-standard","hentry","category-game-development","tag-dev-diary","tag-prototype","tag-scripting","tag-toryanse","tag-unity","tag-unityscript"],"_links":{"self":[{"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/posts\/1113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/comments?post=1113"}],"version-history":[{"count":128,"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/posts\/1113\/revisions"}],"predecessor-version":[{"id":4056,"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/posts\/1113\/revisions\/4056"}],"wp:attachment":[{"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/media?parent=1113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/categories?post=1113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.holyfingers.co.uk\/main\/wp-json\/wp\/v2\/tags?post=1113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}