How create a Quest System in Unity | RPG Style | Including Data Persistence

Shaped by Rain Studios โ€ข June 4, 2023
Video Thumbnail
Shaped by Rain Studios Logo

Shaped by Rain Studios

View Channel

About

Hey there, my name's Trever. A great idea starts as a drop of inspiration, but just as the rain shapes the earth, itโ€™s the consistent nurturing, effort, and perseverance that shapes that idea into something extraordinary. Shaped by Rain Studios is my solo venture that exists to help driven, creative people build projects theyโ€™re passionate about through practical education, tools, and thought-provoking content. I hope the things that I create will help you in your own creative endeavors!

Latest Posts

No results found. Try different keywords.

Video Description

This video covers one of the many ways to go about creating a Quest System in Unity. The Quest System focuses on RPG-style quests and includes persisting the state of all quests between playthroughs. I hope this helps and best of luck! ๐Ÿ™‚ This video is sponsored by Unity. Check out what the 2022 LTS has to offer via the below link! https://on.unity.com/3OyB0jd โ–บ Quest System Playlist All videos I've currently done for the Quest System series can be found in this playlist. https://www.youtube.com/watch?v=UyTJLDGcT64&list=PL3viUl9h9k7-oX3Sz8VvyKCIN24XOXNZR โ–บ TIMESTAMPS 0:00 Intro 1:22 Disclaimer and Prerequisite Knowledge 2:43 Sponsorship 3:48 Defining a Quest 5:17 How we'll Store Static (non-changing) Data 6:03 How Quest Steps will work 8:34 How we'll Manage State Data 9:31 How we'll Manage Quests 12:26 Running through an example 15:34 Project Overview 18:51 Storing Static (non-changing) Data 21:51 Creating a Quest Step 24:54 Managing State Data 27:46 Managing Quests 30:04 Creating Quest Management Events 32:38 Creating the Quest Point 37:12 Creating the Quest Icon Visual 40:07 Managing Quest Requirements 42:39 Starting a Quest 43:31 Advancing a Quest 45:10 Finishing a Quest 45:57 Ensure Multiple Steps are Working 46:24 How we'll Persist Quest State 49:48 Managing Quest Step State 54:31 Saving Quest Data 56:03 Loading Quest Data 59:03 Disabling Persistence for Development 59:35 Creating One More Quest 1:02:50 Outro โ–บ GITHUB PROJECT The '2-quest-system-implemented' branch contains the code by the end of this tutorial. https://github.com/shapedbyrainstudios/quest-system โ–บ RESOURCES Save & Load System Tutorial Series (also covers Serialization/Deserialization) https://www.youtube.com/watch?v=aUi9aijvpgs&list=PL3viUl9h9k7-tMGkSApPdu4hlUBagKial Excellent video for an introduction into Unity Events https://www.youtube.com/watch?v=gx0Lt4tCDE0 Excellent video on Unity's new Input System https://www.youtube.com/watch?v=m5WsmlEOFiA&t Unity Lifecycle methods documentation https://docs.unity3d.com/Manual/ExecutionOrder.html Excellent video on Unity Prefabs https://www.youtube.com/watch?v=EH5epbeX3ek Excellent video covering the basics of Scriptable Objects https://www.youtube.com/watch?v=aPXvoWVabPY โ–บ MUSIC The backing music for this video is by Panda Beats. Website: https://pandabeatsmusic.com/ YouTube Channel: https://www.youtube.com/@PandaBeatsMusic Playlist: https://www.youtube.com/watch?v=ejGmSTVKJrU&list=PLPEwKpHq_H2Csme-WtKAON7ha7E4bRhxx โ–บ DISCORD Come ask questions, suggest a video topic, or just hang out! ๐Ÿ“ฑDiscord โž” https://discord.gg/99gcnaHFf9 โ–บ THE PATH OF REN Wishlist The Path of Ren on Steam! ๐ŸŽฎ Steam (The Path of Ren) โž” https://store.steampowered.com/app/1619920 โ–บ SOCIAL MEDIA LINKS ๐Ÿฆ Twitter โž” https://twitter.com/ShapedByRain ๐Ÿ“ท Instagram โž” https://instagram.com/ShapedByRainStudios ๐Ÿ•‘ TikTok โž” https://tiktok.com/@ShapedByRainStudios ๐ŸŒ Website โž” https://ShapedByRainStudios.com โ–บ SUPPORT Any support is much appreciated! I may receive a commission on any assets purchased using the below Unity Asset Store link. ๐Ÿ›๏ธ Unity Asset Store Affiliate Link โž” https://assetstore.unity.com/?aid=1100lrxm5 โ˜• Buy me a coffee! (Ko-fi) โž” https://ko-fi.com/ShapedByRainStudios #gamedev #quests #unity

You May Also Like