{"id":257,"date":"2022-02-23T11:42:40","date_gmt":"2022-02-23T11:42:40","guid":{"rendered":"http:\/\/carlsharkey.com\/?p=257"},"modified":"2022-02-23T11:43:40","modified_gmt":"2022-02-23T11:43:40","slug":"the-save-system-is-finally-here","status":"publish","type":"post","link":"https:\/\/carlsharkey.com\/index.php\/2022\/02\/23\/the-save-system-is-finally-here\/","title":{"rendered":"THE SAVE SYSTEM IS FINALLY HERE!"},"content":{"rendered":"<body>\n<p class=\"has-text-align-center\"><strong>Milestone 2<\/strong><\/p>\n\n\n\n<h4 class=\"has-text-align-center wp-block-heading\"><strong>YES I GOT SAVING TO FINALLY WORK!<\/strong><\/h4>\n\n\n\n<h5 class=\"has-text-align-center wp-block-heading\"><strong>Lets start with the video of visual part of it working in VR and on another PC!!!<\/strong><\/h5>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Visual of GrillVR's Save System working on another PC\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/2BytK0RBbDM?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><figcaption><em>Visual of my VR PC Having the Delivered Burgers Saved<\/em><\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h5 class=\"has-text-align-center wp-block-heading\"><strong>The Scripting &amp; Programming of the PlayerPref Save System for GrillVR<\/strong><\/h5>\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 loading=\"lazy\" title=\"PlayerPrefs in GrillVR - C.J. Sharkey\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/b4se1OtkKoQ?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><figcaption><em>Unity Editor\/Scripts of the PlayerPrefs Save System in GrillVR<\/em><\/figcaption><\/figure>\n\n\n\n<h2 class=\"has-text-align-center wp-block-heading\"><strong>Challenges<\/strong><\/h2>\n\n\n\n<p>Oh boy there was a lot of them. The main challenge of this entire thing was my motivation and time to the project. It was getting hit hard with how much I imagined doing for the milestones and had to rethink things logically with how my scripts worked in Unity. Everything is super basic and it\u2019s like a freshman game designer making their first game type of scripting. I was unaware of save systems and didn\u2019t have much knowledge of them. I only looked up and knew about Serializing files and data to a players PC but I knew there had to be a much simpler way when I only needed a few variables to even be saved. My lack of game programming in Unity was tough on this part of the project, but its finally done and I\u2019m so happy I got it done.<\/p>\n\n\n\n<h2 class=\"has-text-align-center wp-block-heading\"><strong>What\u2019s Next?<\/strong><\/h2>\n\n\n\n<p>Well, now that the variables like burgers delivered are now able to be saved, and I know how to implement it. It\u2019s time to start transferring this system to the next level which will be the shop. I want players to be able to spend the currency and now that the save system works, there\u2019s an opportunity to finally put the in-game shop in and begin progression through the game. But first, I need to get some sound effects for the game so that players who test it can have a good time with it. Something I was given feedback about and was crucial to my game loop was to have sound ready for the players to defend their burgers for all the levels.<\/p>\n\n\n\n<h2 class=\"has-text-align-center wp-block-heading\"><strong>So The Shop? What\u2019s it gonna be like?<\/strong><\/h2>\n\n\n\n<p>The shop is mainly going to be a interactive machine that the player can interact with to import their currency in for items or future level content. I want to start implementing my Utensil Shooter and having it be the first unlock for testing the game loop and obtaining feedback from players. It\u2019s going to be as simple as looking up at how many burgers you have delivered, then pressing a interactive button on the screen to buy content that you want to unlock, and using that content or progressing through that content for more challenges and unlockable content. All of its going to be mainly using buttons to press and interact within the shop system to create and give the player things they choose to buy, as well as suggesting or pushing replayability  to unlock more content of the game.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"http:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/sketvhthing-1024x576.png\" alt=\"\" class=\"wp-image-262\" loading=\"lazy\" srcset=\"https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/sketvhthing-1024x576.png 1024w, https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/sketvhthing-300x169.png 300w, https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/sketvhthing-768x432.png 768w, https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/sketvhthing-1536x864.png 1536w, https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/sketvhthing.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption><em>2D Topdown Sketch of what the Shop Layout is going to be like<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"http:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/thisisawesome-1024x576.jpg\" alt=\"\" class=\"wp-image-264\" loading=\"lazy\" srcset=\"https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/thisisawesome-1024x576.jpg 1024w, https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/thisisawesome-300x169.jpg 300w, https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/thisisawesome-768x432.jpg 768w, https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/thisisawesome-1536x864.jpg 1536w, https:\/\/carlsharkey.com\/wp-content\/uploads\/2022\/02\/thisisawesome.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption><em>2D Inspiration for the shop of interactive buttons, that I want to convert to 3D.<\/em><\/figcaption><\/figure>\n\n\n\n<p><\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>Milestone 2 YES I GOT SAVING TO FINALLY WORK! Lets start with the video of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-257","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/posts\/257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/comments?post=257"}],"version-history":[{"count":7,"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/posts\/257\/revisions"}],"predecessor-version":[{"id":279,"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/posts\/257\/revisions\/279"}],"wp:attachment":[{"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/media?parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/categories?post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carlsharkey.com\/index.php\/wp-json\/wp\/v2\/tags?post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}