Quantcast
Channel: Cocos Forums - Latest topics
Browsing all 17070 articles
Browse latest View live

Cocos2d-JS v3 Doc Formatting issue

@Bushstar wrote: On this page: http://cocos2d-x.org/docs/tutorials/javascript/parkour-game-with-javascript-v3.0/chapter6/en/index.html The following text is formatted incorrectly: "modules" :...

View Article


Cocos new -t binary yields "Template 'binary' is not found"

@blueled wrote: I have Cocos2d-x 3.13.1 and successfully pre-built the library for every platform. When I do this: cocos new game -p com.company.game -l cpp -t binary I get: Template named 'binary' is...

View Article


Use cocos2dx for making app is a good idea or not?

@tomsawyer wrote: I know cocos2dx is a game engine using C++, i saw some guys use it for making multiple platforms apps also. Is this a good idea? I'm thinking about it seriously now, because instead...

View Article

Spine batching in Cocos2d-JS

@farulz wrote: Hi everyone. I am wondering is Spine batching can be achieved in Cocos2d-JS, as with this post here: http://esotericsoftware.com/blog/C-C++-and-Objective-C-runtime-updates Right now,...

View Article

No image showing for PhyicsSprite

@Bushstar wrote: Using this guide I added a PhysicsSprite, the problem is that the image for it does not show in the following snippet of code. Using debug I can see that the PhysicsSprite is defined...

View Article


How to reuse framework on XCode instead of recreate sample project?

@tomsawyer wrote: I use command line everytime to create new project.And after that, it creates 420mb folder with my project name in it.Xcode have to take 5 minutes to recompile the whole source code....

View Article

Image may be NSFW.
Clik here to view.

I cannot use CREATE_FUNC in this class with Multiple Inheritance to RayCasting

@rhythmcoder wrote: class TileMap : public cocos2d::Layer, public b2QueryCallback { private: public: CREATE_FUNC(TileMap); }; This is simplified class to apply TileMap.And I want to insert Raycasting...

View Article

How to Fix sprite jittering without using physics?

@Dinamix wrote: Hello everyone, I ran into a problem with sprite being inconsistent movement when the framerate is changing (even the slightest difference gives it). At the moment I am using the...

View Article


SdkboxPlay cache login form for later display

@cei wrote: In iOS, AuthenticateLocalPlayer returns an UIViewController which contains the Game Center login form, and it can be cached for later display. This feature would be very handy to have on...

View Article


How do i get correct dimention for all screen sizes?

@tomsawyer wrote: I'm beginning with Cocos and i wonder how do i get correct screen sizes for almost of popular phones (iPhone + Android). Anyone can give me a script on applicationDidFinishLaunching...

View Article

Pause with additional key presses

@Bushstar wrote: I have the following to handle multiple keyboard presses. When holding down a key to make a sprite go left it continues to go left, when you then press the down key to go up the...

View Article

Turquoise2D Editor & Engine

@pococogames wrote: Hi all. I'm working on Turquoise2D editor(visual editor for Cocos2d-x). And I'm also working on my own engine Turquoise2D Engine. The visual editor will work with Cocos2d-x, Löve2D...

View Article

Release memory of large dynamically loaded prefab

@kevinmun wrote: hi guys, In order to optimize a mobile game, I decided to dynamically load my prefab assets, especially since there's limited memory on some phones. I loaded the prefab with...

View Article


Responsive web design

@trungdn wrote: Hello, I would like to ask : how about to make Responsive Web by CocosCreator ? If you can, please share with me some codes, documents, or tutorials. Thanks so much ! Posts: 2...

View Article

Is there any tutorial for running test project in Android studio on Windows PC?

@aqeeliqbal wrote: is there any tutorial regarding using android-studio for cocos2d-x c++ in windows system?if anyone has successfully run a cocos2d-x project on android studio, please write a...

View Article


Cocos Creator and goog closure

@nisafrost wrote: Hi, My project based on google closure (including deriving classes ecosystem and compiler) and I want to start develop on Cocos Creator as a game engine. But it looks as for now...

View Article

QTcreator IDE Recompile everything

@lpocay wrote: Ok this is my problem, im on Ubuntu 16.04 (64 bits) and i making a cocos2d-x project (3.13.1), in using QT creator as my IDE and everything is working fine, but everytime i create a...

View Article


Image may be NSFW.
Clik here to view.

CC.RenderTexture.end() uses deprecated : arrayRemoveObject

@lmigneault wrote: Hi, I've setup some After-Effect shaders for my project. I'm taking a screenshot at every frame, then sending it to the shader as a texture, and the shader is the top-most node, so...

View Article

AssetsManager and different kinds of failures

@deil wrote: Hi all! I'm trying to implement careful handling of assets downloading process. And looking through AssetsManagerEx code I don't see any way to handle a situation when we have downloaded...

View Article

How to access horizontal and vertical offset from tiled file?

@danielsega wrote: <layer name="Floor" width="14" height="14" offsetx="3" offsety="29"> As you can see from this line from my tiled file I have a horizontal and vertical offset of 3 and 29, I...

View Article
Browsing all 17070 articles
Browse latest View live