Replacement for Scale9Sprite
@surajnalin wrote: Hello,I just started a new project with cocos2d-x 3.14. Had been using cocos2d-x 3.8 so far. The cc.Scale9Sprite class seems to be gone now. How are scale 9 sprites created in 3.14?...
View ArticleCocos creator, create sprite with node dynamically
@OcosDeveloper wrote: Hi there, I'm trying to add new sprite to node and I'm getting this error addChild: The child to add must be instance of cc.Node, not cc.Sprite. The code is simple: var s = new...
View ArticleHow to run cocos2d-js project in mobile web browsers?
@Rutudhvaj wrote: i have developed one game using Cocos2d-js v-3.13. it is working fine in desktop web browsers but it is not loading in mobile web browsers.Any one can suggest me the solution? Posts:...
View ArticleCompiling simulator ends up in error
@AxDSan wrote: This is what's going on when I try to build the Cocos Simulator either on Debug Mode or Release Mode... Any input on this? Should I go in and fix the stuff myself? Posts: 10...
View ArticleEmscripten support
@damort wrote: So I just learned that Emscripten was taken out of the Cocos2dx framework? It's a pity because I really enjoy using this framework, I definitely think that this should be a priority for...
View ArticleRenderTexture code problem?
@terry28 wrote: RenderTexture::onBegin changes glviewport,and then RenderTexture::onEnd restore glviewport. why? Posts: 2 Participants: 2 Read full topic
View ArticleI want to distort the screen with a texture
@terry28 wrote: I want to distort the screen with a texture.What should I do? Posts: 1 Participants: 1 Read full topic
View ArticleThis very simple shader fails to link on only some Mali GPUs
@schngrg wrote: All of my shaders fail to 'link' on some specific devices with these GPUs: Mali-T624, Mali-T720, Mali-T760 and Mali-T860. It is interesting that shaders work fine on some devices with...
View ArticleFull screen / windowed toggle?
@tonyw wrote: Hi, Is this still an issue for cocos? I am about to commence an pc/mac project that will need to toggle window and full screen modes - e.g. Steam, etc. I know this was an issue a few...
View ArticleHow should I build/maintain a cross platform Cocos project?
@franktills wrote: Hi Folks, I'm developing a Cocos game for Windows and Linux, but haven't been able to to find much information on the recommended workflow, build processes, etc. to enable this. So,...
View ArticleWhat is the difference between cocos2d-x, creator, cocos?
@AlexArunmani wrote: Hello guysIm new to game designing etc wordsI went to cocos2d-x website to start my gaming careerWhen I went to downloadI saw total 3 products plus sdk boxName- 1 . cocos2d-x2....
View ArticleHow are you dealing with runtime permissions on Android 6.x?
@energyy wrote: Hi, As there is changed behaviour of permissions for Android SDK 23 (android 6). It is not enough to declare them only in Android manifest file they should be requested in Appactivity...
View ArticleInstalling cocos2d-x on ubuntu
@navilehal wrote: I am new to both cocos2d-x and ubuntu. I followed the instructions to install cocos as given in the official site. when I run cmake ../.. I get this error CMake Error at...
View ArticleHow to run cocos creator in 2gb ram
@AlexArunmani wrote: I have laptop with win64 proIt has 2gb ram Is there any way to install cocos creator in itNoone said about this that is about the ramNor its website or in manual Posts: 1...
View ArticleA sprite doesnt follow its sprite parent if the parent is added to a batch node
@saraguatox wrote: Hello, i am using cocos2.2.3, (about to upgrade to 2.2.6). I have one sprite (head) with a child sprite (eye). If I add the "head" sprite to the main layer, everything works fine,...
View ArticleInstallation issues 3.14
@abaker992 wrote: Im having issues where when I installed 3.14 I opened VS and build the win 32 folder it said there were errors and the project was out of date did I install it wrong? Posts: 7...
View ArticleIs there an equivalent to CCMenu.h in the v3 UI?
@radman wrote: Hi, I'm putting together some stuff in the new cocos2d UI and I'm wondering if there is a new way of doing a Menu. There is a menu type in CCMenu.h but I couldn't see something similar...
View ArticleProjects don't run on Android 4.4.4
@gabdab wrote: Compiling a basic project for Android 9 or 13 api , x86 , doesn't run on a genymotion emulated Samsung Galaxy Note 3 , with Android API 4.4.4 .Any hint ? [adb logcat] F/libc ( 4366):...
View ArticleLibbox2d and my project out of date is that an issue?
@abaker992 wrote: S i re downloaded cocos2d-x 3.14 its all working and projects work fine, but when i build the program, I only get 4 up-to-date, and when I run it says libbox2d - debug win 32 and...
View ArticleAudio engine alternatives(free) for receiving audio position (current time)?
@Dinamix wrote: Hello everyone, I am trying to code a game where I need to know audio position as accurate as possible or atleast to be consistent. At the moment I am using cocos2dx 13.1v (C++), the...
View Article