Developer   API   Game Development   Scene Transition   SlideToTop

SlideToTop : SceneTransition

Scene transition SlideToTop, move scene into top.

Properties

  • defaults : Object
    Sets default controls options.
  • duration : Float
    Animation duration.
  • options : Object
    Position of navigation bar.
  • sceneFrom : Scene
    Start scene.
  • sceneTo : Scene
    Final scene.
  • this
    Construct of the object calls following method in order.
  • transition : Transition
    Animator transition.

Methods

  • afterInitControls
    Method is executed after init controls.
  • beforeInitControls
    Method is executed before init controls.
  • init() : SlideToTop
    Init instance.
  • undefined(k,v)
    Special property executed when priperty is undefined. It can be that JSON format is in format "key" : "value". Key is an string, so if this is the case methot return "value". Ass well as k is a regular property of the class it returns getter of this property.

Events

  • onComplete() : Function
    Event to be fired after transition is completed.
API Navigation