Quantcast
Channel: cocos2d-x - Cocos Forums
Browsing all 2748 articles
Browse latest View live

Static assert while addChild to camera..

@digimikeh wrote: Hi… when i attach a label object to the camera, static assert appear… clipPos.w != 0.0 this->getDefaultCamera()->addChild(myLabelObj); this does not happens when i attach a...

View Article


Crash issue android

@shaktiraj wrote: cocos2dx version - 3.17.2 NDK Resolution Outcome: Project settings: Gradle model version=5.1.1, NDK version=19.2.5345600 Hello @Big_Bear @drelaptop @zhangxm @slackmoehrle i got...

View Article


OpenGL error in Xcode 11 and ios 13

@chiragkevadiya wrote: I am getting this error to run game xcode version 11 and my iphone version is 13. this continuously displays this error in the log but not run game OpenGL error 0x0506 in...

View Article

Image may be NSFW.
Clik here to view.

EventDispatcher has no function

@lional2410 wrote: When I use the EventDispatcher in a few new cpp files, it says that class EventDispatcher doesn’t have function addEventListenerWithSceneGraphPriority. I tried to use other...

View Article

Image may be NSFW.
Clik here to view.

How to use V2F_C4F_T2F in a Sprite?

@MatX wrote: How can I use V2F_C4F_T2F in a Sprite so that I can specify the position, the color and the texture coordinates within a texture bound to a Sprite at the same time? Sort of like here:...

View Article


Image may be NSFW.
Clik here to view.

Cross Platform Cocos2d-x Lite Version Framework?

@MohammedHatim wrote: Hi, I am using cocos2d-x-v3.17.1 framework to create 2d cross platform games in JS, Just wanted to now is their any Lite version available that supports cross platform games,...

View Article

About graphics and sprites in general

@digimikeh wrote: Hi!.. Yesterday I was studying Donkey Kong Country from SNES where Super Stamper Brothers did a great job taking real life object pictures and then passed them into their framework,...

View Article

Avoid notch on iPhone

@Adamos2 wrote: I made a C++ game using Cocos 3.17.2. On Android, I just have to change one string in default template: lp.layoutInDisplayCutoutMode = LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER;...

View Article


Player object inside the scene

@digimikeh wrote: Hi!.. I don´t really like to guess to use a blind development way to follow… so i ask you more experienced programmers… Do you use Composing or Inheritance in your development?.. I...

View Article


Using libuv as UDP server in iOS app

@chumbyfuzz wrote: Has anyone had any success using libuv or other library to host a UDP server within an iOS app ? Posts: 1 Participants: 1 Read full topic

View Article

Get Sprite3D Size (width, length, height)

@miftahsyah wrote: Hi! I want to ask, is it possible to get the size of Sprite3D like length, width and height on cocos2d-x? Just like when we want to get content size from 2D Sprites, we only need to...

View Article

Gradle 3.5.0 fails to build cocos2dx

@Guykun wrote: Re-opening Android Studio: Native build fails after and upgrade because no solution was found and the topic was closed with a ‘temporary solution’ of downgrading. Upgrading to gradle...

View Article

Image may be NSFW.
Clik here to view.

SDKBOX Facebook setup link broken

@vkreal2 wrote: Hi, can someone from sdkbox please fix the broken help link? http://blog.cocos2d-x.org/2016/07/setting-up-facebook-app-for-sdkbox-services/ image.png2169×1034 222 KB Posts: 2...

View Article


using template to load scenes...

@digimikeh wrote: Hi!. Actually i’m trying to implement inheritance for my scenes, this is a template function member i have in my abstract superclass: protected: template <class T> inline void...

View Article

Forward declaration in Cocos?

@digimikeh wrote: Hi !, i have created a simple struct that manages some functions for all scenes, some parameters are owned by cocos, so i need to forward declare those types. #ifndef __HELPER_H__...

View Article


Image may be NSFW.
Clik here to view.

Default camera resets its position after TransitionFade to other scene

@digimikeh wrote: Hi mates… On init, I set default camera position to ZERO so my viewport is correctly aligned with my sprites, until here all is fine… When i try to load the next scene using...

View Article

Orientation issue with cocos2dx 3.17.2 iOS

@frozax wrote: I have a game which supports portrait and landscape. I can switch from one and the other without issue when the game is running. However, on iOS, when the orientation changes while the...

View Article


Image may be NSFW.
Clik here to view.

RenderTexture used with PolygonInfo renders incorrectly

@MatX wrote: I want to use a RenderTexture to render some color gradient triangles (before you recommend DrawNode, no, DrawNode is unfortunately not good enough, because I will want to manipulate the...

View Article

32 bit apps on new Mac OS Catalina

@piotrros wrote: Hello, a bit more of general question, but it’s related to tools like Cocos Studio, but not only that. Is there any workaround to run 32bit apps on the new Mac OS Catalina? For now I...

View Article

cocos creator axios import

@tdf0495 wrote: hello im korean developer, i’m using typeScript i want to import the axios.js but problem is import axios from 'axios' is not work! what should i do? Posts: 1 Participants: 1 Read full...

View Article
Browsing all 2748 articles
Browse latest View live