Cocos Creator API

1.3.0

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

Playable

: cc

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

onPlay ( ) private

onPause ( ) private

onResume ( ) private

onStop ( ) private

onError
(
  • errorCode
)
private

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