"Save My Game!" 💾 Data Serialization & Escaping in Scratch

Channel:
Subscribers:
426,000
Published on ● Video Link: https://www.youtube.com/watch?v=g-9RcbQIQWE



Game:
Scratches (2006)
Category:
Tutorial
Duration: 16:29
211,256 views
4,935


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


2023-08-08Top 10 Scratch Game Tutorials by Griffpatch
2023-07-22Creating Epic Sword Animations with Scratch Cat | Devlog
2023-07-08Scratch Multiplayer Platformer + Cloud Tutorial #4
2023-06-24Awesome Cloud Clones!!! - Multiplayer Scratch Tutorial #3
2023-06-10Code a Multiplayer Scratch Game | JOINING | Episode 2
2023-05-27Create an Epic Multiplayer Game in Scratch 🐱 Step-by-Step Tutorial!
2023-04-29I Shattered Scratch's Cloud Player Limit 💥 Here's how I did it!
2023-04-01Cloud Platformer Multiplayer Fun! 🔥 All Achievements revealed
2023-03-18Unlock the Power of Modular Scene Saving 💾 Scratch RPG Tutorial #10
2023-03-04I made realistic creepy legs with IK | Scratch Devlog #1
2023-02-25"Save My Game!" 💾 Data Serialization & Escaping in Scratch
2023-02-10"Mouse Pointer Lock" in Scratch? ⚡️ TurboWarp Experiments! (Raycasting E9)
2023-01-28Unlock 3D Mouse Controls in Scratch! 🤩🐭 - Raycasting E8 Tutorial
2023-01-13Griffpatch vs Scratch JR: Flappy Bird Challenge!
2022-12-24Bouncing Particle Effects (part 2) 💥 Scratch Tutorial
2022-12-19Explosions, Particle Effects & Fireworks 💥 Scratch Tutorial
2022-12-15Just Too Satisfying ⏪ REVERSE SNOW in Scratch! #shorts
2022-12-10Impossible "Multi-Touch" Joysticks!!! 👉📱👈 Mobile Friendly Scratch Coding Tutorial
2022-11-25How to Animate Game Worlds in Scratch ⚡️ FAST! - RPG #9
2022-11-12🧀 CHEESE - Updating Paper Minecraft - Scratch Tutorial
2022-11-05Player Collisions + Wacky hitboxes! 🐱 Scratch RPG #8



Tags:
scratch coding
scratch programming
scratch game
scratch 3
griffpatch
scratch save codes
save code in scratch
save game scratch
data serialization
scratch
scratch tutorial
scratch games
coding for kids
scratch tutorials
coding for beginners
scratch rpg
scratch save level
scratch game codes
encoding and decoding
escape characters
backslash
scratch backpack essentials



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.