Difference between revisions of "SceneManager:changeScene"

(Created page with "'''Available since:''' Gideros 2020.2<br/> '''Class:''' SceneManager<br/> === Description === Transitions between two scenes. <source lang="lua"> SceneManager:changeScene...")
 
(No difference)

Latest revision as of 04:42, 26 March 2020

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)