Open vontio opened 11 years ago
No, CoffeeScript doesn't work with cocos2d-html5.
@vontio You can certainly use coffeescript
, livescript
or anything you like.
This is only one of many ways but check out Browserify and its Coffeeify plugin.
i use typescript
@dingpinglv Currently there won't be any compatibility issue using CoffeeScript with cocos2d-html5, if these kept in mind:
--bare
flag of coffee
compiler, or export user-defined class/variables to global object(window
)return
-value-sensitive functions, explicitly write returns
does coffeescript work with cocos2d html5?