SceneManager:changeScene

From GiderosMobile
Revision as of 03:42, 26 March 2020 by MoKaLux (talk | contribs) (Created page with "'''Available since:''' Gideros 2020.2<br/> '''Class:''' SceneManager<br/> === Description === Transitions between two scenes. <source lang="lua"> SceneManager:changeScene...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2020.2
Class: SceneManager

Description

Transitions between two scenes.

SceneManager:changeScene(scene, duration, transition, easing)

Values

scene (table) the scenes list
duration (number) transition duration
transition (constant) transition type
easing (constant) easing type

Example

scenemanager:changeScene("level1", 2, SceneManager.moveFromRight, easing.outBack)