8,018
edits
Paradox-01 (talk | contribs) m (typos) |
Paradox-01 (talk | contribs) m (→Text pages) |
||
Line 632: | Line 632: | ||
When you insert text you have to compile (F7) before you see the result. | When you insert text you have to compile (F7) before you see the result. | ||
Text pages can be grouped in the Designer with a Widget Switcher. However, each text should have an Overlay as parent so they aren't all shown simultaneously. | |||
-- WidgetSwitcher (master section, e.g. for "Main content") | |||
+-- WidgetSwitcher (section, e.g. for powerup items) | |||
+-- Overlay | |||
+-- Text | |||
+-- Image | |||
-- WidgetSwitcher (master section) | |||
+-- WidgetSwitcher (section, e.g. for powerup item hints) | |||
+-- Overlay | |||
+-- Text | |||
Direct children of '''W'''idget'''S'''witcher are retrieved by using the WS reference connected to a Get Num Widget node. | |||
It's possibly a good idea to count all sections during the construction event and save the results in an array via Make Array node. | |||
Variables that track active pages are destroyed as the widget is closed. If we want to resume reading after reopening a menu the variable values should have been copied to somewhere else. If we put them into character variable then we can easily restore those values even after a level loading. | |||
====Animations==== | ====Animations==== |
edits