Cocos Creator
Workflow of script development
Introduction
Cocos Creator's script is mainly developed by the extension component. Currently, Cocos Creator supports two script languages, Javascript and TypeScript. By writing the script component and putting it into the scene node, the object in the scene will be driven.
While writing the component script, you can map the variables needing adjustment onto the Properties panel by declaring the properties for the designer and graphic designer to adjust. Meanwhile, you can initialize, update and even destroy nodes by registering a certain call-back function.
Contents
- Node and Components
- Asset Management
- Event
- Tweening
- Actions
- Action List
- Use the Timer
- Script Execution Order
- Network interface
- Use Object Pool
- TypeScript
- Script Structure
- JavaScript Quick-start
- CCClass Reference