Difference between revisions of "Screen.new"
From GiderosMobile
(removed language stuff) |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Opens a screen of the specified platform dependant type id. | Opens a screen of the specified platform dependant type id. | ||
− | < | + | <syntaxhighlight lang="lua"> |
Screen.new(id) | Screen.new(id) | ||
</source> | </source> |
Revision as of 14:30, 13 July 2023
Available since: Gideros 2017.8
Class: Screen
Description
Opens a screen of the specified platform dependant type id. <syntaxhighlight lang="lua"> Screen.new(id) </source>
For desktop exports, set id to 0.
Parameters
id: (number) the kind of screen to open, platform dependant