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

Setting texture of spriteFrame applies to all instances

@Norbt wrote: Dear fellow cocos2d-ers, I'm working on a card game so I decided to take the advantages of Cocos Creator.Unfortunately I ran into some strange behaviour when I tried to set the new...

View Article


Image may be NSFW.
Clik here to view.

Cocos creator opening very slow

@ydkishore30 wrote: Hi guys, When ever I am trying to run cocos studio.Its taking more time for opening.Below is the base code.//cc.Class({ extends: cc.Component, properties: { label: { default: null,...

View Article


Tiledmap mapsize and tilesize are empty/don't exist

@lyinch wrote: Hey, when I create a tilemap in my project the tilesize and mapsize variables are empty. I first got an EXC_BAD_ACCESS while using _tileMap->getMapSize().width and I then set a few...

View Article

Youtube Plugin (close button)

@Daniel1 wrote: I would use the SDKBOX youtube plugin, but it is very limited, I would like to customize the X to close the video (the current X button is not cool) I would like to add my own routine...

View Article

Image may be NSFW.
Clik here to view.

What is the alternative of SpriteBatchNode in Cocos Creator?

@eydamson wrote: Hi i have this scene that uses a sprite sheet and tile it as a map..before in cocos2d-js i am using SpriteBatchNode to optimize my map and it works 101%..but in cocos creator there is...

View Article


HttpRequest with PUT method

@yonggeon wrote: I am using HttpRequest for REST API of Parse on iOSSo I need to use PUT method But when I used PUT method the Content-Type is changed forcibly to "application/x-www-form-urlencoded"...

View Article

Game Lead Programmer Position

@TFJoy wrote: Lead Game Programmer Type: Job Organization: TFJoy Limited Location: Rotterdam, the Netherlands Duration: Indefinite Contact: jimbouman@tfjoy.comDescriptionScope of the jobAs part...

View Article

What will be the substitute for "runOnUiThread" in cocos2dx C++

@sanjaya wrote: runOnUiThread(new Runnable() { @Override public void run() { progressDialog = ProgressDialog.show(GameActivity.this, "", Constants.ALERT_CONN_ERR_RECOVABLE); } }); How we achieve the...

View Article


Massive Performance Issues on Windows 10 Mobile Devices

@Matthias wrote: Hy guys, I've just downloaded the latest cocos2d-x version (3.10) and tried the win10 HelloWorld-Project on our new Lumia 950xl. The HelloWorld-Project runs with 60fps (3 draw-calls),...

View Article


Cocos2d-x 3.10 on Windows 10 setup for Android NDK-11c issue

@energyy wrote: I'm now trying to setup android project on windows machine and stuck with compile.It seems latest NDK 11c is not somehow compatible with cocos, on Mac we created Readme.txt with NDK...

View Article

Image may be NSFW.
Clik here to view.

Replace preload/splash scene

@alchimya wrote: Is it possible to replace the default preload/splash scene? Posts: 1 Participants: 1 Read full topic

View Article

Cocos2dx JS: RenderTexture clearRect not happening

@saiy2k wrote: After drawing few sprites onto my render Texture, I am trying to erase a portion of the texture as in the following code.But the clearRect is not having any effect. I tried putting the...

View Article

Label overflow not clamping text

@rob_type25 wrote: Hi there Using Cocos2dx-3.10 Hopefully a trivial one but can't work it out... How do i constrain a labels text to it's contentSize? Example: auto usernameLabel =...

View Article


Building on Ubuntu 16.04 issues

@eht wrote: The first issue (SOLVED): /opt/cocos2d-x/cocos/2d/CCActionCamera.cpp:197:22: error: ‘isnan’ was not declared in this scope if( isnan(_angleX) ) ^...

View Article

How to create your own atlas?

@eydamson wrote: Hi i want to dynamically create a SpriteAtlas because my .plists are on a server and i am downloading them during run time? how do i do this? in the editor you just drag the plist in...

View Article


UIWebView sometimes doesn't show on Android

@ika_tarou wrote: Hello. I'm using UIWebView on my game. Mostly it works fine. White square shows then contents appear. But sometimes (very rare) even white square doesn't show as if webview hasn't...

View Article

Standard blend mode produces a white border

@coindrop wrote: I have tried different blend functions in Cocos creator but none of them gave me the correct result. In Cocos studio and Unity the standard shader looks correct from the start but in...

View Article


Need help for physics in cocos2dx

@liyao0602yy wrote: Is the physicsbody's center of gravity the anchor point of the sprite to which the body is attached?Can the center of gravity be independent from the sprite's anchor point?As I...

View Article

SDKBOXPLAY Android error v2.2.0.15

@energyy wrote: Hello,@nite SDKBOXPLAY plugin seems not yet fixed, we againt trying to integrate it, imported/initialized for now app not crashing. Set in json connect_on_start: true and app crashed:...

View Article

Including fmod in cocos2d-x 3.8 for iOS and Android

@Rambazamba wrote: Hi there, i want to try fmod now for iOS and Android. ATM I use version 3.8. My plan would be to copy the programmers apis for android and ios into the external folder and write...

View Article
Browsing all 17070 articles
Browse latest View live