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

Transparent canvas for cocos2d-html5?

@azimuth wrote: I have some web games built in cocos2d-html; the game canvas sits in a larger website. The site design has changed, and will now have a png background- problem is, you can't see the...

View Article


How many developer are using cocos2d-x?

@pococogames wrote: I'm wondering that. Maybe It's a difficult question to answer. But at least, how many developers joined cocos2d-x community? I think, 500k-1 million. Can it be? Posts: 8...

View Article


PhysicsJointDistance simple example

@lolopolosko wrote: Hi everyoneI create two physics body (Boxes) and I`m try use for them PhysicsJointDistance.But when I run project I see that my application has crashed If I remove code with...

View Article

Image may be NSFW.
Clik here to view.

Can't set solid background color of a Layout

@MatrixAndrew wrote: I can set an image as background but not a solid color as background. This is what I get with the code below: . Inside init method: Vec2 viewOrigin =...

View Article

Moving from Marmalade to cocos2d

@MaxMiles wrote: Hi, I have spend some time working with marmalade C++, iwgx. Now Im think of moving to more complete solution (a.k.a cocos). However, first thing I noticed - cocos administration and...

View Article


Is UIText alignment not working?

@amuse wrote: I try to use cocos2d-x 3.4 UIText to create a text label with alignment left top corner, but found seems not working? Text*...

View Article

Image may be NSFW.
Clik here to view.

[BUG] ccui.EditBox - Black Label When Editing Finished

@xiaoxiangzi wrote: Version: cocos2d-x-3.7 Lua Platform: android Issue: When editing finish, label turns to black box. After checking logcat, found that editBoxCallbackFunc (in file...

View Article

EditBox in CocosStudio

@nioan7 wrote: Hi!, I already have an app created with Cocos2d-x for iOS, the problem is that I used TextField instead EditBox and is not confortable for the user experience.I can add manually the...

View Article


Backround animation not working in html5

@AbhyudaiRagh wrote: im developing a game in html5,so when i tried to run the game in browser in background the animation is not working in background ,but when i reach back to the game ,the animation...

View Article


HTTPRequest* GET not working with JSON Params

@padmnabh wrote: Hi,I am trying to send normal GET Request to my server which is successful when theres no param attached like http://abc.xyz.com/f_register.php and gives...

View Article

Strange object on the screen on newer devices

@nalivai wrote: Hello community, I have a problem that is a little bit annoying. Maybe it's a new Android thing or just Samsung. Screenshot: https://pp.vk.me/c627428/v627428165/2dcb4/GqM4DN-DV1U.jpg I...

View Article

Image may be NSFW.
Clik here to view.

Relative positions in coco studio, how to access them in the code?

@araker wrote: Hello, I'm testing out the relative positioning in cocos studio, I have a simple layer with relative positioned items in it (see screenshot). I'm using the same setup as in the sonar...

View Article

Issue with Update() function

@versailles wrote: Hello, I want to move a sprite in the update fonction. I do like this : void HelloWorld::update(float delta){ if ((sprite->getPosition().x >= 0) &&...

View Article


Toronto Meet-up (Feb)

@BeZe wrote: Hello fellow Cocos Aficionados! My name is Max Bobak. I am Architect Game Development for Amaya Software and a game maker (for a good number of years now). I have recently become a...

View Article

Cc.log() and console.log() no output JS

@JakeMN wrote: Hi, I am using Cocos Studio with v3.10. I have project.json configured as follows: { "project_type": "javascript", "debugMode" : 1, "showFPS" : true, "frameRate" : 60, "noCache" :...

View Article


Cocos2d-x v3.10 released

@slackmoehrle wrote: We are happy to announce the release of Cocos2d-x v3.10. This release is a .zip file. Here is the Changelog. And download it! Also, we are offering an all-in-one solution, called...

View Article

Controlling Multiple Sprites with Mouse Event Listener

@Dalvok wrote: I got few Sprites and mouse event listener. I need to know for each of them when player clicks over it. So far my code looks like this: Vector<Sprite*> blocks; for (auto i = 0; i...

View Article


Cocos2d-X 3.10 precompiled and Android Studio

@miguellara78 wrote: Hi,I downloaded and successfully created a basic project with the pre-compiled libraries template from cocos studio 3.10, (without editor since i like drawing and placing stuff in...

View Article

Build dynamic library for project [ " + app_android_root + " ] fails!") ERROR!

@qook wrote: Microsoft Windows [Version 6.1.7601]Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Sungjin>cd.. C:\Users>cd. C:\Users>cd.. C:>cd cocos2d-x...

View Article

Recalculating collisions when bitmask changed

@agnt47 wrote: Hello,Is there any way to force the Cocos to recalculate collisions when the collision bitmask for an object is changed. I currently have an object that can switch between two bitmasks....

View Article
Browsing all 17117 articles
Browse latest View live


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