"Save My Game!" ๐พ Data Serialization & Escaping in Scratch
Skills:
Visual / Block Coding90%
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
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
1
Watch on YouTube โ
(saves to browser)
Sign in to unlock AI tutor explanation ยท โก30
Playlist
Uploads from griffpatch ยท griffpatch ยท 0 of 60
โ Previous
Next โ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Burrow Blitz - A game by Griffpatch
griffpatch
Burrow Blitz Level 1 Speed Run!
griffpatch
Scratch Messaging Extension (for chrome & firefox)
griffpatch
Scrolling Platformer Tutorial | Part 1 | Get Scrolling
griffpatch
Scrolling Platformer Tutorial | Part 2 | Gravity
griffpatch
Scrolling Platformer Tutorial | Part 3 | Platform Detection
griffpatch
Scrolling Platformer Tutorial | Part 4 | Off Screen Sprites and Player Death
griffpatch
Scrolling Platformer Tutorial | Part 5 | Collectables
griffpatch
Scrolling Platformer Tutorial | Part 6 | Danger Sprites (Bug fix)
griffpatch
Scrolling Platformer Tutorial | Part 7 | Exit Portal
griffpatch
Scratch 3 | Box2d | Physics Extension
griffpatch
Scrolling Platformer Tutorial | Part 8 | Vertical Scrolling
griffpatch
Zombie Cube | Speedrun challenge
griffpatch
Scratch 3 | Physics Extension | Version 2
griffpatch
Top Down Scroller | E1 - Scrolling | Scratch Tutorial
griffpatch
Top Down Scroller | Part 2 | Enemy AI
griffpatch
Top Down Scroller | Part 3 | Enemy Clones & List
griffpatch
Top Down Scroller | Part 4 | Live Die Repeat (Game Over)
griffpatch
Top Down Scroller | Part 5 | You've Won!
griffpatch
Cloud Game Tutorial | Part 1 | The Basics
griffpatch
Cloud Game Tutorial | Part 2 | Encoding and Decoding
griffpatch
Scratch 3 Dev Tools Browser Extension by griffpatch
griffpatch
Cloud Game Tutorial | Part 3 | Multiplayer
griffpatch
Scrolling Platformer Tutorial | Part 9 | Momentum
griffpatch
Scrolling Platformer Tutorial | Part 10 | Wall Jumping
griffpatch
Cloud Game Tutorial | Part 4 | Auto Game Joining
griffpatch
Game Preview - "Getting Over It" with Griffpatch - A fan recreation in Scratch
griffpatch
Speed Run with Outtakes | Getting Over It | 4 minutes 30 seconds
griffpatch
Griffpatch's Live Stream
griffpatch
MMO Platformer Speedrun Challenge
griffpatch
Appel Platformer | Scratch Game Blog
griffpatch
Cloud Game Tutorial | Part 5 | Smooth Movement
griffpatch
How to Design a Level for Appel
griffpatch
Fastest Appel Speedruns | Jan 2021
griffpatch
Tile Scrolling Platformer (Mario) | 1. Setup
griffpatch
Tile Scrolling Platformer | 2. Grid List
griffpatch
Tile Scrolling Platformer | 3. Tile Collisions
griffpatch
Tile Scrolling Platformer | 4. Platforming Scripts
griffpatch
Tile Scrolling Platformer | 5. The Level Editor
griffpatch
Tile Scrolling Platformer | 6. Level Codes
griffpatch
Tile Scrolling Platformer | 7. Drop Through Platforms
griffpatch
How to make Physics in Scratch | Full Tutorial
griffpatch
Tile Scrolling Platformer | 8. Enemy Clones
griffpatch
Simple Pathfinding Tutorial
griffpatch
Tile Scrolling Platformer | 9. Enemies in Level Editor
griffpatch
Simple Maze Generation | Scratch Tutorial
griffpatch
Tile Scrolling Platformer | 10. Mystery Blocks
griffpatch
Simple Car Steering Simulation | Scratch Tutorial
griffpatch
Simple Background Scrolling Tutorial
griffpatch
Tile Scrolling Platformer | 11. Death, Background & Sound
griffpatch
Mid Week Update & Channel Membership
griffpatch
Simple Grid List Tutorial with Image Scanning
griffpatch
Tile Scrolling Platformer | 12. Auto Arranging Tiles
griffpatch
Code a Fun Space Shooter Game ๐ | 1. Move & Shoot | Scratch Tutorial
griffpatch
Space Shooter 2 - Enemy Collisions
griffpatch
Tile Scrolling Platformer | 13. Level Progression & Editor Improvements
griffpatch
Space Shooter 3 - Camera Shake & FX
griffpatch
Tile Scrolling Platformer | 14. Sloping Tiles
griffpatch
Pathfinding a Maze using Lists
griffpatch
Tile Scrolling Platformer | 15. Crouch & Slide
griffpatch
More on: Visual / Block Coding
View skill โRelated AI Lessons
โก
โก
โก
โก
# I Built an App for My Daughter. I Wrote Zero Code.
Medium ยท AI
10 AI tools I actually use as a founder
Medium ยท Startup
Pterocos: a good dev environment for HTML, CSS, and JS with AI Chat
Dev.to ยท Amine
How to Turn n8n Automations Into Real Income (Without Spending a Dollar)
Medium ยท AI
Chapters (6)
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
๐
Tutor Explanation
DeepCamp AI