{"id":1077,"date":"2025-02-09T10:03:42","date_gmt":"2025-02-09T10:03:42","guid":{"rendered":"https:\/\/sites.wsagames.com\/pe1n23\/?p=1077"},"modified":"2025-10-07T11:40:51","modified_gmt":"2025-10-07T11:40:51","slug":"week-2-development","status":"publish","type":"post","link":"https:\/\/sites.wsagames.com\/pe1n23\/week-2-development\/","title":{"rendered":"Week 2 Development"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Creating a Scene<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The very first thing I implemented after creating a new scene in Unity was implementing the camera code. For this I re-used the existing orbit camera code I made for my <a href=\"https:\/\/sites.wsagames.com\/pe1n23\/prototype-remake-in-unity\/\" data-type=\"post\" data-id=\"517\">prototype last semester<\/a>. Hugo still needed to work on the model for our rat character so a simple cube would have to do.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">While I was working on this Hugo was researching how to make a decent &#8220;greybox&#8221; version of the level based off of Indiana&#8217;s prototype drawings. We stumbled upon the official Unity ProBuilder package specifically designed for quick prototyping and installed it to the project, which made the process a lot quicker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hugo&#8217;s work on the greybox can be found on his blog post for this week:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-hugo-mazariegos wp-block-embed-hugo-mazariegos\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"hvMlFckWS6\"><a href=\"https:\/\/sites.wsagames.com\/hm3g23\/2025\/02\/08\/first-sprint\/\">Week 2: First Sprint<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Week 2: First Sprint&#8221; &#8212; Hugo Mazariegos\" src=\"https:\/\/sites.wsagames.com\/hm3g23\/2025\/02\/08\/first-sprint\/embed\/#?secret=y3BWuIlv9M#?secret=hvMlFckWS6\" data-secret=\"hvMlFckWS6\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Adding Movement<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After the greybox was ready as a testing ground, I also decided to add the rudimentary movement code from my prototype to my cube. While the rolling movement initially made with <em>Kinetic Panic<\/em> in mind didn&#8217;t necessarily fit the shape of the object, it was a lot of fun to bounce about the house nevertheless.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Oh,Rats! Movement Demo\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/-s1scjCywWc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The rigidbody&#8217;s friction factor on the walls also allowed it to &#8220;stick&#8221; to them like a spider, which was extremely fun but obviously way too jank to call a proper climbing system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the future this movement system will be revamped to be less physics-based so we can tweak things like acceleration time and jump heights.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating a Scene The very first thing I implemented after creating a new scene in Unity was implementing the camera code. For this I re-used the existing orbit camera code I made for my prototype last semester. Hugo still needed to work on the model for our rat character so a simple cube would have [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,29,30],"tags":[],"class_list":["post-1077","post","type-post","status-publish","format-standard","hentry","category-development","category-semester-2","category-year2"],"_links":{"self":[{"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/posts\/1077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/comments?post=1077"}],"version-history":[{"count":2,"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/posts\/1077\/revisions"}],"predecessor-version":[{"id":1080,"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/posts\/1077\/revisions\/1080"}],"wp:attachment":[{"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/media?parent=1077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/categories?post=1077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wsagames.com\/pe1n23\/wp-json\/wp\/v2\/tags?post=1077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}