Class cocos.scenes.transitions.MoveInBTransition

             object --+                
                      |                
    cocosnode.CocosNode --+            
                          |            
             object --+   |            
                      |   |            
scene.EventHandlerMixin --+            
                          |            
                scene.Scene --+        
                              |        
                TransitionScene --+    
                                  |    
                  MoveInLTransition --+
                                      |
                                     MoveInBTransition
Move in from to the bottom the incoming scene.

Methods

  init(self)
  get_action(self)
  __init__(self, *args, **kwargs)
Initializes the transition
(Inherited from cocos.scenes.transitions.MoveInLTransition)
  finish(self)
Called when the time is over.
(Inherited from cocos.scenes.transitions.TransitionScene)
  hide_all(self)
Hides both the incoming and outgoing scenes
(Inherited from cocos.scenes.transitions.TransitionScene)
  hide_out_show_in(self)
Hides the outgoing scene and shows the incoming scene
(Inherited from cocos.scenes.transitions.TransitionScene)
  restore_out(self)
Restore the position, visible and scale attributes of the outgoing scene to the original values
(Inherited from cocos.scenes.transitions.TransitionScene)
  start(self)
Adds the incoming scene with z=1 and the outgoing scene with z=0
(Inherited from cocos.scenes.transitions.TransitionScene)
Inherited from scene.Scene: enable_handlers, end, on_enter, push_all_handlers, remove_all_handlers Inherited from cocosnode.CocosNode: __contains__, add, are_actions_running, do, draw, get, get_ancestor, get_children, on_exit, pause, pause_scheduler, remove, remove_action, resume, resume_scheduler, schedule, schedule_interval, stop, transform, unschedule, visit, walk Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Instance Variables

  duration
duration in seconds of the transition
(Inherited from cocos.scenes.transitions.TransitionScene)
  in_scene
scene that will replace the old one
(Inherited from cocos.scenes.transitions.TransitionScene)
  out_scene
scene that will be replaced
(Inherited from cocos.scenes.transitions.TransitionScene)
Inherited from cocosnode.CocosNode: actions, camera, children, children_anchor_x, children_anchor_y, children_names, grid, is_running, rotation, scale, scheduled_calls, scheduled_interval_calls, skip_frame, to_remove, transform_anchor_x, transform_anchor_y, visible, x, y

Class Variables

Inherited from cocosnode.CocosNode: anchor, anchor_x, anchor_y, children_anchor, parent, position, transform_anchor

Method Details

init

init(self)
Overrides:
MoveInLTransition.init

get_action

get_action(self)
Overrides:
MoveInLTransition.get_action