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

Cocos Android Splash Screen [Native Android]

@ashishfeels wrote: How can we change The Splash Screen For Cocos 2d. Not on the Web But on the native Android? Without creating a scene that would lead to the entire game. I want to replace the black...

View Article


Issue - EventListenerMouse help for windows

@Creadous wrote: I’ve got an issue with my game. In the Mac version onMouseMove works when the cursor is outside the window which is desired effect. But on PC Window build it doesn’t get any mouse...

View Article


Image may be NSFW.
Clik here to view.

Call a Javascript function from an Objective-C class

@rbprisma wrote: Hey guys! I have followed the instructions here: https://docs.cocos2d-x.org/creator/manual/en/advanced-topics/oc-reflection.html...

View Article

CocosJs multi resolution issue

@Yathiraj_karkera wrote: Issue when I load the game in mobile browser. var scaleFactor; var workingArea; var pDirector = cc.director; var pEGLView = cc.view; var mediumResource = cc.size(720, 1280);...

View Article

Image may be NSFW.
Clik here to view.

ui::EditBox Typing Alignment to center

@ahmed_jawed32 wrote: Hi I am using an EditBox for my game and I want my EditBox to type in the center but it starts typing from Top Left Expected Behaviour WhatsApp Image 2019-07-15 at...

View Article


Image may be NSFW.
Clik here to view.

Cocos2dx V4 Metal Cocospod integration

@kiranb47 wrote: Anyone successfully managed to integrate cocospod into cocos2dx v4 cmake ios template? I’m getting this error: Showing Recent Messages /Developer/cocos-workspace/MetalTest/Pods/Target...

View Article

How to Connect a word in a UIText to language dictionary

@JohnJose wrote: i have to select a word from a UIText and after that a i need to present the meaning of the word in a dictionary. is it possible in cocos2dx. Posts: 1 Participants: 1 Read full topic

View Article

Image may be NSFW.
Clik here to view.

Label wrap not work with Overflow:SHRINK

@joappdev wrote: iOS, v3.17.2 Here is the code: auto createLabel = [] ()-> Label* { Size s = Size(50,40); auto label = Label::createWithSystemFont("Aansluiten\nSpel", "Palatino-Bold" , 18, s,...

View Article


How to find the meaning of a word in TextView or Label from language dictionary

@JohnJose wrote: Hi, i have to select a word from label or Text when i deep press on the word and after it i need to present the meaning of the word from language Dictionary. is there any built in...

View Article


Problems with TMX and polygon collision

@unrealidiot wrote: Hello, I have started to work with cocos2dx and I’m having issues generating the ground collision from a TMX map. The tiled map renders fine but when I try to add a collision...

View Article

Image may be NSFW.
Clik here to view.

[BUG] GLViewImpl::setFrameSize (Ubuntu 16.04 LTS)

@VaskillerDev wrote: Hello everyone . I found one odd moment in CCGLNViewImpl-desktop.cpp (918 line). Please, look at this code area: `void GLViewImpl::onGLFWWindowSizeFunCallback(GLFWwindow*...

View Article

Android studio error : API 'variant.getMergeAssets()' is obsolete

@pascal232444 wrote: in android studio when i connect to firebase i receive " Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync." so i think...

View Article

Cocos2d-x v3.3 external prebuilt lib 64bit

@maemil wrote: Hi everyone. my project using cocos2d-x v3.3. In v3.3, There are no 64bit android prebuilt library in external library folder. so I can’t do 64bit android build. How can I get 64bit...

View Article


Image may be NSFW.
Clik here to view.

Github C++ Hue Saturation Sprite

@tdebock wrote: I just uploaded my first public code ever to GitHub… I have built a lot of custom nodes for Fleets of Heroes in the last several years to meet my needs, and I figured I will slowly...

View Article

Android Studio error (can't run game)

@mhmtemnacr wrote: When i try to run the app in android studio i get an error (Default Activity not found) There is another error in AppActivity.java (cannot resolve symbol Cocos2dxActivity) How can i...

View Article


Image may be NSFW.
Clik here to view.

Android does not quit cleanly when calling Application end

@overcocos wrote: I saw this post about memory leak when closing the app, I realized my Android app does not close properly too. github.com/cocos2d/cocos2d-x Issue: Android app whole process killing...

View Article

PageView not detecting TURNING event

@parth3535 wrote: @slackmoehrle @smitpatel88 @bilalmirza We are implementing PageVIew, as shown in the below video when we swipe page it detecting TURNING event but when we turning page by clicking on...

View Article


How to update(dt) from classes other than Scene?

@MadJi wrote: Hello, I have a standard update method in main Scene; this->scheduleUpdate(); void update(float dt); and etc. But I want to make a new one update(float dt) method, in some Sprite...

View Article

Sprite position precision -> flickers while scrolled

@mr_cocos wrote: Hi! I figured out, that my sprites are flickering while scrolled slowly at subpixel positions. I read this issue https://github.com/cocos2d/cocos2d-x/issues/12847 and I want to ask...

View Article

Touch Event on Text

@JohnJose wrote: Hi can i give a touch action for a word in a Text. Means, can i change the background of the word in Text or Label by deep press on the word. Thanks. Posts: 1 Participants: 1 Read...

View Article
Browsing all 2748 articles
Browse latest View live


Latest Images