Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Godot Character Customization Tutorial #8: Save & Load Character

Автор: Richard Gameworks

Загружено: 2025-12-28

Просмотров: 167

Описание:

Godot Character Customization Tutorial #8: Save & Load Character

💾 JSON Serialization, Persistent Data, and FileAccess (Godot 4.5.1)

In Video 7, we brought our character to life with top-down movement controls. Now, in Video 8, we are completing the series by adding the final essential feature: Save & Load functionality!

We will build a system to serialize our character's customization data (Name, Hair Color, Skin Tone, Equipment) into a JSON file using Godot's FileAccess class. We will also implement the logic to parse that JSON back into a Dictionary to restore the character's exact look when the game restarts.

New to the series? Get caught up on the essential character setup, layered structure, and animation sync from Video 1 here:

   • Godot Character Customization Tutorial #1:...  

We are using Godot Engine 4.5.1 for this entire series!

⚙️ What You Will Learn in This Video:

FileAccess API: How to open, write to, and read from files in the user's system using FileAccess.open() and store_string().

JSON Serialization: Using JSON.stringify() to convert our character Dictionary into text, and JSON.parse_string() to convert it back.

Data Architecture: Implementing get_ and set_ functions in every UI panel (Name, Color, Selection) to cleanly extract and inject data.

Color Conversion: How to convert Godot Color objects to HTML Hex strings (and back) so they can be saved in a JSON file.

Signals & UI: Creating a reusable "SaveLoadPanel" and connecting its signals to the Main script to trigger the save logic.

Persistence: Calling the load function inside _ready() to automatically restore the player's character every time the game launches.

🎬 Video Timestamps:

0:00 Intro and Goal
0:12 Creating the Save/Load UI Container
1:36 Scripting the Panel Signals
2:11 Writing the Save & Load Functions (Main Script)
4:09 Adding Getters & Setters to UI Panels
5:31 Handling Color Serialization (HTML Strings)
5:46 Final Testing
6:16 JSON File Inspection
6:23 Auto-Load on Startup
6:33 Conclusion

💻 Source Code

https://github.com/richardgameworks/g...

The character sprites used in this tutorial are a modified version of the free Swordsman 1–3 Level Pixel Top-Down Sprite Character Pack from CraftPix.Net. The original assets have been adapted and restructured to work with the modular character customization system demonstrated in this tutorial.

🔗 Download the original assets: https://craftpix.net/freebies/free-sw...

#godot #godot4 #savegame #json #serialization #gdscript #fileaccess #gamedev #tutorial #charactercreator

Godot Character Customization Tutorial #8: Save & Load Character

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Godot Character Customization Tutorial #1: Setup your Character

Godot Character Customization Tutorial #1: Setup your Character

Базовый ПК 100-120К. Лучшая сборка за 100 000 рублей под апдейт!

Базовый ПК 100-120К. Лучшая сборка за 100 000 рублей под апдейт!

it only took 2 characters

it only took 2 characters

Нужен ли университет в эпоху ИИ. Стоит ли сейчас тратить 5 лет на университет?

Нужен ли университет в эпоху ИИ. Стоит ли сейчас тратить 5 лет на университет?

Godot Character Customization Tutorial #7: Player Movement

Godot Character Customization Tutorial #7: Player Movement

Voxy VS Distant Horizons | Get INSANE Render Distance in Minecraft

Voxy VS Distant Horizons | Get INSANE Render Distance in Minecraft

Ghost Projects

Ghost Projects

Превращение старого ноутбука в домашний сервер! (2026)

Превращение старого ноутбука в домашний сервер! (2026)

Secret $800M Epic Games x Google Partnership Revealed!

Secret $800M Epic Games x Google Partnership Revealed!

Mają panele, pompę ciepła i magazyn energii. Grzeją się przy kominku

Mają panele, pompę ciepła i magazyn energii. Grzeją się przy kominku

Godot Character Customization Tutorial #2: Change Hair Color

Godot Character Customization Tutorial #2: Change Hair Color

Godot Character Customization Tutorial #3:  Change Skin Tone

Godot Character Customization Tutorial #3: Change Skin Tone

A Random Developer Just Solved Adobe On Linux

A Random Developer Just Solved Adobe On Linux

"Naturalna oszczędność? To ty.” — pracownik jako koszt do wycięcia

To gotuję kiedy nie mam czasu - japoński RYŻ Z KURCZAKIEM -  oyakodon - 5 składników

To gotuję kiedy nie mam czasu - japoński RYŻ Z KURCZAKIEM - oyakodon - 5 składników

THREE THINGS I LEARNED on my First Hollywood Music Video Set

THREE THINGS I LEARNED on my First Hollywood Music Video Set

Why Luck Feels Great (Until it Doesn't)

Why Luck Feels Great (Until it Doesn't)

Godot Character Customization Tutorial #4: Change Equipment

Godot Character Customization Tutorial #4: Change Equipment

ZŁOMNIK: IZERA OD ŚRODKA. OSTATNIA SZANSA PROJEKTU

ZŁOMNIK: IZERA OD ŚRODKA. OSTATNIA SZANSA PROJEKTU

Hytale is updating again

Hytale is updating again

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com