Difference between revisions of "Screen.new"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
Screen.new(id)
 
Screen.new(id)
</source>
+
</syntaxhighlight>
  
 
For desktop exports, set id to 0.
 
For desktop exports, set id to 0.

Latest revision as of 14:32, 13 July 2023

Available since: Gideros 2017.8
Class: Screen

Description

Opens a screen of the specified platform dependant type id.

Screen.new(id)

For desktop exports, set id to 0.

Parameters

id: (number) the kind of screen to open, platform dependant