{"id":1041,"date":"2014-10-14T14:30:10","date_gmt":"2014-10-14T14:30:10","guid":{"rendered":"http:\/\/mycours.es\/gamedesign2014\/?page_id=1041"},"modified":"2014-10-23T22:26:06","modified_gmt":"2014-10-23T22:26:06","slug":"unity-for-2d","status":"publish","type":"page","link":"http:\/\/mycours.es\/gamedesign2014\/unity-for-2d\/","title":{"rendered":"Unity for 2D"},"content":{"rendered":"<p><a href=\"http:\/\/unity3d.com\/\" target=\"_blank\">Unity<\/a> is a game engine and development environment that became extremely popular due to its accessibility, price and cross-platform capabilities.<\/p>\n<p>Recent versions added a 2D mode that can provide a gentle introduction to this complex tool.<\/p>\n<p>Unity projects can be scripted in javascript (js) and C# (C sharp) interchangeably. The former is a bit easier syntax-wise so I&#8217;m going to use it, although advanced developers tend to prefer C#.<\/p>\n<p>Of course you are expected to tap into a huge wealth of tutorials on the internet and on Unity official forums. 99.9% of the time your problem has been solved before.<\/p>\n<p><a href=\"http:\/\/forum.unity3d.com\/threads\/newbie-guide-to-unity-javascript-long.34015\/\">This is a intro guide to js syntax and structures<\/a>. Js is very similar to Processing.<\/p>\n<h1>Part one<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mycours.es\/gamedesign2014\/files\/2014\/10\/Screen-Shot-2014-10-14-at-10.28.12-AM.png\" alt=\"\" title=\"Screen Shot 2014-10-14 at 10.28.12 AM\" width=\"533\" height=\"368\" class=\"aligncenter size-full wp-image-1042\" srcset=\"http:\/\/mycours.es\/gamedesign2014\/files\/2014\/10\/Screen-Shot-2014-10-14-at-10.28.12-AM.png 533w, http:\/\/mycours.es\/gamedesign2014\/files\/2014\/10\/Screen-Shot-2014-10-14-at-10.28.12-AM-300x207.png 300w\" sizes=\"auto, (max-width: 533px) 85vw, 533px\" \/><\/p>\n<p>Setting up a project, sprites, physics, colliders, rigidbody properties, keyboard input &#038; movements, appearance, collisions, messages<br \/>\n<a href=\"http:\/\/mycours.es\/zip\/unity-tutorial-1.zip\" title=\"Unity Tutorial - Part 1\" target=\"_blank\">Download part 1<\/a><\/p>\n<p><a href=\"https:\/\/cp.sync.us\/dl\/0051514a#mp1mGV2v2SOCuUnWasyQMShxRtb6TGxvKSccQEtulMtaa0IQXq7u9eDp7gUBcDbt1ssx2wrLxfWxRHYGwOoe0w==\" target=\"_blank\">Download only the assets<\/a> (graphics and js)<\/p>\n<h1>Part Two<\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mycours.es\/gamedesign2014\/files\/2014\/10\/Screen-Shot-2014-10-23-at-6.20.29-PM.png\" alt=\"\" title=\"Screen Shot 2014-10-23 at 6.20.29 PM\" width=\"692\" height=\"387\" class=\"aligncenter size-full wp-image-1277\" srcset=\"http:\/\/mycours.es\/gamedesign2014\/files\/2014\/10\/Screen-Shot-2014-10-23-at-6.20.29-PM.png 692w, http:\/\/mycours.es\/gamedesign2014\/files\/2014\/10\/Screen-Shot-2014-10-23-at-6.20.29-PM-300x167.png 300w\" sizes=\"auto, (max-width: 692px) 85vw, 692px\" \/><br \/>\nCamera setup, camera movements, Prefab, Instantiation, timer, triggers, sounds.<br \/>\n<a href=\"https:\/\/cp.sync.us\/dl\/cf496045#GVI4PuV2boXwVvf+oY2DJsKqIDF7m4mWbpTkZVpJ6B5tY1XDARexGnLogF3R+GwMbNQd+uIacliM\/0ac+hXjtA==\" target=\"_blank\">Download part 2<\/a><\/p>\n<h1>Processing alternative<\/h1>\n<p>Somewhat equivalent series of tutorials for Processing can be <a href=\"http:\/\/cmuems.com\/2014c\/category\/games-and-simulations\/\" target=\"_blank\">found here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unity is a game engine and development environment that became extremely popular due to its accessibility, price and cross-platform capabilities. Recent versions added a 2D mode that can provide a gentle introduction to this complex tool. Unity projects can be scripted in javascript (js) and C# (C sharp) interchangeably. The former is a bit easier &hellip; <a href=\"http:\/\/mycours.es\/gamedesign2014\/unity-for-2d\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Unity for 2D&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1041","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/mycours.es\/gamedesign2014\/wp-json\/wp\/v2\/pages\/1041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/mycours.es\/gamedesign2014\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/mycours.es\/gamedesign2014\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/mycours.es\/gamedesign2014\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mycours.es\/gamedesign2014\/wp-json\/wp\/v2\/comments?post=1041"}],"version-history":[{"count":10,"href":"http:\/\/mycours.es\/gamedesign2014\/wp-json\/wp\/v2\/pages\/1041\/revisions"}],"predecessor-version":[{"id":1046,"href":"http:\/\/mycours.es\/gamedesign2014\/wp-json\/wp\/v2\/pages\/1041\/revisions\/1046"}],"wp:attachment":[{"href":"http:\/\/mycours.es\/gamedesign2014\/wp-json\/wp\/v2\/media?parent=1041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}