Skip to content

yuanotes/typescript-for-cocos2djs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

####Note

  • I have NO idea how typescipt compiler works. Use this at your own risk.
  • tsc_cocos2d.js is a hacked compiler which compiles typescript to cocos2d-js(native runtime) friendly js code. Note: This is for typescript with version 1.0.1.0.
  • cocos2d.d.ts is a typescript type definition file for cocos2d-js, which is forked from https://github.com/Arlorean/cocos2d.

####Usage

  1. Install original typescript compiler with npm install -g typescript.
  2. Copy tsc_cocos2d.js to <NODE_MODULE>/typescript/bin/ to replase tsc.js or modify tsc bin file.

About

Hacked typescript compiler for cocos2d-js native runtime.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published