@qwpeoriu wrote:
I searched around for a good set of cocos2d-js TS definitions, but everything I could find looked abandoned. I've created my own repo here for anybody to use:
https://github.com/jamma/cocos2d-typescript-definitions.git
If there is already an active repo, please let me know. There's no need to re-invent the wheel. Otherwise, I will continue to maintain this, and hopefully others will use it and help me improve what's there (this is my first TS project, so there's bound to be some weird stuff going on).
I will be shipping a small game written in TS, using cocos2d-js in the next few months, and what is defined here so far was done on an as-needed basis. Still, most of the base nodes, sprites, layers, labels, actions are all there.
Also, this is based off cocos2d 3.9. Anything marked as deprecated has been purposely left out!!
Posts: 1
Participants: 1