MainScreen: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
No edit summary
 
Line 5: Line 5:


Unlike io.write, will only accept one string parameter, making it useful to get around the [[LUA Implementation Limitations & Notes|LUFA garbage array bug]].
Unlike io.write, will only accept one string parameter, making it useful to get around the [[LUA Implementation Limitations & Notes|LUFA garbage array bug]].
=== static void continueSceneToMapScene() ===
Removes screen buttons (but not shown text).  Will display one 'continue' button, which when pressed, will redirect flow back to the map (/ player navigation).  This is a shortcut into the game's scene flow control that handles most cases, but for instance, if you wanted to continue then go to somewhere else, you should bug Skye to expose the full scene control system.
Added in r35


[[Category:LUA Class Reference]]
[[Category:LUA Class Reference]]

Latest revision as of 23:00, 27 December 2018

Public Methods

static void addGameText(string gameText)

Output string to screen. Does not automatically add newlines.

Unlike io.write, will only accept one string parameter, making it useful to get around the LUFA garbage array bug.

static void continueSceneToMapScene()

Removes screen buttons (but not shown text).  Will display one 'continue' button, which when pressed, will redirect flow back to the map (/ player navigation).  This is a shortcut into the game's scene flow control that handles most cases, but for instance, if you wanted to continue then go to somewhere else, you should bug Skye to expose the full scene control system.

Added in r35