"Save My Game!" š¾ Data Serialization & Escaping in Scratch
https://www.youtube.com/watc...Learn how to safely convert (serialize) your variables into a basic save code in this Scratch coding tutorial. We'll learn about simple CSV's (comma separated value), and implement a robust character escaping system to avoid conflicts and guarantee what goes in, is what comes out! We'll create two custom blocks, "Write Value", and "Read Value".
This episode will be followed up by a second episode that will also be part of the RPG series, and we'll expand on save codes showing how to make them modular, and backwards compatible.
My tutorials are for all budding game & software developers using Code Blocks. Scratch On guys!
š„ Early Access / Channel membership
https://www.youtube.com/channel/UCawsI_mlmPA7Cfld-qZhBQA/join
š± Scratch Studio for this tutorial
Coming Soon
š Quick and Fun Tutorials
https://www.youtube.com/playlist?list=PLy4zsTUHwGJKByTn_qV76oTpEYGczqEb_
ā¤ļø Scratch Addons - https://scratchaddons.com/
--------------Video Chapters--------------
0:00 Intro
1:10 Comma Separated Values & Delimiters ā CSV & DSV
2:22 Basic Write Value Custom Block
3:55 Basic Read Value Custom Block
6:30 Index out of bounds error and Optimisations
8:16 Write with Escaping
11:20 Read with Escaping
12:28 One last issue!
13:51 Summary
15:49 Outro