Cocos Creator API

0.7.1

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Playable

Module: cc

Properties

isPlaying Boolean readOnly

Is playing or paused in play mode?

isPaused Boolean readOnly

Is currently paused? This can be true even if in edit mode(isPlaying == false).

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index

Methods

onPlay ( ) private

onPause ( ) private

onResume ( ) private

onStop ( ) private

onError
(
  • errorCode
)
private

name type description
errorCode string

play ( )

Play this animation

stop ( )

Stop this animation

pause ( )

Pause this animation

resume ( )

Resume this animation

step ( )

Perform a single frame step.

There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index