{"id":1998,"date":"2022-04-05T22:28:09","date_gmt":"2022-04-06T02:28:09","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/?page_id=1998"},"modified":"2022-04-06T10:09:09","modified_gmt":"2022-04-06T14:09:09","slug":"unity-101","status":"publish","type":"page","link":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/daily-notes\/unity-101\/","title":{"rendered":"04-06 Unity 101"},"content":{"rendered":"<p><em>Let&#8217;s learn Unity. Here&#8217;s a one-hour overview by prof. Paolo Pedercini \u2014 the material he wants you to know if you want to take his advanced game design courses here at CMU:\u00a0<\/em><\/p>\n<p><iframe loading=\"lazy\" title=\"Unity: overview\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/wRMHHnQwxks?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<hr \/>\n<h3>Installation<\/h3>\n<ul>\n<li>Create an account at Unity.com (either Student or Personal are fine; both are free).<\/li>\n<li>Download and install UnityHub, which is an &#8220;installation manager&#8221; for Unity. Sign in with the account you just made. Unity Hub keeps track of all your projects and different versions of the Unity Editor.<\/li>\n<li>It\u2019s important to install the correct version. In Unity Hub, go to the Installs tab, and select \u201cAdd\u201d. Install the &#8220;Long Term Support&#8221; (LTS = stable) version of the Unity 2020.3 Editor, which (as of today) is version 2020.3.32f1.<\/li>\n<li>Now we select which \u201cModules\u201d to add, in order to allow Unity to build for different platforms. Right-click on the little gear on the right side of your 2020.3.32f1 install and choose &#8220;Add Modules&#8221;. I recommend you add WebGL and the operating system of your laptop. Note, it\u2019s also possible to add these modules later if you want.<\/li>\n<li>It&#8217;s time to launch Unity and make sure it\u2019s installed properly. Go to the Projects tab in Unity Hub (top left) and make a new project by clicking on the New Project button.<\/li>\n<li>There are template projects to choose from. Under &#8220;Core&#8221;, select &#8220;3D&#8221;; This is an empty 3D project that uses Unity&#8217;s built-in renderer. Click <em>Create Project<\/em>.<\/li>\n<li>You should see the Unity interface. If you do, Congrats!<\/li>\n<\/ul>\n<hr \/>\n<p>This is a very helpful 17-minute video:<\/p>\n<p><iframe loading=\"lazy\" title=\"Learn Unity in 17 MINUTES!\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/E6A4WvsDeLE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<ul>\n<li>Now, let&#8217;s start doing the tutorials:\n<ol>\n<li><a href=\"https:\/\/learn.unity.com\/tutorial\/get-ready-for-unity-essentials\">Get Ready For Unity Essentials<\/a> (10m)<\/li>\n<li>Do the <a href=\"https:\/\/learn.unity.com\/pathway\/unity-essentials\">Unity Essentials Pathway<\/a>.<\/li>\n<li>I recommend \u201c<a href=\"https:\/\/www.linkedin.com\/learning\/unity-3d-2021-essential-training?u=42257553\">Unity 3D 2021 Essential Training<\/a>\u201d tutorial by Emmanuel Henri.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>Some Unity Units<\/h3>\n<ol>\n<li><a href=\"http:\/\/www.courses.art.cmu.edu\/2021s\/60210a\/daily-notes\/04-21-unity\/unity-1\/\">Installation and Setup<\/a><\/li>\n<li><a href=\"http:\/\/www.courses.art.cmu.edu\/2021s\/60210a\/daily-notes\/04-21-unity\/unity-2-interface\/\">Navigating the Interface; Using the Camera<\/a><\/li>\n<li><a href=\"http:\/\/www.courses.art.cmu.edu\/2021s\/60210a\/daily-notes\/04-21-unity\/unity-3-models\/\">Importing Models &amp; Editing their Properties<\/a><\/li>\n<li><a href=\"http:\/\/www.courses.art.cmu.edu\/2021s\/60210a\/daily-notes\/04-26-unity\/unity-post-processing\/\">Unity Post-Processing<\/a> (also see\u00a0<a href=\"https:\/\/docs.unity3d.com\/Manual\/PostProcessingOverview.html\">Adding filters<\/a>, e.g. fog, shaders)<\/li>\n<li><a href=\"http:\/\/www.courses.art.cmu.edu\/2021s\/60210a\/daily-notes\/04-26-unity\/unity-audio\/\">Unity Audio<\/a> (spatial audio, footsteps)<\/li>\n<li><a href=\"http:\/\/www.courses.art.cmu.edu\/2021s\/60210a\/daily-notes\/04-26-unity\/unity-building-to-webgl\/\">Publishing WebGL projects to Itch.io<\/a><\/li>\n<li><a href=\"https:\/\/learn.unity.com\/tutorial\/working-with-unity-recorder#\">The Unity Recorder<\/a> &amp; <a href=\"https:\/\/www.youtube.com\/watch?v=2HVhnh93JZY\">2020 Update<\/a>\u00a0\/ <a href=\"https:\/\/www.youtube.com\/watch?v=j6nk-69SA2g\">Another<\/a><\/li>\n<\/ol>\n<hr \/>\n<h3>Key Resources<\/h3>\n<ul>\n<li><strong><a href=\"https:\/\/docs.unity3d.com\/Manual\/index.html\">The Unity Manual<\/a><\/strong><\/li>\n<li><strong><a href=\"https:\/\/docs.google.com\/document\/d\/1xwGpjgIRhZAqprW-jECGN1WNh_o2jfO_84hjLQ59TIQ\/edit\">Everest\u2019s All-in-One Unity Cheatsheet<\/a><\/strong><\/li>\n<\/ul>\n<p>CMU has free access for all students to the tutorials at \u201cLinkedIn Learning\u201d (formerly Lynda.com).<\/p>\n<ul>\n<li>Visit\u00a0<a href=\"https:\/\/www.cmu.edu\/computing\/services\/it-professional\/training\/\">https:\/\/www.cmu.edu\/computing\/services\/it-professional\/training\/<\/a>\u00a0and use your CMU credentials to get access to the tutorial portals through the \u201cLOG IN\u201d button.<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2018\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.20.16-AM-1200x575-1.png\" alt=\"\" width=\"1200\" height=\"575\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.20.16-AM-1200x575-1.png 1200w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.20.16-AM-1200x575-1-640x307.png 640w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.20.16-AM-1200x575-1-1024x491.png 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.20.16-AM-1200x575-1-768x368.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<ul>\n<li>In the search bar, type \u201cUnity\u201d and locate the \u201c<a href=\"https:\/\/www.linkedin.com\/learning\/unity-3d-2021-essential-training?u=42257553\">Unity 3D 2021 Essential Training<\/a>\u201d tutorial by Emmanuel Henri, or (having logged in) click https:\/\/www.linkedin.com\/learning\/unity-3d-2021-essential-training\/visualize-a-house-project-with-unity-2021. I strongly recommend you work through this 4.5-hour tutorial. (<em>Yes, this tutorial is for version 2021; you might need to install that version of Unity as well.<\/em>)<\/li>\n<\/ul>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2017\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.24.23-AM-1200x348-1.png\" alt=\"\" width=\"1200\" height=\"348\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.24.23-AM-1200x348-1.png 1200w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.24.23-AM-1200x348-1-640x186.png 640w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.24.23-AM-1200x348-1-1024x297.png 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2020-11-09-at-2.24.23-AM-1200x348-1-768x223.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2>Unity Challenges<\/h2>\n<h3>Challenge #1: A Still Life \/ Virtual Collage<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2016\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/shiv-integer-3-plummer-fernandez-1200x900-1.jpg\" alt=\"\" width=\"1200\" height=\"900\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/shiv-integer-3-plummer-fernandez-1200x900-1.jpg 1200w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/shiv-integer-3-plummer-fernandez-1200x900-1-640x480.jpg 640w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/shiv-integer-3-plummer-fernandez-1200x900-1-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/shiv-integer-3-plummer-fernandez-1200x900-1-768x576.jpg 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><em>(From \u201c<a href=\"https:\/\/www.plummerfernandez.com\/shiv-integer\/\">Shiv Integer<\/a>,\u201d a Thingiverse bot by Matthew Plummer-Fern\u00e1ndez and Julien Deswaef.)<\/em><\/p>\n<p>Browse the links below, which are repositories of 3D models. Select at least three different models from these (or other) sources; import them into Unity; and assemble a virtual 3D sculpture by collaging them together in a way that pleases you. You may texture\/illuminate your sculpture as you see fit (you are not being asked to reproduce the appearance of the image above!).\u00a0<em>This is intended above all as a technical exercise, but interesting juxtapositions and harmonies of form and content are always welcome<\/em>.<\/p>\n<p><strong>Some Free 3D Models &amp; Textures:<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/www.davidoreilly.com\/library\">http:\/\/www.davidoreilly.com\/library<\/a><\/li>\n<li><a href=\"https:\/\/www.turbosquid.com\/\">https:\/\/www.turbosquid.com\/<\/a><\/li>\n<li><a href=\"https:\/\/free3d.com\/3d-models\/fbx\">https:\/\/free3d.com\/3d-models\/fbx<\/a><\/li>\n<li><a href=\"https:\/\/3dwarehouse.sketchup.com\/search\/?searchTab=model\">https:\/\/3dwarehouse.sketchup.com\/search\/?searchTab=model<\/a><\/li>\n<li><a href=\"https:\/\/sketchfab.com\/\">https:\/\/sketchfab.com\/<\/a><\/li>\n<li><a href=\"https:\/\/opengameart.org\/\">https:\/\/opengameart.org\/<\/a><\/li>\n<li><a href=\"https:\/\/www.mixamo.com\/#\/\">https:\/\/www.mixamo.com\/#\/<\/a><\/li>\n<li><a href=\"https:\/\/texturehaven.com\/textures\/\">https:\/\/texturehaven.com\/textures\/<\/a><\/li>\n<li><a href=\"https:\/\/www.kenney.nl\/assets\">https:\/\/www.kenney.nl\/assets<\/a><\/li>\n<li><a href=\"https:\/\/polyhaven.com\/models\">https:\/\/polyhaven.com\/models<\/a><\/li>\n<\/ul>\n<p><strong>Free Skyboxes:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/assetstore.unity.com\/packages\/2d\/textures-materials\/sky\/free-skyboxes-sci-fi-fantasy-184932\">free-skyboxes-sci-fi-fantasy-184932<\/a><\/li>\n<li><a href=\"https:\/\/assetstore.unity.com\/packages\/2d\/textures-materials\/sky\/skybox-series-free-103633\">skybox-series-free-103633<\/a><\/li>\n<li><a href=\"https:\/\/assetstore.unity.com\/packages\/2d\/textures-materials\/sky\/free-hdr-skyboxes-pack-175525\">free-hdr-skyboxes-pack-175525<\/a><\/li>\n<\/ul>\n<h3>Challenge #2: Walking Simulator<\/h3>\n<ul>\n<li><a href=\"https:\/\/glasstire.com\/2012\/11\/23\/the-ten-list-walk-as-art\/\">Walking As Art (10 Examples)<\/a><\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" title=\"Francis Aly\u0308s - Sometimes Making Something Leads to Nothing, 1997 (HD &amp; full version)\" width=\"840\" height=\"630\" src=\"https:\/\/www.youtube.com\/embed\/WvkTLAdKP24?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p><em><span class=\"c7\">\u201cThe term walking simulator began as a bit of a snide remark on games with limited interactive components, which came into the main with\u00a0<\/span><span class=\"c8 c7\">Dear Esther<\/span><span class=\"c4\"> which generally was loved by critics and hated by fans. Although this was less than 10 years ago in games, they\u2019ve grown a lot as a medium since then\u2013 especially in the public view of what they can \u201cbe\u201d. With no shooting, puzzles, or other mechanics, walking sims were a step towards experiences that were subtle, environmental, and about being in spaces over time.\u201d Watch 1:15-2:30:<\/span><\/em><\/p>\n<p><iframe loading=\"lazy\" title=\"A Brief History of the Walking Simulator | Sidcourse\" src=\"https:\/\/www.youtube.com\/embed\/wl2zgLrfbTQ?feature=oembed\" width=\"840\" height=\"473\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<p>Chris Davis,\u00a0<em>The Secret to a Great Walking Simulator<\/em> (2017):<\/p>\n<p><iframe loading=\"lazy\" title=\"The Secret to a Great Walking Simulator (&amp; a short rant about reviews)\" src=\"https:\/\/www.youtube.com\/embed\/I1MsnaTw1bU?feature=oembed\" width=\"840\" height=\"473\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<p class=\"c1\"><span class=\"c7\">Ben Esposito released a free Unity package called\u00a0<\/span><a href=\"http:\/\/www.torahhorse.com\/index.php\/portfolio\/first-person-drifter-for-unity\/\"><span class=\"c8 c7\">First Person Drifter<\/span><\/a><span class=\"c4\">, which was an easy to implement first-person controller. <\/span><span class=\"c4\">He writes:<\/span><\/p>\n<p class=\"c1 c2\" style=\"padding-left: 40px;\"><em><span class=\"c7\">\u201c<\/span><span class=\"c7 c9\">a drifting game is a piece of art software in which users walk around for the hell of it.\u00a0<\/span><span class=\"c7 c14\">the term drifting game comes from the word \u201cd\u00e9rive\u201d which is the\u00a0<\/span><span class=\"c8 c7 c14\"><a class=\"c0\" href=\"https:\/\/www.google.com\/url?q=http:\/\/en.wikipedia.org\/wiki\/D%25C3%25A9rive&amp;sa=D&amp;source=editors&amp;ust=1618879982072000&amp;usg=AOvVaw0nUt3oZpDy-KY85uE8jktw\">radical concept of wandering around.\u00a0<\/a><\/span><span class=\"c9 c7\">i made this package bc i want to encourage artists &amp; non-programmers to make more\u00a0<\/span><span class=\"c7 c14\">and 2 provide users w\/ controls that behave in ways they expect.\u201d<\/span><\/em><\/p>\n<p><strong><a href=\"https:\/\/www.dropbox.com\/s\/efvgnn1jedq1znw\/60212_Sample_Project_Unity2020.3.zip?dl=0\">Here is a simple template project<\/a><\/strong> (works with Unity 2020.3 LTS) which could be used to make a walkabout game. It includes a textured model, an environment with colliders, and Esposito&#8217;s first-person character toolkit.<\/p>\n<p><a href=\"https:\/\/www.dropbox.com\/s\/efvgnn1jedq1znw\/60212_Sample_Project_Unity2020.3.zip?dl=0\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2051\" src=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-06-at-10.05.42-AM.png\" alt=\"\" width=\"1210\" height=\"647\" srcset=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-06-at-10.05.42-AM.png 1210w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-06-at-10.05.42-AM-640x342.png 640w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-06-at-10.05.42-AM-1024x548.png 1024w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-06-at-10.05.42-AM-768x411.png 768w, https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-content\/uploads\/2022\/04\/Screen-Shot-2022-04-06-at-10.05.42-AM-1200x642.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s learn Unity. Here&#8217;s a one-hour overview by prof. Paolo Pedercini \u2014 the material he wants you to know if you want to take his advanced game design courses here at CMU:\u00a0 Installation Create an account at Unity.com (either Student or Personal are fine; both are free). Download and install UnityHub, which is an &#8220;installation &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/daily-notes\/unity-101\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;04-06 Unity 101&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":16,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/pages\/1998"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/comments?post=1998"}],"version-history":[{"count":25,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/pages\/1998\/revisions"}],"predecessor-version":[{"id":2053,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/pages\/1998\/revisions\/2053"}],"up":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/pages\/16"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/60-212\/s2022\/wp-json\/wp\/v2\/media?parent=1998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}