How do i take a value from another scene? (Godot 3)

How do i take a value from another scene? (Godot 3)

Postby dupertux34 » 19 May 2022, 22:13

Hi there, i got a idea for a new game, its going to be on godot but i have a question :
How do i take the value of a variable in another scene to the current scene?
This is for calculating money for example so the player could purchase items and boosts, etc...
User avatar
dupertux34
 
Posts: 27
Joined: 13 Feb 2022, 09:11

Re: How do i take a value from another scene? (Godot 3)

Postby dupertux34 » 22 May 2022, 15:30

It's empty here...
User avatar
dupertux34
 
Posts: 27
Joined: 13 Feb 2022, 09:11

Re: How do i take a value from another scene? (Godot 3)

Postby PeterX » 22 May 2022, 17:02

A better place to ask would be:
https://godotengine.org/community
Especially the Discord (chat) there.
User avatar
PeterX
 
Posts: 270
Joined: 01 Oct 2020, 21:44

Re: How do i take a value from another scene? (Godot 3)

Postby dupertux34 » 23 May 2022, 22:00

PeterX {l Wrote}:A better place to ask would be:
https://godotengine.org/community
Especially the Discord (chat) there.

registration is suspended, huh weird (q&a forum)
User avatar
dupertux34
 
Posts: 27
Joined: 13 Feb 2022, 09:11

Re: How do i take a value from another scene? (Godot 3)

Postby dulsi » 23 May 2022, 23:07

I did a search for "godot change scene with parameters" and found several results. I'm not familiar enough with Godot to evaluate the quality of the answers. My first godot project had only one scene really and the second had both loaded with one hidden. Maybe not the best way to implement it.

Here is one of the results: https://www.youtube.com/watch?v=N4iV1L6xb04
dulsi
 
Posts: 570
Joined: 18 Feb 2016, 15:24

Who is online

Users browsing this forum: No registered users and 1 guest