Uploaded February 2023 | Updated September 2026, 3 weeks ago
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!
π *Boost Your Creativity with Griffpatch*
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at π https://griffpatch.academy π
πΊ Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu
π Quick and Fun Tutorials
youtube.com/playlist?list=PLy4zsTUHwGJKByTn_qV76oTpEYGczqEb_
π Episodes in the series:
Ep.1 - Craft your dream Scratch Game - youtu.be/5lof-Nu1VVE
Ep.2 - Infinite Scrolling & Tiles - youtu.be/g8xsQx-XkYE
Ep.3 - I AM SPEED - youtu.be/uxIH0W4S6LY
Ep.4 - Build a LEVEL EDITOR in Scratch - youtu.be/nvB9chNNl2s
Ep.5 - Split Screen & Multi Tile Assets - youtu.be/dgMlWZEaPek
Ep.6 - Layers & Onion Skinning - youtu.be/wWjot1vJBf0
Ep.7 - Collisions Pins - youtu.be/xSt7aF8MNn8
Ep.8 - Player Collisions - youtu.be/ZvQ0Gv4I2Cc
Ep.9 - Animate the World - youtu.be/zzAb8w8CRKw
Ep.10a - Data Serialization - youtu.be/g-9RcbQIQWE
Ep.10b - Modular Scene Saving - youtu.be/BJKQDaCPng8
β€οΈ Scratch Addons - 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
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!
π *Boost Your Creativity with Griffpatch*
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at π https://griffpatch.academy π
πΊ Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu
π Quick and Fun Tutorials
youtube.com/playlist?list=PLy4zsTUHwGJKByTn_qV76oTpEYGczqEb_
π Episodes in the series:
Ep.1 - Craft your dream Scratch Game - youtu.be/5lof-Nu1VVE
Ep.2 - Infinite Scrolling & Tiles - youtu.be/g8xsQx-XkYE
Ep.3 - I AM SPEED - youtu.be/uxIH0W4S6LY
Ep.4 - Build a LEVEL EDITOR in Scratch - youtu.be/nvB9chNNl2s
Ep.5 - Split Screen & Multi Tile Assets - youtu.be/dgMlWZEaPek
Ep.6 - Layers & Onion Skinning - youtu.be/wWjot1vJBf0
Ep.7 - Collisions Pins - youtu.be/xSt7aF8MNn8
Ep.8 - Player Collisions - youtu.be/ZvQ0Gv4I2Cc
Ep.9 - Animate the World - youtu.be/zzAb8w8CRKw
Ep.10a - Data Serialization - youtu.be/g-9RcbQIQWE
Ep.10b - Modular Scene Saving - youtu.be/BJKQDaCPng8
β€οΈ Scratch Addons - 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










