cocos2d / cocos2d-js-tests Goto Github PK
View Code? Open in Web Editor NEWcocos2d JavaScript test cases and games.
cocos2d JavaScript test cases and games.
In nodejs I can create a module using
module.exports = MyModule
and require this in main.js file.
MyModule = require('mymodule')
I use coffeescript to write js,coffeescript will wrap generated code in a function,I don't know how to use module write with coffeescript without nodejs like module management.
How to make it auto fullscreen?
hi.
When I clicked TileMap Test Menu in sample(engine test case),
error message appeared(Error message is "Uncaught TypeError: Cannot call method 'isLoaded' of null ") and do not work properly.
is it fixing? or How could I get sample code fixed?
Environment is...
Python server(SimpleHTTPServer)
chrome web browser
I have a few questions about your project.
when run the game demo, the below issue is occur.
[23:00:09.122] TypeError: cc.Class is undefined @ http://localhost:8000/extensions/PluginX/plugins/SocialQQWeibo.js:1
[23:00:09.123] TypeError: cc.Class is undefined @ http://localhost:8000/extensions/PluginX/plugins/SocialQzone.js:1
[23:00:09.123] TypeError: cc.Class is undefined @ http://localhost:8000/extensions/PluginX/plugins/SocialTwitter.js:1
[23:00:09.123] TypeError: cc.Class is undefined @ http://localhost:8000/extensions/PluginX/plugins/SocialFacebook.js:1
[23:00:09.125] TypeError: cc.Layer is undefined @ http://localhost:8000/HelloHTML5World/src/myApp.js:27
In Readme.md the cocos2d-x part, we have the following step:
$ git clone git://github.com/cocos2d/cocos2d-x.git
$ cd cocos2d-x
$ git checkout gles20
But the gles20 branch don't exists anymore.
The code "cc.registerTargettedDelegate(1,true,this);" should be "cc.registerTargetedDelegate(1,true,this);" at line 191, an unwanted letter "t".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.