How to Pass Data Between Scenes in Godot (Building a Level Switcher #3)

jmbiv
jmbiv
36.5 هزار بار بازدید - 3 سال پیش - In this tutorial you'll learn
In this tutorial you'll learn how to pass data between two scenes in Godot by building off our level switcher. We'll use dictionaries to store data from one scene and then pass that dictionary of data to another scene. This will round out our level switcher and leave us with a robust system for switching scenes and passing data between them in Godot.

💻   Find the code for this project here: https://github.com/josephmbustamante/...

👋  Join the community Discord: Discord: discord

☕️  If you find the content I make helpful, please consider supporting the channel: https://www.buymeacoffee.com/jmbiv

⏱  TIMESTAMPS
0:00 Intro
0:32 Adding our click buttons and variables
3:51 Discussion of different ways to pass data
5:31 Actually passing our click value between scenes
7:59 Making our data passing better
12:13 Further ideas for expansion of the scene switcher
15:17 Outro

🖥   MY GEAR*
LG UltraGear 27" QHD (Monitor): https://amzn.to/39eODOo
Samson G-Track Pro (Mic): https://amzn.to/3nyjbzQ
Samson 38" Mic Boom: https://amzn.to/35KtpXV
Samson SP04 Shockmount: https://amzn.to/3qbyobw
Pop Filter: https://amzn.to/3ozpXqn
Anker Q20 Headphones: https://amzn.to/3sfRfEc
MacBook Pro (2017, 15"): https://amzn.to/3hZgJkL
Magic Trackpad: https://amzn.to/39qomNk
CalDigit TS3 USB-C Dock: https://amzn.to/3q0frZw
WASD V2 87-Key Keyboard

* These are Amazon Affiliate links, so I may earn a commission if you use them to make a purchase. Thanks for supporting the channel!

🎵  MUSIC
"BETTER DAYS" by LAKEY INSPIRED
www.ChillOutMedia.com / www.LoFi-HipHop.com
License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0)
https://creativecommons.org/licenses/...
3 سال پیش در تاریخ 1400/02/16 منتشر شده است.
36,545 بـار بازدید شده
... بیشتر