Scene class and subclasses
Bases: cocos.cocosnode.CocosNode, cocos.scene.EventHandlerMixin
This function makes the scene elegible for receiving events
Ends the current scene setting director.return_value with value
Parameters: |
|
---|
This prepares a streamed music file to be played in this scene.
Music will be stopped after calling this (even if it was playing before).
Parameters: |
|
---|
Enable music playback for this scene. Nothing happens if music was already playing
Note that if you call this method on an inactive scene, the music will start playing back only if/when the scene gets activated.
Stops music playback for this scene.