"Save My Game!" 💾 Data Serialization & Escaping in Scratch
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
👀 Quick and Fun Tutorials
https://www.youtube.com/playlist?list=PLy4zsTUHwGJKByTn_qV76oTpEYGczqEb_
👀 Episodes in the series:
Ep.1 - Craft your dream Scratch Game - https://youtu.be/5lof-Nu1VVE
Ep.2 - Infinite Scrolling & Tiles - https://youtu.be/g8xsQx-XkYE
Ep.3 - I AM SPEED - https://youtu.be/uxIH0W4S6LY
Ep.4 - Build a LEVEL EDITOR in Scratch - https://youtu.be/nvB9chNNl2s
Ep.5 - Split Screen & Multi Tile Assets - https://youtu.be/dgMlWZEaPek
Ep.6 - Layers & Onion Skinning - https://youtu.be/wWjot1vJBf0
Ep.7 - Collisions Pins - https://youtu.be/xSt7aF8MNn8
Ep.8 - Player Collisions - https://youtu.be/ZvQ0Gv4I2Cc
Ep.9 - Animate the World - https://youtu.be/zzAb8w8CRKw
Ep.10a - Data Serialization - https://youtu.be/g-9RcbQIQWE
Ep.10b - Modular Scene Saving - https://youtu.be/BJKQDaCPng8
❤️ 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
Other Videos By griffpatch
Other Statistics
Scratches Statistics For griffpatch
griffpatch currently has 24,500,415 views spread across 87 videos for Scratches. There's over 1 day worth of watchable video for Scratches published on his channel, roughly 49.28% of the content that griffpatch has uploaded to YouTube.