
Define data persistence and serialization in Unity, explain saving between levels and across sessions, compare readable and unreadable save files, and introduce the simplest Unity save method.
Explore Unity's playerprefs to persist simple data across sessions by saving and loading key-value pairs, with notes on when not to use it for complex data.
Discover saving and loading game data in Unity with stream writers and readers. Use the persistent data path, write and read lines, and remember to close streams.
You can find the Link to CodeBeautify.org in the Resources.
Download the Git-Package from: com.unity.nuget.newtonsoft-json
Serialize each enemy, combine serialized data into a single json object with the save game manager, then save and load multiple enemies by name, optionally using a serialization interface.
learn to implement aes encryption for safe game data in Unity, including encrypting and decrypting strings, using memory streams, crypto streams, and file operations to securely save and load games.
If you ever wondered how to create savegames in unity then this course is for you!
The "The ultimate Guide to Creating Savegames in Unity" will teach you best practices for the most basic savegame-solutions like PlayerPrefs, but we will also handle some more advanced topics like Json and Encryption.
In this course you will:
Save and load the Gamestate
Save/Load simple Data with Playerprefs
Create your own Save-Files with Streamwriter
Create unreadable Savegames with Binaryformatter
Create advanced up- and downward-compatible Savegame-Solutions with Json
Encrypt your Savegames
This course is very project-based and practical, so you will implement the concepts directly in exercises.
For each Concept you will be challenged to implement it yourself, but if you don't feel up to the task you will also be shown a well explained step-by-step guide how to implement it.
The course also features several Demo-Projects, where you can look up best practice implementations.
Why learn from me?
I have been teaching game-programming for more than 5 years now and as a result I have plenty of experience in what works and what doesn't when it comes to teaching programming. Also I am a firm believer, that you can only learn the high craft (some might even say art) of programming, by practicing it.
Who is the target Audience?
Unity Developers who want to create Simple Savegames
Unity Developers who want to create more sophisticated encrypted Savegames
Programmers who want to improve their Skills in the Unity3D - Engine
Become a better Programmer, now! I'll meet you inside the course!