Difference between revisions of "MainScreen"

From SkyCorp Global
(Created page with "== Public Methods == === static void addGameText(string gameText) === Output string to screen. Does not automatically add newlines. Unlike io.write, will only accept one st...")
 
(Public Methods)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
Output string to screen.  Does not automatically add newlines.
 
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.
+
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