Jump to content

Restless Souls/Wishlist: Difference between revisions

m
Line 258: Line 258:
When we store information in an game instance it won't disappear after loading the next level.
When we store information in an game instance it won't disappear after loading the next level.


Let's say there would be a menu button or hotkey in a pause menu widget to disable hint texts.
Let's say there is a menu button or hotkey in a pause menu widget to disable hint texts.


Variables of widgets are destroyed as soon as you close a widget.
Using variables in a widget is a dead end. They are destroyed as soon as we close the widget.


We could save our choice of showing the hint text in the level blueprint but as soon as we proceed to the next level the hint text would be shown again.
We could save our choice of showing the hint text in the level blueprint but as soon as we proceed to the next level the hint text would be shown again.
Line 267: Line 267:


To make the information really persistent (between game starts or when loading a save game) all we would need to do is saving the information from the game instance to a save game.
To make the information really persistent (between game starts or when loading a save game) all we would need to do is saving the information from the game instance to a save game.


====Main func====
====Main func====
8,131

edits