1
vote
Stop mouse joint from dragging current rigidBody without mouse-up?
I've tried to trigger a fake event "touch-end" on the node without luck. But a minute later I found the answer (It was pretty simple)
...
1
vote
Cocos Creator - orientation change event in native build for iPhone and Android
Hi I have develop a game for iOS, android and for browser and I have used this code to get sizes of my device.
...
1
vote
Help understanding the parkour tutorial in Cocos2d
This is to keep the player centered on the screen (while maintaining the illusion of motion).
The player is moving (right) relative to this.gamelayer. If ...
1
vote
Color Based Collision Javascript (Cocos2d-js)
I am not experienced in Cocos2D or JavaScript, but using color-patterns is very common on Java game development, and I am sure JavaScript will be almost the same.
Here you have an example that does ...
1
vote
Saving data in the local computer with cocos2d-js
Most web browsers implements kind of JS Sandbox that blocks any interaction with the real machine, JS just has power over the webkit/gecko/... layer that works like a "virtual machine", that's all, ...
1
vote
Saving data in the local computer with cocos2d-js
With JavaScript you don't have a way to persist things transparently other than local storage. I don't know anything about cocos2d but this is really a question about JS. If you really need something ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cocos2d-x-js × 22javascript × 8
cocos2d × 7
cocos2d-x × 5
collision-detection × 2
android × 2
html-canvas × 2
cocos2d-iphone × 2
opengl × 1
textures × 1
sprites × 1
ios × 1
gui × 1
input × 1
opengl-es × 1
isometric × 1
mobile × 1
windows × 1
web × 1
facebook × 1
windows-8 × 1
ccsprite × 1
callbacks × 1