This is the testing Godot forums! All forum posts unique to this forum will be deleted! Please use the main forums here for any posts you want to keep. All forum rules still apply.

How can get I a global variable?

PopeScoobyPopeScooby Posts: 7Member
edited May 2017 in Programming

On reading through the step by step in GodotDocs it talked about using autoload singleton to house global variables (for example..player items). The problem is the coding example only shows how to switch scenes it doesn't explain anything about global variables. If someone could help me understand how to this that would be awesome. Thanks!


Tags :

Best Answer

Answers

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.