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

Can I use a font inside a spritesheet?

@kaotiklabs wrote: Hi mates, I would like to know if its possible to use BMFonts stored inside a spritesheet.I have not seen any sample so I dont know if its possible and how to do it. Posts: 1...

View Article


About mute and unmute button

@Breve wrote: Hello. I've been searching the form to implement a button to mute and unmute the music game in the same button, for when i touch that button the music will pause (the sprite change...

View Article


Need help to build with curl for android in cocos2d-x v3.9

@AzzozHSN wrote: Hello,I need help to build with curl for android in cocos2d-x v3.9 I got this error: [armeabi] Compile++ thumb: cocos2dcpp_shared <= ServerSide.cpp...

View Article

How to Call the Frame Events From Cocos Studio in Code?

@HUTHUT wrote: This page http://www.cocos2d-x.org/docs/editors_and_tools/studio-chapters/chapter3/Animation/AddFrameEvents/en/index.html only tells me half of what i need to know about frame events. I...

View Article

Game Freezes on Android 5.X Devices

@appkingpin wrote: Sometimes our game will freeze. We are running Cocos2d-x 3.8.1. Here is a logcat entry when the game freezes: 03-08 00:15:28.213: E/libOpenSLES(2618):...

View Article


Image may be NSFW.
Clik here to view.

Is AssetsManager change?

@eydamson wrote: Hii am using AssetsManager to update our game..after the AssetsManager finished downloading the resources from the server and we restart the game by calling cc.game.restart(), it...

View Article

Appdeligate in cocos2d-x

@crazy_learner wrote: void AppDelegate::initGLContextAttrs(){ GLContextAttrs glContextAttrs = {8, 8, 8, 8, 24, 8}; GLView::setGLContextAttrs(glContextAttrs);} how its work in cocos2d -X? Posts: 4...

View Article

Image may be NSFW.
Clik here to view.

How to build for mac and ios with cocos2d-x 3.8

@NEOISBACK wrote: I want to build my game for mac and ios .I have done for windows and android on windows OS but don't know for ios.If anyone knows please explain from the scratch with all the...

View Article


Android sound issue

@GameD wrote: Hello, I am using cocos2d-x 3.10, the problem I am facing is with SimpleAudioEngine on Android. I am playing a effect that is over a minute long, but on Android it doesn't play...

View Article


Image may be NSFW.
Clik here to view.

Cocos2d-x Windows universal app (Windows phone) ads

@BousaCZ wrote: I have created build of my game for windows phone and everything works fine, but now I need to monetize my app. I would love to use ads in my game. I have listed some topics of it...

View Article

glDrawElements works in iOS not in Android

@StephenCoder wrote: I have tried to use OpenGL function to draw image, it works on iOS but nothing is shown on Android. Please help out to find the problem. My Code goes: void...

View Article

Unable to reproduce mp4 video with ccui.VideoPlayer on Android

@alexgg wrote: Hello, I am trying to reproduce a video in mp4 with this code: var video = new ccui.VideoPlayer("cocosvideo.mp4"); //var video = new ccui.VideoPlayer("trailer.mp4");...

View Article

NativeInit fails on Android

@samithegreat wrote: Hello! I just updated SDKBOX and my game crashes on startup. Native code compiles without problems but there is something happening in SKDBOX.Init function. 03-08 12:46:58.929:...

View Article


Difference between layer and node

@crazy_learner wrote: what is difference between layer and node?does scene by default hold any node? Posts: 2 Participants: 1 Read full topic

View Article

How to get method name where crash occured in libc.so using ndk-trace

@rohit wrote: I have build libcocos2dcpp.so using APP_PLATFORM := android-9.I have used command on mac adb logcat | ndk-stack -sym obj/local/armeabi-v7a/ -dump Log.txt > LogNdk.txt It is giving the...

View Article


Want to confirm about onEnter()

@nbtthief wrote: Hi everyone, AFAIK, the onEnter function will be called after init() and when the director show it or when some container add it as child node. That mean: layer->setVisible(true);...

View Article

Cocos2d-x Slack

@nazrdogan wrote: Why don't Cocos2d-x have Slack ? is there any reason of this. Posts: 8 Participants: 1 Read full topic

View Article


BuildIncrement Tool

@AieKick wrote: Hello, i have created a mini tool for automatically increment a build number and also at the same time modify the AndroidManifest file. In my header file, i define 3 var : Build,...

View Article

How to detect when a node is removed?

@kingchimp wrote: Hello all, I am developing a game that's loosely based on the classic asteroids arcade game. As part of this, I have a battleship object that cruises around the asteroid field and...

View Article

Image may be NSFW.
Clik here to view.

Should I get Cocos2D-X or Cocos?

@Sumerechny wrote: Hello!I'm completely new in making games and stuff like that, but i have an idea and motivation to make this idea happen.So I've searched for an engine that will allow me to write...

View Article
Browsing all 17119 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>