My Home
Activity

Activity

From 2012-11-14 to 2012-12-13

2012-12-13

22:12 C++: CCControlSlider doesn't send most of the CCControl Events
Hello
I’m trying to implement a sound effects volume slider. I receive the Value Changed event but I don’t receive a...
AdiFly
22:01 C++: RE: in cocos2d-2.1beta3-x-2.1.0 using any of my own shaders leads to invisible sprite
Hi, Sherry Haibara. I have created almost the same post after this and Minggo Zhang told me that they changed uniform... roko12
21:20 C++: How can I set/change a certain color value as transparent color on a CCSprite?
Edit
~~How can I set/change the transparent color on a CCSprite?~~
How can I set/change a certain color value as tran...
dreifrankensoft
21:11 C++: Filesystem access in platform agnostic fashion?
Hi,
I’m new with cocos2d-x, so I’m probably missing many things.
That said, I wonder why http://www.cocos2d-x.org/r...
hermiti
20:54 C++: Multiplayer online -> How can Cocos2d-x get information from (and to) Android internet ?
I want to send/receive every second or so from an online server so I can continually synchronize the game.
I know how...
Jaytjuh
20:40 Javascript Binding: RE: JavaScript Bindings
Bindings for marmalade possible ?
borceg
19:49 C++: RE: Building Cocos2d-x for Blackberry 10 with Qt Creator
What are the benefits and differences here? Is it just that you use Qt creator to build the app?
P.S.
can you it to ...
S74nk0
19:39 C++: How to submit bug fixes?
I’ve been fixing the same scaling bugs in CCMenu.cpp for 1.x and 2.x and latest. Is there a way to submit changes so ... tmsoft
18:55 C++: RE: in cocos2d-2.1beta3-x-2.1.0 using any of my own shaders leads to invisible sprite
Unfortunately I 2nd this.
I’m experiencing exactly the same issue using a shader with a custom CCLayerColor node.
Any...
SherryHaibara
17:52 C++: [Win8] Image saved by CCRenderTexture is deformed
Hi, first time here, hello guys and girls!
Well, I’m drawing a sprite to a CCRenderTexture using this code:
picsRen...
pfeodrippe
16:56 C++: RE: tweejump port
fixed,
nRet = cocos2d::CCApplication::sharedApplication()-\>Run();;
borceg
16:26 C++: RE: Texture atlas and animations
do you mean there is a lot of empty space in some frames of your animation?
most atlas packers that ive seen will cr...
djfountain
15:26 Javascript Binding: RE: How to run the sample project
I have the same problem, “generated/cocos2d-x.hpp” file not found. I guess this file need to be generated by some mag... jptsetung
15:22 HTML5: Porting my project in lite version COCOS2x Html5 from COCOA and obj.c PING PONG PHONE
Hi, i’m developing a lite version of my game -\> https://itunes.apple.com/us/app/pong-phone-lite/id418923059?mt=8
te...
danyprat
15:06 C++: Cocos2D-X Facebook Integration
I’ve been working on ios facebook integration for cocos2D-X but I’ve run into a small problem.
I have put the ios Fa...
keithmccormac
15:00 C++: RE: Cocos2d-2.0-x running slow on build 10.0.09.1675
The very same build cocos2d-2.0-x-2.0.4.
I haven’t tested the 2.1 beta neither on BB10.0.9.1103 nor on BB10.0.9.1675....
SherryHaibara
14:41 C++: read / write CCSprite texture to device
Hi guys.
I am developing an app (IOS to begin with) that uses the camera. For this purpose I have a couple of questi...
tomastyv
14:23 C++: RE: is it necessary to compile box2d and the whole engine each time on Android?
uf… yes, thanks for the tip. I hope they update it soon
plungeint
14:23 C++: RE: how to disable multitouch.
ASAIK, there is not way to disable multitouch on android devices.
Did you mean stopAllEffects() don’t work on blackbe...
zhangxm
14:16 C++: RE: is it necessary to compile box2d and the whole engine each time on Android?
Did you use ndk-r8c?
I think it is a bug of ndk-r8c.
zhangxm
14:14 C++: RE: Good news for android developers
Any developer can help use to do a test?
Thank you.
zhangxm
14:05 C++: RE: Memory Management: Memory dealocations not happening.
I think I might have narrowed it down to textures not being removed properly.
Currently I’m doing this in every init...
ScottH87
14:00 C++: RE: A New Animation Solution based on SWF for Cocos2d
@Raymond Lu
Thank you.
zhangxm
13:45 C++: RE: A New Animation Solution based on SWF for Cocos2d
To daniel fountain,
So glad that we share the same idea on how to improve animation for this engine.
And I hope my j...
Raymond
13:20 C++: Chipmunk
Hi Guys,
I just downloaded cocos2d for Win8 and I see that is it really powerful and really good to use,
I am current...
binron
13:19 HTML5: RE: Blow The Balls Game (prototype)
Enjoyed game title:)
Denis
13:16 HTML5: RE: Blow The Balls Game (prototype)
Yo man! Name of your game bought my attention..)) thats not fair. you marketing bastard)
therefacken
13:15 Game/Demo Showcase: RE: [win8] Win8 Cocos2dx game?
Hi Oren Bengigi ,
I was wondering how did you compile cocos2d for ARM, since this is not supported yet?
Please share...
binron
13:02 C++: is it necessary to compile box2d and the whole engine each time on Android?
Hi,
I’m making a game for Android, and I’ve noticed that if I change a single line on helloworld.cpp I need to compi...
plungeint
12:10 C++: RE: callbacks obj-c to c++
Hi Ivan,
It is not a sophisticated way to do it, but my callback just sends a pointer to the original class to a dif...
plungeint
11:55 C++: RE: About android project with box2d integrated issuses --libgame.so can't create
it was this line in Application.mk
APP\_MODULES := cocos2dx\_static cocosdenshion\_static box2d\_static
that cause ...
tuyuer
11:53 C++: RE: callbacks obj-c to c++
Does anyone have working example of callback? I can not reproduce it using Jesus tutorial
ifedorov
11:29 C++: apply custom shader to CCNode without building new classes
Hi,
I want to use a custom shader on some nodes in my game.
I checked the samples, but looks like I have to build n...
vmgames
11:28 Extensions: RE: What kind of IDE are you using?
\>JetBrains webstorm is the best choice then
I’ve tried it, and yes it’s what I’ve been looking for.
Thanks\~\~
chanyuenpang
11:27 C++: RE: iOS App rejected non public api (SSL related) on cocos2d-x and libCurl
looks like I m the only guy with this problem
anyway, problem fixed , check here : http://stackoverflow.com/question...
vmgames
11:20 C++: Paper mario-esk 3D.. clipping problem?
Hey,
So I am using CCCamera to rotate around my “floor”, which appears to be laid flat.
I have 2d characters which ar...
djfountain
10:50 C++: Texture atlas and animations
Hi,
i have a doubt about texture atlas. I would like to lower gpu memory requirements by using texture atlas,
but wha...
lukeluke
10:34 C++: how to disable multitouch.
1-how to disable multitouch in cocos 2d-x 2.0.3 for blackberry and android device.
2- how to stop play effect when we...
narendrapatel23490@gmail.com
10:04 C++: Feature Request: SCENE_FUNC macro
We have a `CREATE_FUNC` macro, which allows us to call the `create()` function of a class without implementing this f... ben4d85
10:04 C++: how could i get the alpha value of a pixel in a texture?
I want to handle the touch event on a sprite and ignore it when i touch the alpha area of the sprite’s texture.
Could...
rookieaca
09:55 C++: RE: iPad 3 save screenshot problem (Black)
Did you enabled retina?
May be you should checkout the value of size.
zhangxm
09:49 C++: iPad 3 save screenshot problem (Black)
I’m having problem to save an in-game screenshot in iPad3.
The saved picture, all black.
But its working properly in ...
Diori
09:47 C++: RE: Blackberry Playbook uses Gyroscope instead of Accelerometer
I have similar problems using my Playbook, I develop a game for iOS, android and blackberryOS using accelerometer, wh... fabiobh
09:45 C++: RE: About android project with box2d integrated issuses --libgame.so can't create
What’s the error?
zhangxm
09:27 C++: RE: Is there any way to tell Android.mk to compile all cpp's recursively?
But different developers may have different directory structures.
So it is hard to write a tool.
zhangxm
09:24 C++: RE: replaceScene error
Please don’t invoke engine codes in a new thread.
It is not thread safe.
zhangxm
09:16 C++: RE: Cocos2d-2.0-x running slow on build 10.0.09.1675
What’s the cocos2d-x version that runs 60 FPS on BB 10?
zhangxm
09:05 C++: RE: replaceScene error
yes,you can view code clips in the annex.
tonysong
08:55 C++: RE: Is there any way to tell Android.mk to compile all cpp's recursively?
thanks for the advise Minggo. But anyway, it would be cool if the framework could provide some kind of batch that aut... plungeint
08:51 C++: RE: Is there any way to tell Android.mk to compile all cpp's recursively?
May be you can use some linux command to list all cpp files and add correct prefix to create a Android.mk.
zhangxm
08:48 C++: RE: Cocos2d-2.0-x running slow on build 10.0.09.1675
I am sorry about that.
We will try our best to find out the reason.
Thank you for your feedback.
zhangxm
08:44 C++: RE: replaceScene error
are you enqueuing the scene or replacing it? If you use replace it should work even if the scene already exists.
plungeint
08:43 C++: Cocos2d-2.0-x running slow on build 10.0.09.1675
Hello everybody!
First, I’d like to thank you for the great library you’ve made. It’s really fun to develop with!
I’...
SherryHaibara
08:37 C++: Problem with two CCTableViews.
In my app I need two CCTableViews, one of which is used as navigator.
Their sizes are supposed to be different with e...
huiyichris
08:34 C++: Is there any way to tell Android.mk to compile all cpp's recursively?
Hi,
Each time I create a new cpp, I have to add it to Android.mk to make sure it gets compiled. This is a manual, ve...
plungeint
08:30 C++: RE: Sound FX not playing after a while.
This happens to me too.
All sound effect not play when I lock/minimize/sleep then immediately make an action that wil...
Diori
08:26 Extensions: RE: What kind of IDE are you using?
JetBrains webstorm is the best choice then :)
BrokenHell
08:24 C++: RE: Bug in CCBAnimationManager (and solution!)
well done, thanks
plungeint
08:18 C++: Good news for android developers
A good news is that there is an approach to keep OpenGL context when going to background on Android. More detail info... zhangxm
07:50 C++: RE: Device Test Problem - Memory - CCSpriteFrameCache
Yes, my testing also show that iPad 1 is worst than iPhone 3GS, which is can load more spritesheets in a row.
And, th...
Diori
07:27 C++: RE: Bug in CCBAnimationManager (and solution!)
Jesus Bosch wrote:
> mmm Dai, isn’t this fixed into the last available build?
I don’t think so. I’ve post a pull req...
tiantian20007
07:19 C++: RE: Arabic Letter
With system font it works,
But when i try to use external font, arabic letters are not shape correctly.
Please help...
zilmeier
06:08 C++: RE: User Input for Desktop Systems
Ryan Kerswill wrote:
> (P.S. Why is distribution (*NOT* development) on Linux no longer supported?)
Why you belive i...
dreifrankensoft
05:17 C++: Memory leaks
I create hello world project by template,then i compile and run it without any modify.
Check it with vld, and fond ma...
tonysong
05:16 Extensions: CCTableView problem with reloadData() Two
Create a Tableview, first loaded 0 data
numberOfCellsInTableView (CCTableView \* table)
{
CCLOG (“WarListLayer”);
r...
328260200
05:06 C++: replaceScene error
I desinged a SceneManager to manage scenes. If i touches menus to switch scenes, it works fine.
My project is based o...
tonysong
04:43 Game/Demo Showcase: RE: [win8] Win8 Cocos2dx game?
Oren Bengigi wrote:
> Yes. But in Windows 8 I had to use PNG instead of pvr.ccz
then I call the function CCDirector:...
Zero____
04:04 C++: Blackberry Playbook uses Gyroscope instead of Accelerometer
Hello!
I develop game for Playbook with Accelerometer. But Playbook uses Gyroscope instead of Accelerometer (i get it...
Strelok2010
03:47 C++: About android project with box2d integrated issuses --libgame.so can't create
hi,guys:
i was using cocos2dx-2.0.4 to create an android project with box2d integrated,
preliminary,everything goes ...
tuyuer
03:45 C++: Long english word no word wrap bug in win32,and hot to fix it
when we draw a long english word,CCLabelTTF dont’t have word wrap.
android and ios is fine
CCImage.cpp
//1.————————...
Dzik
03:34 C++: RE: Arabic Letter
Alexander Belchenko wrote:
> IIRC std::string is not supposed to be used with unicode like UTF-16 or UTF-32. I guess ...
zilmeier

2012-12-12

21:39 C++: RE: how to make a plist file that use by the function "addAnimationsWithFile(const char* pli...
as does google
https://www.google.co.uk/search?q=plist
Hope that helped!
djfountain
21:36 C++: RE: how to make a plist file that use by the function "addAnimationsWithFile(const char* pli...
Ah,
its just that cocos2d-x uses apple’s own plist format from the cocos2d-iphone version.
I dont know if there is a...
djfountain
19:21 C++: RE: Black screen on Android device (Nexus S)
The apk is just a zip file , you can rename it \*.zip and unpack it or get a tool that will let you just look inside ... billy1380
19:13 C++: RE: Multiple preloading of the background music
Is there any plan to support multiple background music files. Is there any workaround to have this working ?
Thanks!...
AdiFly
18:00 C++: RE: Black screen on Android device (Nexus S)
Thank you for help.
I guess it did not crash, for I did not see any Warning Popup Window and it stay there: black sc...
blackgun
17:30 C++: RE: Future plans for win32 desktop games
Resolution switching at full screen functionality would be really great! Good luck on backporting.
Ryan
17:27 C++: RE: User Input for Desktop Systems
Ok, I think I will just use the input module from SFML then. It will do until there is a better solution out there.
...
Ryan
17:09 C++: RE: Bug in CCBAnimationManager (and solution!)
mmm Dai, isn’t this fixed into the last available build?
plungeint
16:45 C++: RE: Bug in CCBAnimationManager (and solution!)
Minggo Zhang wrote:
> Could you please describe how to reproduce it?
> Can i reproduce it by using CocosBuilderTest?
...
tiantian20007
16:27 C++: Announcing the SOOMLA Store Designer - Create a store-front and virtual economy in 5 minutes
Hi There,
Today we are launching the 1st version of the SOOMLA Store Designer. The purpose of the designer is to giv...
y_nizan
16:18 C++: RE: iPhone 5 Stretching
The bottom line is, I was trying to get help with is getting a perfectly square button in all device resolutions. In ... kubapl
16:08 C++: RE: Memory Management: Memory dealocations not happening.
Ok after plugging all the holes caused by some rather crappy programming on my part, the game no longer crashes.
Howe...
ScottH87
15:33 C++: RE: how to make a plist file that use by the function "addAnimationsWithFile(const char* pli...
hey, I use VS in windows most of the time, so I suspect that there will have some other tools to do it without XCode ... huangliulove
15:30 C++: [QNX]How to get screen resolution?
We have almost ported our game to Blackberry playbook. The game is adopted for various screen resolution, but i cant ... barbozza
15:29 C++: RE: how to make a plist file that use by the function "addAnimationsWithFile(const char* pli...
Can you not just make it in xcode? its got a good plist editor.
you can edit it in notepad or any xml editor - plist ...
djfountain
15:13 C++: RE: help !!!cocos2d-x2.0.4 Get data from file(xxx.png)faild!
无尘 仙剑 wrote:
> lukey liu wrote:
> \> I met a new problem, I added a few interface, the same code.
> \> But some inter...
yyyxfz
15:05 C++: Cocos2d-x vs. Cocoa app on Mac OS (dealing with NSOpenGLView in XIB)
Is there any good sample/tutorial of linking cocos2d-x with Cocoa application (with NSOpenGLView configured in Interf... brigadir
14:38 C++: RE: Scoreloop integration with Cocos2dx
I think you might need `#include <string>` in Scoreloop.h
billy1380
14:17 C++: RE: how to make a plist file that use by the function "addAnimationsWithFile(const char* pli...
nobody knows?
huangliulove
14:14 C++: When using CCTextFieldTTF with Admob keyboard not showing
Hi,
I am developing a Win32 App in C*+ using Cocos2d-2.0-x-2.0.4 version.
Completed everything including Admob integr...
vradgames@hotmail.com
14:14 C++: build_native.sh and icon sizes
According to http://developer.android.com/guide/practices/ui\_guidelines/icon\_design\_launcher.html launcher icons s... bialix
14:11 C++: RE: Memory Management: Memory dealocations not happening.
void MainMenuScreen::release(){
CCLayer::release();
m_pSpriteAnimation->release();
m_pSpi...
lance_gray
13:42 C++: RE: A New Animation Solution based on SWF for Cocos2d
This is very very good.
I too have been working on a similar solution-
We have fairly bespoke requirements, so mine i...
djfountain
13:30 C++: RE: Problem with CCCamera->setEyeXYZ ()
Hey,
Sorry to resurrect an old thread -
glad you found a solution,
im in the exact same problem, mind sharing what t...
djfountain
13:16 C++: build_native.sh: copy all resource files directly to assets root
I’m porting another game from iOS to Android and I found it’s very inconvenient that iOS and Android uses different s... bialix
12:00 C++: RE: Memory Management: Memory dealocations not happening.
Thanks for the reply, I’ve made all my destructors virtual, and unfortunately it hasn’t fixed my problem.
When I cal...
ScottH87
11:45 Extensions: What kind of IDE are you using?
Hi everyone,
I’ve been looking for a really helping Javascript Editor so that it would do the code autocompletion fo...
chanyuenpang
11:39 C++: RE: A New Animation Solution based on SWF for Cocos2d
You can have a try.
Then you will know why I call it Super Animation …
:-)
In fact, I dont export frames in Flash.
I...
Raymond
11:14 C++: RE: Need help with basic shader
yes same for me … i crashes while compiling fragment shader.
i kept a break point at the line
infoFunc(object, G...
onelord2002
10:37 C++: RE: How to add a new layer to a given scene with animation or transition in cocos2dx(android)?
So you’re adding a new layer on a layer? You can just use CCAction.
For example:
// MainLayer.cpp
void Main...
lance_gray
10:29 C++: How to add a new layer to a given scene with animation or transition in cocos2dx(android)?
Hi,
How can we add a new layer to a given scene with animation or transition ?
Like if there exists a scene with a ...
MFSI
10:22 C++: RE: Cannot get full path of file in cocos2d-2.0-x-2.0.4 Android
After looking around the cocos2d-x source files on GitHub, I found that **fullPathFromRelativePath\* will return only... lance_gray
10:20 C++: RE: How to limit input length of CCTextFieldTTF ?
Ok. I got it.
‘Return’ button on soft keyboard does not mean ‘detachIME’.
It just put ‘’ character.
So I had to che...
neosuram
09:51 C++: Most efficient way for porting/Converting nib files for android
Hi,
I have a game created using cocos2d-iphone and i have used many xib files within it, now im porting the same gam...
harish77r
09:39 C++: RE: Non-image data in cocos2d-2.0-x-2.0.4
I’ve located the source of the problem.
**CCFileUtils::sharedFileUtils -\> fullPathFromRelativePath;** returns only *...
lance_gray
09:02 HTML5: RE: Tutorial in the Wiki seems out of date
Hao Wu wrote:
> Ye, some of the tutorials are out of date, you can see some uptodate tutorial series at gamesfromscra...
RogerClark
08:46 C++: Cocos2dx - windows phone 8
Hello,
Who can create project in cocos2dx for WP8 : share status as: http://msdn.microsoft.com/en-us/library/windows...
xuanquyen46dp
08:38 C++: 在编译项目的时候出现 Using prebuilt externals ./build_native.sh: 行 89: ./work/cocos2d/android-ndk-r7/n...
小弟今天尝试在ubuntu下搭建cocos2dx环境。环境变量和设置如下:
**create-android-project.sh 文件**
\# set environment paramters
NDK\_ROOT\_LOCAL...
zhangduyu
08:33 C++: RE: A New Animation Solution based on SWF for Cocos2d
You can actually export frames in Adobe Flash. That’s what our artists have been doing for cocos2d-x projects. After ... lance_gray
08:13 C++: A New Animation Solution based on SWF for Cocos2d
I create a tool named **Super Animation Converter**, which is a simple SWF (a file format supported by Adobe Flash Pl... Raymond
08:10 HTML5: Ludum Dare 25
Ludum Dare 25 is coming
http://www.ludumdare.com/compo/
99% sure im in!
Is anyone else in? are you using Cocos2d-ht...
Wuhao
08:04 HTML5: RE: Tutorial in the Wiki seems out of date
Ye, some of the tutorials are out of date, you can see some uptodate tutorial series at gamesfromscratch.com
Wuhao
07:58 C++: RE: How to fix Bug #1303 (SimpleAudioEngine::playEffect() has not effect if it is played wit...
Thank you Minggo. I should have checked the latest code from github first.
Currently I’m using cocos2d-2.0-rc2-x-2.0....
bialix
07:55 C++: RE: Arabic Letter
IIRC std::string is not supposed to be used with unicode like UTF-16 or UTF-32. I guess you need std::wstring instead.
bialix
07:16 C++: RE: avoid entering sleep / background mode
Dear,
Now I have the same problems,have you found the next step to keep screen on depending on cocos2d-x scene?
a172933966
06:56 Extensions: RE: CCMultiColumnTableView added to CCTableView extension
@Herman Jakobi
Could u plz explain how to use it…thx a lot
Coco
06:31 C++: RE: Suspending app on iOS causes it to hang visually upon resume
I found the original article that we based our code on. It was to resolve the issue of the app restarting from the be... RogueProgrammer
06:28 C++: RE: Small help with assertion error while repeating texture
128 \* 128 texture worked pretty well for me.
i’m using this code to repeat the texture
CCTexture2D *texture = ...
onelord2002
06:26 HTML5: Tutorial in the Wiki seems out of date
Hi,
I was looking at the HelloWorld tutorial, but the API calls that it uses seem to be out of date.
For Example.
...
RogerClark
06:23 C++: RE: problem with custom shader with cocos2d-x 2.1
Minggo Zhang wrote:
> Now it adds the codes before every shader
\>
> […]
\>
> So your shader should use CC\_MVPMatrix...
roko12
06:13 C++: SimpleAudioEngine::sharedEngine()->stopAllEffects(); not working
when i replace the scene ,in button click function write these lines
void GameLayer::goToMainMenu()
{
SimpleAudioE...
narendrapatel23490@gmail.com
06:07 C++: RE: Help with creating custom Transitions (layers or sprites)
Hi Walzer,
When I am trying to pass CClayer object into CCTransition object, its giving error for no method matching...
MFSI
05:18 C++: RE: If a game only with ONE CCScene?
Lance Gray wrote:
> If you do that, the code might be very messy and might be very hard to maintain.
> I suggest you ...
toodoo
05:10 C++: Arabic Letter
Hi all,
I want to show arabic letter using CCLabelTTF.
I tried to use ICU library, there are many linker errors.
1....
zilmeier
05:06 C++: RE: If a game only with ONE CCScene?
A game with one scene is a bad idea.
backboy.r
04:31 C++: RE: How to show fade in/out effect when scenes being replaced?
You can apply several Transitions using the CCTransition classes.
http://www.cocos2d-x.org/reference/native-cpp/d0/d7...
lance_gray
04:27 C++: RE: If a game only with ONE CCScene?
If you do that, the code might be very messy and might be very hard to maintain.
I suggest you create a separate CCSc...
lance_gray
04:04 C++: RE: If a game only with a CCScene?
Jobed Rony wrote:
> Can you please describe the problem more clearly?
thanks for your attation.
I mean : a game onl...
toodoo
03:34 C++: RE: Small help with assertion error while repeating texture
Hi, I also experienced the same problem.
I also has set the image for the texture to be the power of two (128\*128) b...
misugijunz
03:17 C++: RE: Suspending app on iOS causes it to hang visually upon resume
We had the other code in due to an issue with suspend/resume that another user had found fixed the issue.
Maybe that...
RogueProgrammer
03:02 C++: RE: Minggo Zhang.
Ah! Okay. Thx for your advice, Minggo.
I have seen your great works here whenever I tried to find some information a...
soularrow
02:39 C++: 关于cocos2d-x资源管理的一些建议
本人对cocos2d-x了解的不是很多,只是刚开始使用,以前用过一段时间的mygui,发现它的资源管理很清晰,不知道cocos2d-x未来会不会实现一个类似的资源管理的方式?这样可以每个工程对应一个或者多个xml资源文件,虽然增加了初... Sprite
02:33 C++: RE: problem with custom shader with cocos2d-x 2.1
Now it adds the codes before every shader
const GLchar *sources[] = {
#if (CC_TARGET_PLATFORM != CC_PLATFORM...
zhangxm
02:23 C++: RE: How to fix Bug #1303 (SimpleAudioEngine::playEffect() has not effect if it is played wit...
This bug has been fixed.
What’s your cocos2d-x version?
zhangxm
02:19 C++: RE: Black screen on Android device (Nexus S)
Does the app crash?
Does .so be packed into apk file?
zhangxm
02:15 C++: RE: Suspending app on iOS causes it to hang visually upon resume
I think the functions should be changed to
// This function will be called when the app is inactive. When comes ...
zhangxm
02:04 C++: RE: Why ipad games must have texture atlases for both iphone and ipad?
@Alexander Belchenko
You can only have one resolution resource if you don’t care the effect. Cocos2d-x support only ...
zhangxm
01:58 C++: RE: Why ipad games must have texture atlases for both iphone and ipad?
This is what I was doing when I was still using cocos2d-x-2.0.2. I would need four separate sizes for a single image ... lance_gray
01:57 C++: RE: How to show fade in/out effect when scenes being replaced?
I think you should run TestCpp and checkout TransitionTest.
zhangxm
01:54 C++: RE: Checking if a pointer is NULL, is this fast?
You can check out the assembler instructions.
I think
if(myClass)
{
myClass->DoSomething();
}
...
zhangxm
01:47 C++: RE: iPhone 5 Stretching
This chunk of code:
// iPhone 5 (640x1136)
if(screenSize.width < 1536)
{
CCSize designSi...
lance_gray
01:43 C++: RE: Sending Email From A Cocos2dx Game
Thank you Pipero.
My problem is almost solved by the link you give.
The only problem is the position of the view in M...
shiyc
01:43 C++: RE: Sending Email From A Cocos2dx Game
Thank you Pipero.
My problem is almost solved by the link you give.
The only problem is the position of the view in M...
shiyc
01:09 C++: how to make a plist file that use by the function "addAnimationsWithFile(const char* plist)"
The example show that animation can be add with a plist file, but how can I make it by notepad, is there any tools li... huangliulove
01:03 C++: RE: Checking if a pointer is NULL, is this fast?
NULL is zero, and when the pointer zero , it also means false, all of them are the same in fact:)
huangliulove
00:59 C++: RE: which audio format is well support by most of device
get it, thanks
huangliulove
00:30 C++: How to show fade in/out effect when scenes being replaced?
When I use replaceScene, How to apply **fade in/out** effect between those two scenes?
Can u anybody plz give me a s...
soularrow
00:28 C++: RE: Why ipad games must have texture atlases for both iphone and ipad?
попробую объяснить на примере айфона. Если мне надо чтобы игра запускалась только на 4 айфоне, то я использую картинк... roko12

2012-12-11

21:54 C++: RE: User Input for Desktop Systems
Being able to override WindowProc is the first step of handling standard Win32 messages such as mouse, keyboard and t... rtissera
21:48 C++: RE: User Input for Desktop Systems
Romain TISSERAND wrote:
> Hello,
\>
> I agree this is something essential.
\>
> On our side, we have hooked SDL input...
Ryan
21:37 C++: RE: iPhone 5 Stretching
Ok, I figured it out so I guess I’ll share my findings if anyone else stumbles into this issue. So the code that I or... kubapl
20:42 C++: RE: Checking if a pointer is NULL, is this fast?
I bet this code will be compliled in the same assembler instructions. Pointer is usually fit to integer size, and mos... bialix
20:27 C++: RE: Black screen on Android device (Nexus S)
Managed to get it to build, but it does the same thing on my device :( The logcat is saying that the application coul... billy1380
20:21 C++: RE: User Input for Desktop Systems
Then the default WindowProc should be modified to give a user callback.
A clean way to do it is having a delegate suc...
rtissera
20:00 C++: RE: User Input for Desktop Systems
Yesterday I asked a similar question, but specifically about a callback function for mouse movement, and got not repl... Tetsuo
19:25 C++: Suspending app on iOS causes it to hang visually upon resume
We never had this issue with Cocos2d-x 1.x, but now have an issue with Cocos2d-x 2.x.
I have an app that is animatin...
RogueProgrammer
19:12 C++: Checking if a pointer is NULL, is this fast?
Checking if a pointer is NULL like this, is this fast? If it is done every frame, many times….
e.i.
void SomeFu...
Marquisd
19:04 C++: RE: User Input for Desktop Systems
Hello,
I agree this is something essential.
On our side, we have hooked SDL input support into a custom Win32 main ...
rtissera
18:55 C++: RE: HelloWorld on Android Emulator (Eclipse, Windows) - Black Screen!
But I have trouble with running on device.
Please check:
http://www.cocos2d-x.org/boards/6/topics/19567?r=19571
Tha...
blackgun
18:50 C++: RE: Black screen on Android device (Nexus S)
This is the project’s zip file:
https://docs.google.com/open?id=0B7mLZy0bxJuANFNWVW13THZoUG8
This is the cocos2d-x c...
blackgun
18:14 C++: RE: Black screen on Android device (Nexus S)
Can you post a zip of your android project? Just to see if something does not look quite right.
billy1380
17:53 C++: RE: tweejump port
Latest revision, latest cocos2d-x, marmalade 6.1.2 :(
> 1\>c:/users/apple/desktop/cocos2d-2.1beta3-x-2.1.0/cocos2dx/...
borceg
17:37 C++: RE: Facebook android exception...
this is my solution to create a post:
public void fb\_post()
{
Log.v(TAG, “JNI: fb\_post() called”);
BubbleBox.th...
lordubik
17:28 C++: Black screen on Android device (Nexus S)
Hi guys,
I am glad to join cocos2d-x club. I am a newbie to cocos2d-x. I have successfully build several samples on ...
blackgun
17:09 C++: RE: Facebook android exception...
Thanks!
I have found my problem. The error was because I don’t have called the method inside the Main thread!
this is...
lordubik
17:00 C++: RE: Device Test Problem - Memory - CCSpriteFrameCache
Yes , im using this code too , i see that my memory dont decrease with the gameplay , the instruments is good to see ... moc
17:00 C++: Same speed between debug & release !
I’v try TestCpp , especially box2d part with very low FPS (\~4 FPS) on debug and release too … (with configuration on... alkaine
16:29 C++: RE: How to fix Bug #1303 (SimpleAudioEngine::playEffect() has not effect if it is played wit...
Also I have a question to cocos2dx developers.
According to documentation on SoundPool.play that method could return...
bialix
16:22 C++: After replacing Scene, the Schedule method doesn't work anymore
Hi!
I’m making a game in cocos2dx , so I’ve made a class named CoCoGui and I’ve also made an IntroPage class that inh...
ub.maka
16:22 C++: RE: Facebook android exception...
Check this post:
http://www.cocos2d-x.org/boards/6/topics/12492
There is the solution at bottom.
Piperoman
16:20 C++: RE: Beginner Question: How to add new own files for compilation?
1º Go to path proj.android/jni
2º Open Android.mk
3º Add your own files to source.
Piperoman
16:19 C++: RE: iPhone 5 Stretching
Hey Lance, So I went ahead and made those modifications as you suggested. I made a new folder called if iphonehd and ... kubapl
16:02 C++: RE: How to fix Bug #1303 (SimpleAudioEngine::playEffect() has not effect if it is played wit...
Hi guys,
I have first working version of the patch for this issue. See below. This is my the very first Java code so...
bialix
15:52 C++: Beginner Question: How to add new own files for compilation?
Hi all,
I’ve successfully compiled and run HelloWorld example, but when I want to extend it with my new source files...
usualleader
15:29 C++: how can I detect tilemap collission?
I can only find tutorials for cocos2d iphone wich contain a lot deprecated/removed stuff.
I have a tilemap loaded wi...
Jaytjuh
15:20 C++: RE: Sending Email From A Cocos2dx Game
Hi,
Thank you for your answer.
I follow the link that you give and I think that my problem is solved.
“The problem ...
wilfrid
15:14 C++: Facebook android exception...
I/BubHole ( 9325):
V/BubHole ( 9325): JNI: fb\_post() called
I/ActivityThread( 9466): Pub com.google.android.gallery3...
lordubik
15:06 C++: RE: Memory Management: Memory dealocations not happening.
Hello there!
I too ran into some memory issues when I began profiling my cocos2dx game on the iphone and using profi...
kubapl
14:53 C++: Tmx messing with rendering layers
Hi All,
I have been testing the new changes in the framework on ipad2 and iphone 4s and the seems to be some very we...
billy1380
14:51 C++: RE: Sending Email From A Cocos2dx Game
Have you added the Java library?
Have you added the java files?
If you describe step by step what are you doing I co...
Piperoman
14:10 C++: RE: Sending Email From A Cocos2dx Game
Hi,
I tried to implement your solution “CCSocialNetwork”, but I met some problems.
For tweets and email, it’s ok but...
wilfrid
14:03 C++: Use game WatermelonWithMe of Cocos2d-x 2.1.0
Hi, Y try to use the games created by the new cocos2d-x version(2.1.0).
I import the game WatermelonWithMe to eclipse...
fabiobh
14:02 C++: problem with custom shader with cocos2d-x 2.1
hi!
with cocos2d-x 2.0.3 this code works perfectly:
CCGLProgram *pBWShaderProgram = new CCGLProgram();
p...
roko12
13:44 C++: RE: Xml Parsing in cocos2dx
> I have an error while compiling in cygwin pugixml.cpp:
> exception handling disabled use -fexceptions to enable
> H...
lumendes
13:12 C++: RE: Problem with launching the helloCpp project for Android
Hello!
I’m sorry to only answer now.
Now we can have a helloworld on the device but not on the simulator.
With the si...
jonat85
12:04 C++: RE: If a game only with a CCScene?
Can you please describe the problem more clearly?
backboy.r
11:06 C++: RE: Memory Management: Memory dealocations not happening.
I’m gonna bump this because I’m no closer to finding an answer.
Any suggestions about how I can fix this or what I m...
ScottH87
10:58 C++: RE: Building with Marmalade SDK
Hi Tim,
I’ve tried the solution you post here and it’s working really well. Some points I’ve added.
`CCEGLView::sha...
TheGuru
10:53 Game/Demo Showcase: RE: [win8] Win8 Cocos2dx game?
Yes. But in Windows 8 I had to use PNG instead of pvr.ccz
Obg1
10:24 C++: Why ipad games must have texture atlases for both iphone and ipad?
I found that Cocos 2D-X requires me to have both iphone and ipad texture atlases (png + plist) in order to run the ga... bialix
10:12 C++: RE: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
Merci also from my side! It works now as expected!
usualleader
09:55 C++: RE: Control Sphere Object with simple joystick in Box2D
It is not working on device for me…..works on awesomely on Simulator…..
It is giving me touch point when I logged in...
mangesh.kurve
09:51 C++: RE: An autoscale sprite
thx for sharing
Coco
09:26 C#: RE: Synchronizing two CCActions on separate sprites.
> Jacob Anderson wrote:
> CCSpriteBatch allows you to run one action on a bunch of child sprite nodes and affecting a...
Xaynus
08:56 C++: An autoscale sprite
patch of CCSprite: Header
@
virtual void setUnFlippedOffsetPositionFromCenter(const CCPoint& ptPoint);@
source:
`vo...
flamefox
08:17 C++: If a game only with ONE CCScene?
Hi, guys
If a game only with one CCScene,
What are the advantages and disadvantages?
For example:
![](http://www....
toodoo
07:45 C++: RE: Strange sprite scaling
Which version of Cocos2d-x are you using? Are you using the retina mode?
jabV
06:27 C++: RE: Support retina in 2.0.4
Victor Lavrentyev wrote:
> Realisation of enableRetinaDisplay in cocos2d-x version 2.0.4
> A more complete solution t...
toodoo
06:21 C++: RE: Android-packageName
Hi, how can we get android application package name from C++ code?
vishalhsoni
06:20 C++: RE: Strange sprite scaling
I am too facing same problem in scaling the sprites.
In my case manual setting of scale factor in setScale() functio...
MFSI
05:45 C++: RE: tweejump port
wow, good job!
walzer
05:31 C++: RE: file too small for architecture i386
Finally I found the reason, It’s missing libcurl.a(cocos2dx/platform/third\_part/ios/libraries) in my cocos2d dir bec... rrobin
04:59 C++: RE: tweejump port
With a little spare time on hand I updated the tweejump game to 2.0.4
The code is at: https://code.google.com/p/twee...
vegasFBI
04:54 C++: RE: Future plans for win32 desktop games
Yes we did resolution switch too (except borderless windowed mode), and we have this enhanced code for both Win32 and... rtissera
04:53 C++: RE: Problem with launching the helloCpp project for Android
Do you get a black screen even on a device?
lance_gray
04:52 C#: RE: Synchronizing two CCActions on separate sprites.
> In my game I’m trying to **run simultaneously two independent CCActions, created from two CCAnimations** , on two s... Logan
04:51 C++: RE: iPhone 5 Stretching
**kResolutionNoBorder** will ( obviously ) remove all borders in the view.
From your code, this part is what seems t...
lance_gray
03:42 C++: libcurl for cocos2dx windows phone 8
hello,
please help me !
I try to create class httpclient use winhttp but wp not support winhttp,
I know cocos2d us...
xuanquyen46dp
02:50 C++: RE: Device Test Problem - Memory - CCSpriteFrameCache
Hey moc, you can check your memory usage with dumpCachedTextureInfo()
You also can check your available memory on you...
Diori
02:37 Game/Demo Showcase: RE: Demon Hunter on Google Play
Hi Jason,
Thanks for your comment, I will pause it and fix the typo in the coming version. Thanks.
Dickens
dickens
02:02 Game/Demo Showcase: RE: Demon Hunter on Google Play
Hey,
a\> Great stuff with getting a solid looking game on the store, plays very smoothly, shooting works well
b\> Fi...
JT
01:40 C++: Need help getting started on WP8
I am needing help in getting Cocos2D-X to deploy on my Windows Phone 8. I have been able to launch in the emulator bu... CodeHelix
01:25 Game/Demo Showcase: Demon Hunter on Google Play
Hey Guys,
I have launch my first game in google play. I have create C++ wrappers for the Tapjoy API and In App billi...
dickens

2012-12-10

23:16 C++: User Input for Desktop Systems
Hey guys,
I am planning to develop a game that can run on desktop systems. win32 is my main choice, but still be abl...
Ryan
23:05 HTML5: Screen KEEP FLASHING Very BAD when Sprites are animated.
Flashing VERY BAD,
I loaded all my sprites though cc.Sprite.create(“Resources/XXX.png”);
I improved by preloading t...
lilzz
22:38 C++: RE: Future plans for win32 desktop games
Hi Romain, thanks for the response
Yes I am very interested in those features being backported! That would be great. ...
dualtagh
21:39 C++: RE: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
Romain, thank you very much.
bialix
21:19 C++: RE: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
This is a known issue for NDK r8c on Mac OS X.
I have reported this to Google before release but these smart guys ign...
rtissera
21:15 C++: RE: Future plans for win32 desktop games
Hello,
We (folks at my company - DotEmu) has enhanced a lot Win32 port by adding several features :
- Fullscreen sup...
rtissera
20:15 HTML5: Tutorial to add a loading screen
Hello,
Is there a tutorial out there to add a loading screen? I would like to show a progress counter (from 1 to 100%...
CyrilG
19:36 C++: Future plans for win32 desktop games
Just wondering what the plans are for desktop PC games? I see that QWERTY keyboard support is planned for the next be... dualtagh
19:32 C++: RE: iPhone 5 Stretching
Thanks for your reply Lance. Actually I left that part out I am doing this right after the code above:
CCEGLView...
kubapl
19:32 C++: cocos2d-x v 2.0 - glColor4f() undefined reference
Hi all,
I encountered a problem while using Box2d. I wasn’t able to compile the project with GLES-Render.h included....
tohotforice
18:42 HTML5: How to generate documentation from jsdoc?
Hi, i want to generate a local reference from JS sources (JSDoc) just exactly this one: http://www.cocos2d-x.org/refe... airdata
18:35 C++: Looking for freelances and/or game dev companies
Hi,
I have a client that is interested in some game development. My company has too many projects in its pipeline ri...
plungeint
18:33 C++: Problem with correct retain usage
Hi.
I have a Game Character with N parts animated. To make it work, I follow the next steps:
1º Create Object
2º Ca...
Piperoman
18:25 C++: RE: Problem with launching the helloCpp project for Android
Hello!
Thanks Lance for the answer, i’m sorry to respond only now.:)
I’ve tried to follow your advice but we can’t la...
jonat85
18:06 C++: RE: iPhone 5 Stretching
You might want to play with **CCEGLView::setDesignResolutionSize\*
In cocos2d-x-2.0.4 AppDelegate.cpp file, you can f...
lance_gray
17:49 C++: trigger event on mouse move
Is there such a thing in Cocos? I’m trying to find a way to trigger a callback function every time the mouse moves, b... Tetsuo
17:38 C#: RE: Synchronizing two CCActions on separate sprites.
Raghu, CCSpawn.Create() is used when you want to rotate and translate and blink your sprite at the same time.
For ac...
jwa@javatopia.com
17:27 C++: RE: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
To cross check; I’ve just managed to compile using cygwin+build\_native.sh - the same result - it’s recompiling all t... usualleader
17:02 C++: RE: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
I change nothing. Just call “build” again and it compiles all over again ;(
usualleader
17:00 C++: RE: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
What part of the code are you changing? What is the log result on compilation?
Piperoman
16:57 Game/Demo Showcase: RE: [win8] Win8 Cocos2dx game?
Oren Bengigi wrote:
> Yes, it is free to download, use this link:
> http://apps.microsoft.com/webpdp/en-US/app/noogra...
Zero____
16:50 C++: RE: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
Tutorial:
http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started
Running on Win32 using E...
usualleader
16:44 C++: RE: JNI C++ Java method invocation simple example
Here: https://github.com/Piperoman/CCSocialNetwork
You have another example to make calls from C*+ to Java, and Java...
Piperoman
16:41 C++: RE: Sending Email From A Cocos2dx Game
HERE:
https://github.com/Piperoman/CCSocialNetwork
You can download an example that send e-mails, tweets, and faceb...
Piperoman
16:39 C++: RE: which audio format is well support by most of device
I use mp3 in iOS and ogg in Android. Ogg is recommended on Android, but it is not esencial.
Piperoman
16:38 C++: RE: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
Could you post the Tutorial link, platform, and method to compile please?
I work on Linux, with NDK 8 and work fine....
Piperoman
16:27 C++: iPhone 5 Stretching
Hello,
First off let me say that I really like the multiresolution system that cocos2dx (v2.0) offers. I have succes...
kubapl
16:17 C++: RE: CCTextureCache::reloadAllTextures() block my game
Look http://www.cocos2d-x.org/boards/6/topics/19479
bialix
16:14 C++: CCTextureCache::reloadAllTextures() block my game
Hi
I have ported our app from IOS to android, and everything works great! thanks cocos2dx.
One issue:
when the game ...
tomastyv
16:12 C++: RE: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
I have the same issue and I’d like to understand why it recompiles everything every time and how to avoid it.
bialix
15:56 C++: RE: Building with Marmalade SDK
Hi Oscar
Your approach is basically the same as the one we use. Here’s what we do:
- Define a new method on your ...
TimCloss
15:52 C++: RE: HelloWorld on Android Emulator (Eclipse, Windows) - Black Screen!
Thanks a lot! Android device worked previously, now created simulator on 4.2 and it works![]()
usualleader
15:52 C++: No Incremental Build for NDK (Cocos2Dx sources are always compiling)
I have used the famous tutorial “Cocos2D-X for iOS and Android: Getting Started” and everything works now, except bui... usualleader
15:05 C++: What is the best strategy to port game that uses cocos2dx 2.0.x to windows8?
Our company tries to port simple game written for iOS/Android to WIn8 and we found many differences in Cocos API. Tha... bialix
13:42 C++: RE: Memory Management: Memory dealocations not happening.
I made it a virtual method and added CCLayer::release() however now I’m getting a crash.
It occurs in the this CCNod...
ScottH87
13:20 C++: RE: Memory Management: Memory dealocations not happening.
From what I see, the logic is correct and should release those objects.
Did you declare **MainMenuScreen::release\* ...
lance_gray
13:15 C++: win8 texturepacker cannot load the frame image
I generate a big image and a plist file with the TexturePacker,then I call the funciotn :testsprite = CCSprite::sprit... Zero____
13:07 C++: Android|| App takes much time on resuming.
Hi. A black screen appear for 5-10 seconds on resuming app in android . We have also implements the scenario that is ... Faisal
12:34 C++: file too small for architecture i386
When I build helloworld program in mac os,I meet a link error,it says
“ld: in /Users/mc815/Heros/test/HelloWorld/Hell...
rrobin
12:22 C++: RE: Memory Management: Memory dealocations not happening.
Thanks for the reply, and the tag tip.
I think I’m doing what you’re tell me to do.
When I call this~~\>release; in...
ScottH87
12:07 C++: RE: Multi Resolution Support - Cocos2d-2.0-x-2.0.4.
Okay thank you very much!
But I think there is a way to encapsulate this choice … ’ll think better …
Thank you!
caitanoangra
12:01 C++: RE: An error about class static argument.
A proper format would be:
// Foo.h
class Foo {
private:
int m_Bar;
public:
static...
lance_gray
11:55 C++: RE: Memory Management: Memory dealocations not happening.
Try wrapping your code in `... lance_gray
11:50 C++: Memory Management: Memory dealocations not happening.
Hi guys, I’m having some memory management issues and I’m getting really confused by it, so I’d like to defer to you’... ScottH87
11:34 C++: RE: Multi Resolution Support - Cocos2d-2.0-x-2.0.4.
Open up **AppMacros.h**, there you will see this part:
/* If you want to switch design resolution, change next l...
lance_gray
11:20 C++: CGContext rectify the CCLabelTTF using the CGContextScaleCTM(context, 1, -1.0f)
I use the CCTexture2d to change the the CCLabel to make Art Character, but I got the problem, I create the context by... highland
11:16 C++: RE: Multi Resolution Support - Cocos2d-2.0-x-2.0.4.
Thank you for the reply!
but it does not change anything because the screen is in landscape … this way, he will only...
caitanoangra
10:46 C++: RE: An error about class static argument.
Where did you define MtProduct::cnt?
Inside MtProduct.h or MtProduct.m?
If you defined it in MtProduct.h then you can...
backboy.r
10:43 C++: RE: HelloWorld on Android Emulator (Eclipse, Windows) - Black Screen!
http://cocos2d-x.org/boards/6/topics/12563
There’s an issue with Android Emulator and OpenGLES 2.0
Try attaching an ...
lance_gray
10:42 C++: RE: which audio format is well support by most of device
MP3 is the most common one.
Take a look at this: http://cocos2d-x.org/projects/cocos2d-x/wiki/Audio\_formats\_support...
lance_gray
10:40 C++: Unable to connect to server in 4G LTE network in iPhone5
Hi Folks,
I am using cocos2d-1.0.1-x-0.13.0 and libcurl for making http calls in a project.
Everything works fine b...
crana
10:40 C++: RE: Problem with launching the helloCpp project for Android
It’s a bit tricky to run an Android app in the Emulator. Try reading this thread and see if it helps: http://cocos2d-... lance_gray
10:37 C++: Cannot get full path of file in cocos2d-2.0-x-2.0.4 Android
Hi all.
I followed this: http://paralaxer.com/cocos2d-x-project-setup/ to create a cross-platform project.
I’ve succ...
lance_gray
10:32 C++: RE: Multi Resolution Support - Cocos2d-2.0-x-2.0.4.
In the AppDelegate file, you will see this part:
// Set the design resolution
pEGLView->setDesignRes...
lance_gray
09:34 C#: RE: Synchronizing two CCActions on separate sprites.
Probably, I’m looking for something you mentioned :)
Xaynus
09:14 C++: RE: Multi Resolution Support - Cocos2d-2.0-x-2.0.4.
Caitano Diniz wrote:
> Good afternoon!
> I’m doing some tests on multi resolutions and noticed that the image is only...
caitanoangra
09:06 C++: An error about class static argument.
class MtProduct {
private:
int productNum;
.
.
public:
void DoSale();
**static int cnt;**
}
**int MtProduct::cnt ...
soularrow
08:43 C++: How to fix Bug #1303 (SimpleAudioEngine::playEffect() has not effect if it is played without...
Hi, I’m trying to port very simple game for small children from iOS to Android (our company uses cocos2d-2.0-rc2-x-2.... bialix
08:41 C++: Problem with launching the helloCpp project for Android
I’m student and with my classmates, we have to realize a game for Android and IOS. We use the cocos2d-x framework to ... jonat85
06:27 C++: RE: [Fixed] GLES2.0 on Android
This line :
gLSurfaceView.setEGLConfigChooser(8 , 8, 8, 8, 16, 0);
should only be applied on simulator environments ...
rtissera
06:23 C++: RE: [Fixed] GLES2.0 on Android
I tested this code on Android devices (Fly), and it works.
Petya
05:14 C++: RE: A very long story about my optimization of Cocos2d-x Android apps in size and performance
very very useful
Santosh
03:26 C++: RE: Sending Email From A Cocos2dx Game
can you give me some advise about using MessageUI framework on cocos2dx games to send messages or e-mails ?
then i te...
shiyc
03:07 HTML5: RE: Right mouse clicks are not detected
1. Because touch event is a click event, It doesn’t distinguish right & left mouse clicks. This design is compatible ... ludingping
02:56 C++: RE: cocos2d-x-2.1.0 CCSequence only 1 action will crash
Thank you, issue \#1605 was created.
The solution needs to change...
dumganhar
02:48 C++: WP8 Cocos2dx and XAML
I read in Topic http://www.cocos2d-x.org/boards/6/topics/17769.
I also have a problem as he but on Windows Phone 8.
...
xuanquyen46dp
02:12 C++: RE: How to navigate to a new XAML window?
Hello,
I also have a problem as you but on Windows Phone 8.
can anyone help me on Windows Phone 8?
:)
Thanks
xuanquyen46dp
01:49 C++: which audio format is well support by most of device
which audio format is well support by most of device, I have some trouble to choose the audio format between multiple... huangliulove
01:36 C++: cocos2d-x-2.1.0 CCSequence only 1 action will crash
CCFiniteTimeAction \*pAction1 = xxxx:create();
CCSequence::create(pAction1,NULL);
Will Crash….
In CCActionInterval....
Yehsam
01:18 C++: RE: In cocos2d-x,which class is the counterpart of CCGradientLayer in cocos2d-iphone ?
Yes,Thanks you.
jiangjkd
00:47 C++: RE: BBOS 10(NDK) and Mac Osx
Ok!
I finally managed to make it works :)
It was simpler than I thought.. I followed this:
http://www.cocos2d-x.org...
crazycoder1999

2012-12-09

21:18 C++: RE: HelloWorld on Android Emulator (Eclipse, Windows) - Black Screen!
Ok, I have just figured out that helloworld.png was missing under “assets”. Now when I run it in debugger, no excepti... usualleader
21:04 C++: RE: HelloWorld on Android Emulator (Eclipse, Windows) - Black Screen!
Oh, and when it runs in debugger it stops at
GLSurfaceView\$GLThread.run() line: 1120 Exception Illegal Arguments
usualleader
20:49 C++: HelloWorld on Android Emulator (Eclipse, Windows) - Black Screen!
Hi,
I’ve successfully compiled the HelloWorld project for android using Eclipse on Windows.
But when I run the proje...
usualleader
18:56 C++: Set FPS Windows 8
Is it possible to change the frame rate for the windows 8 version?
pDirector-\>setAnimationInterval(1.0/30) does not...
shinethesun
18:47 C++: RE: CCFileUtils::getWriteablePath does not work correctly on Nexus 10
Ok, see pull request here :
https://github.com/cocos2d/cocos2d-x/pull/1740
rtissera
15:09 C++: RE: opening URLs in external browser
This should be integrated in the official version !
It’s super useful !
tsug
15:01 C++: Multi Resolution Support - Cocos2d-2.0-x-2.0.4.
Good afternoon!
I’m doing some tests on multi resolutions and noticed that the image is only scaled in height … examp...
caitanoangra
14:29 C++: RE: Missing JNIEXPORT / JNICALL in Java_org_cocos2dx_lib_Cocos2dxHelper.cpp
Please see pull request here :
https://github.com/cocos2d/cocos2d-x/pull/1740
rtissera
13:16 C++: How to correct add Box2D to blackberry project
Hi,
I have a game that runs fine on android and iOS, but when I try to create the project inside QNX Momentics, It te...
fabiobh
12:30 C++: Integration between UIKit and cocos2d-x: Bug and video: -- SOLVED --
Here’s a video of the bug: http://youtu.be/EIvf-Ao6u5I
Because of this bug integration between UIKit and Cocos2d-x is...
register
11:26 C++: template installation problem
I’m having problem in the installation in the templates
can someone please help me
JELR39
04:40 C++: RE: CCFileUtils::getWriteablePath does not work correctly on Nexus 10
agree with you
xinjuese

2012-12-08

22:18 C++: Missing JNIEXPORT / JNICALL in Java_org_cocos2dx_lib_Cocos2dxHelper.cpp
All JNI functions of cocos2dx/platform/android/jni/Java\_org\_cocos2dx\_lib\_Cocos2dxHelper.cpp miss the proper JNIEX... rtissera
19:42 C++: RE: copyWithZone issue when passing pointer to method
might be just c++, but copy is actually not called. the collisionStarted() method is my own pure virtual method, it i... noomieware
19:33 C++: CCArray::removeAllObjects() crash much ?
SomeCCNode::~SomeCCNode()
{
this->removeAllChildrenWithCleanup(true);
}
Same code is run smoothl...
lijunjie
19:13 C++: RE: copyWithZone issue when passing pointer to method
I’m not quite familiar with box2d though, I think it’s just plain c++ matter,
from the context, I may presume CCObjec...
lijunjie
18:40 C++: Possible serious bug in CCDirector::end or EAGLView.
The bug can be reproduced using this example project http://dl.dropbox.com/u/12856650/Cocos2dxOnUikit.zip. This examp... register
18:26 C++: copyWithZone issue when passing pointer to method
Hi `all,
I have several classes inheriting from CCNode. There instances get passed as pointers to methods very often...
noomieware
18:14 C++: RE: Issue copying an Array
Using:
> // Create a Copy of all objects in game play
> CCArray \*copyOfGameObjects = CCArray::create(listOfGameObje...
Piperoman
17:47 C++: RE: How to navigate to a new XAML window?
Hey, I am recently making cocos2d-x work in win8 xaml page.
Here’s my project in github:
https://github.com/chanyuen...
chanyuenpang
17:19 C++: RE: Windows 8 DirectX and XAML
I think I’ve accomplish my goal and make every thing goes well.
Here’s my cocos2d-x + xaml template in github:
https...
chanyuenpang
16:15 C++: Little fix in CCDirector.cpp
Hi, friends.
I got this error while compiling cocos latest gles20 git version with gcc 4.6.3 for android native.
/op...
randomize46
14:59 C++: RE: Windows 8 DirectX and XAML
If you want I could check your project; you can mail a link and I’ll take a look. I’ll mail you a link to the testpro... pinky2012
14:48 C++: undefined reference to google::protobuf::internal::kemptystring
this’s a part of my code:
\#define PROTOBUF\_USE\_DLLS
\#include “pack\_role\_info.pb.h”
**void android\_main
{
Pe...
protoss
14:48 C++: RE: Windows 8 DirectX and XAML
> I’ll see if I can get the entire project zipped later today. What is the problem/error you are getting?
That will ...
chanyuenpang
14:11 HTML5: RE: does cocos2d-html5 support android
It only runs in browsers or web view without other modules support.
You can run it in mobile browsers on android or i...
ShunLin
14:02 C++: RE: Creating a sprite from a subclass of CCSprite
Luis Mendes wrote:
> Like Irving said, I think the best way is to override the CCSprite create() method, then you can...
stalker
13:40 C++: RE: Creating a sprite from a subclass of CCSprite
Like Irving said, I think the best way is to override the CCSprite create() method, then you can add custom parameter... lumendes
13:21 C++: RE: Does cocos2d-X works on windows
Yes, it sure does. It supports a multi-load of platforms.
Full list in here http://www.cocos2d-x.org/projects/cocos2...
lumendes
13:18 C++: RE: JNI C++ Java method invocation simple example
Good examples can be found at cocos2d-x upSL scoreloop extension git repo https://github.com/ursine-paw/upSL/tree/mas... lumendes
12:33 C++: RE: Creating a sprite from a subclass of CCSprite
I want know better way too.
stalker
11:37 C++: Issue on resuming app
Hi,
i have an issue on resuming, when my app resumes then my labels appears to have a black background if there was a...
mqaiserbutt
09:54 C++: iOS App rejected non public api (SSL related) on cocos2d-x and libCurl
I just submitted for review and app built on top of cocos2d-x (C++) and libcurl.
I m using libcurl with SSL support ...
vmgames
09:13 Game/Demo Showcase: ShatteredSprite – cocos2dx version
This is cococs2dx version of the ShatteredSprite I once introduced on my blog:
http://www.supersuraccoon-cocos2d.com/...
supersuraccoon
07:46 C++: RE: How to take a screenshot of the current game using CCRenderTexture::saveBuffer method
Hi, This worked for me in android. PNG file is saved at data/data/com.yourpackage/DB\_Screenshot.png.
**CCSize winSi...
vishalhsoni
07:31 C++: Error when trying to launch on WP8
I was just seeing if I can build and launch the HelloWorld app on my WP8 but am getting this error:
Error 1 error LN...
CodeHelix
06:29 C++: CCFileUtils::getWriteablePath does not work correctly on Nexus 10
Hello,
I use Cocos-2D-X on one cross-platform iOS/Android game.
Some customers with Nexus 10 reported the game was n...
rtissera
06:24 C++: RE: [Fixed] GLES2.0 on Android
I can confirm I encountered Petr Bodnar issue yesterday while debugging one of my apps and applied same fix with succ... rtissera
06:11 C++: Where to begin
I’m new to CoCos2D-x and am still a beginner programmer so am wondering what’s the best way to get started using this... CodeHelix
01:48 C++: Does cocos2d-X works on windows
I’m kinda new in here and I want to start a RPG style game for android
so before I install this I wonder if this woul...
JELR39
00:19 C++: RE: Problem with CCTransitionMoveInL
any idea?
Stefano Campodall’Orto wrote:
> Hi, when use CCTransitionMoveInL, I have a strange artifact when the two s...
lordubik

2012-12-07

23:25 C++: RE: Basic Questions
Cocos2d-x is like Cocos2d-iphone but in C++ and supports also android, blackberry etc. And yes, you can use Mac to do... redaur
23:01 C++: RE: Const Correctness C++
I spent about an hour trying to make my code const-correct, before I realized it would require hundreds of const\_cas... kagakuninja
21:14 C++: RE: JNI C++ Java method invocation simple example
Ok, managed to achieve my goal.
I think the approach in first comment is meant to be used in invoking C*+ method from...
lumendes
20:43 C++: Parallax Tutorial
I found a similar topic on this forum but the answer wasn’t there anyways, I’m getting into the Cocos2d-x and this tu... fbormann
17:44 C++: RE: Basic Questions
Bump
joemost
17:21 C++: RE: Memory Leaks
Thanks a lot Igor for your reply. I ended up making those adjustments and and a few others, this has solved all of my... kubapl
16:51 C++: RE: Android error creating environment cocos2dx-v2
Minggo , thanks
i adjust this features , include the java project and everything compiles , but when install HELLOCC...
moc
16:47 C#: RE: Synchronizing two CCActions on separate sprites.
Sounds like you want a group of animations to share the same schedule “update” tick.
jwa@javatopia.com
15:04 C++: How to record sound from the phone's microphone!!!!!!!!!!!!!!!!!!!!!
Hello everyone![](~ I'd like to know how to record sound from the microphone and save as a audio file with cocos2d-x... rhzchina
15:03 C++: RE: Memory Leaks
1. CCArray will retain any object put into and release it after CCArray gets destroyed. You don’t need any FOREACH re... redaur
13:49 HTML5: Right mouse clicks are not detected
I’ve 2 problems right now:
1. I’m using **onTouchesBegan:function{}** to detect mouse clicks, but I can’t differenti...
amralassal
13:45 C++: JNI C++ Java method invocation simple example
Hi all,
I am trying to implement a way to check device native resolution, and as it seems, at least with Android one...
lumendes
12:44 C++: RE: how to solve the problem:" fatal error: Box2D/Box2D.h: No such file or directory"
You need to add Box2d to Android.mk file
This is a example of my Android.mk file:
LOCAL_PATH := $(call my-dir)
...
fabiobh
12:22 C++: RE: Marmalade + COCOS2D Help!!!!
Hi Tim and Andrey,
Good news! at last cocos2dx supports Marmalade again!
Andrey you’re right the .mkf of cocos2dx f...
TheGuru
12:08 C++: how to solve the problem:" fatal error: Box2D/Box2D.h: No such file or directory"
I use the version of “cocos2d-2.0-x-2.0.3”. if i exute the template of helloworld, It’s ok.And if i add box2d for is ... FightGreat
10:06 C++: in cocos2d-2.1beta3-x-2.1.0 using any of my own shaders leads to invisible sprite
Hi guys!
In cocos2d-2.0-rc0a-x-2.0 i successfully use my own shaders. But when i migrated my project to cocos2d-2.1b...
roko12
09:37 HTML5: RE: does cocos2d-html5 support android
Does it mean that Cocos2d-html5 can’t be used in Android and iOS without other modules support.
firepotato
09:26 C++: RE: Windows 8 DirectX and XAML
I’ll see if I can get the entire project zipped later today. What is the problem/error you are getting?
EDIT \*\*
In...
pinky2012
09:19 C++: RE: light source
hi, sorry for delay.
to Jesus Bosh: no i din’n get it working, but i figure out how to write and use shaders with co...
roko12
09:15 C++: RE: Windows 8 DirectX and XAML
Seems like your files not working in my project…
> How did you add the Template to your existing Cocos2d-X project? ...
chanyuenpang
09:11 C#: RE: Synchronizing two CCActions on separate sprites.
Hi Raghu S,
thanks for replying, but I need to run actions on separate sprites at the same time. By the way, I don’t...
Xaynus
07:46 C++: RE: Windows 8 DirectX and XAML
Yop Chan wrote:
> I’ve fixed early problem by putting everything in DirectXPage.cpp file.
\>
> I am modifying methods...
pinky2012
07:32 C++: RE: Windows 8 DirectX and XAML
Yop Chan wrote:
> I’ve fixed early problem by putting everything in DirectXPage.cpp file.
\>
> I am modifying methods...
pinky2012
07:19 C++: RE: [WP 8] How to create new project ?
you can see at link : https://www.developer.nokia.com/Community/Wiki/Creating\_a\_New\_Cocos2d-x\_Project\_for\_Windo... xuanquyen46dp
07:15 C#: RE: Synchronizing two CCActions on separate sprites.
Hi,
Have a look on CCSpawn. It is used to perform multiple actions at a time.
> var action = CCSpawn.Create(action1,...
Logan
06:19 C++: RE: [Fixed] GLES2.0 on Android
I dont know if it safe to run on the devices.
What problem appears on Adreno 200?
Does your app works with gLSurfaceV...
Petya
05:50 C++: marmalade and windows.
i am porting a game for intel ultrabookn which is a windows platform using marmalade and cocos2dx.
the game is compl...
jay_dubal
05:42 C++: RE: Windows 8 DirectX and XAML
I’ve fixed early problem by putting everything in DirectXPage.cpp file.
I am modifying methods in DirectXRender to D...
chanyuenpang
04:42 C++: [Cocosbuilder] Custom variable hooks into Sprite
In Cocosbuilder, I have a root layer contains Sprite A. And Sprite A contains Sprite B
I want to hook custom variabl...
lamho86
04:28 C++: RE: [WP 8] How to create new project ?
any help for this ?
thanks
jay23
04:16 Game/Demo Showcase: Mad Squirrel - Android Released
Hey guys , my game is avaiable on google play!
https://play.google.com/store/apps/details?id=com.mocinteractive
som...
moc
03:50 C++: RE: Windows 8 DirectX and XAML
I’ve setup the environment by importing the DirectXApp template to my cocos2d-x project, and the template itself runs... chanyuenpang
03:35 C++: Use cocos2d-x for project C# in WP8
hi,
I want to use cocos2d-x in project WP8 c\#.
I have question, can I embed cocos2d-x in project XAML C\# ?
I wan...
xuanquyen46dp
02:57 Lua Binding: RE: How to use LUA_FUNCTION in tolua++?
Simon - wrote:
> For cocos2d-2.0-x-2.0.3:
\>
> You need to use basic.lua. It registers LUA\_FUNCTION to be custom typ...
rekcah1986
00:11 C++: RE: Get data from file(assets/) failed! w/ HelloWorld
Dony Karlos wrote:
> I got same issue on windows. Latest cocos2d-x and VS Express. .h-file fixed to relative, but did...
HSapiens
00:03 C++: RE: Memory Leaks
I made some modifications to the code above to what I think should be the correct way to allocate and deallocate the ... kubapl

2012-12-06

23:36 C++: RE: cant build project
Thanks!
I ran cygwin as administrator and it compiled and it works in eclipse![]()!
Jaytjuh
22:21 C++: Basic Questions
Hi guys, I am new to Cocos2d x and just have some questions about it.. if you guys could help me with them it would b... joemost
21:27 C++: CCLabelBMFont::labelWithString crash
Hi,
I’m trying to display some latin characters like ‘è’ ‘ò’ ‘à’ using CCLabelBMFont::labelWithString.
Unfortunatel...
coconut
19:55 Game/Demo Showcase: RE: [win8] Win8 Cocos2dx game?
I’d like to release my game for Win8 but the API for cocos2d-x-win8 is still the old one and my game is coded for the... Billy.Lavoie
19:45 C++: Android Cygwin Error
Hi all,
Really irritating problem when trying to call “./build\_native.sh” from Cygwin.
Everything starts building,...
dean_n91
19:15 C++: RE: [Fixed] GLES2.0 on Android
Petr Bodnar wrote:
> I solved this rpoblem by adding
\>
> gLSurfaceView.setEGLConfigChooser(8 , 8, 8, 8, 16, 0);
\>
>...
Valmar
18:38 C++: RE: Windows 8 DirectX and XAML
Yop Chan wrote:
> OK…
\>
> Actually I am not familiar to neither cocos2d-x nor c**, thought I do handy on cocos2d and...
pinky2012
18:30 C++: RE: Windows 8 DirectX and XAML
Oren Bengigi wrote:
> I was able to get it working by using SwapChainBackgroundPanel in the xaml and some tweaks to t...
pinky2012
17:11 C++: RE: Marmalade + COCOS2D Help!!!!
Tim, can you please ask developers who are doing the integration to comment on the screen orientation issue?
It’s unc...
zmey
17:08 C++: Keyboard Cocos2d-x
Hello! How are you? I am a student and beginner in the environment Cocos2d-x, could someone give me an example of how... ChavaChuy
17:08 C++: eglView->setViewName("TEST") is not working? Or what is wrong here?
This code is not changing the title of the window
CCEGLView* eglView = CCEGLView::sharedOpenGLView();
eglVie...
dreifrankensoft
17:04 HTML5: RE: HTML5 Framework/Windows 8 app released
It currently a free download if anyone wants to take a look; Leave a nice review! :)
http://apps.microsoft.com/webpd...
PaulS
17:01 C++: RE: Marmalade + COCOS2D Help!!!!
Hi Tim,
Thank you for the good news!
Some issues are still present on MacOS, here’s a list:
HelloWorld doesn’t com...
zmey
16:51 C++: Const Correctness C++
Much of the cocos2d-x library/C*+ code is not const correct. This does not conform to many studios’ programming stand... tbimpakt
15:56 HTML5: RE: HTML5 Framework/Windows 8 app released
They can be packed into single files. Google compiler will be a great tool for you.
You may find some build.xml file...
ShunLin
15:50 Game/Demo Showcase: add network function in my game.
guys, I’m beginner about cocos2d, I try to work out a simple game, now I want to add network function for two players... wangdb99
15:44 HTML5: RE: Problem when using cocos2dx html5 in window phone 8 app
The files need to be loaded from web severs.
ShunLin
15:41 HTML5: RE: does cocos2d-html5 support android
There are three games which can run with Cocos2d-html5, Cocos2d-x javascript binding and Cocos2d-iPhone javascript bi... ShunLin
15:37 C++: Memory Leaks
Hi,
So I started profiling my game against memory leaks. I found a tool called visual leak detector and it is output...
kubapl
15:15 C#: Synchronizing two CCActions on separate sprites.
Hi,
I’m facing a problem with synchronization of two CCActions on separate sprites (mySprite and myMask). In my game ...
Xaynus
15:10 Javascript Binding: RE: JS API (app design)
Ok, so multi-resolution handling is made from C**.
Actually I read Dictionaries from C** too, I use them to localize ...
crazyrems
13:47 Lua Binding: RE: How to use LUA_FUNCTION in tolua++?
For cocos2d-2.0-x-2.0.3:
You need to use basic.lua. It registers LUA\_FUNCTION to be custom type, that is mapped usi...
Simon
13:43 C++: RE: Cocos2d-x Airplay SDK port - first release
Note that the recent December release of Cocos2d-x includes full support for Marmalade.
TimCloss
13:42 C++: RE: Marmalade + COCOS2D Help!!!!
The December release of Cocos2d-x now includes full Marmalade support…
TimCloss
13:41 C++: RE: memory leaks (blackberry playbook)
Can you post up the full text from the log? Is that a Cocos2d-x message, or a Marmalade message?
TimCloss
13:37 C++: RE: getting unusual errors in marmalade project
Can you please try with the latest official Cocos2d-x December release?
TimCloss
13:37 Lua Binding: RE: use box2d in lua
Thanks zhong zhaofeng, the bindings you provided work perfectly in cocos2d-2.0-x-2.0.3! :) For those that need more h... Simon
12:34 C++: RE: no animation display
Scott Hampson wrote:
> Your code is slightly different from mine, but I had a very similar problem.
\>
> In my case t...
xujiezhige
12:31 C++: Memory Management Issues
I’m in the latter stages of my cocos2d-x game project and I’ve run into what could be a HUGE issue in the form of mem... ScottH87
12:24 C++: RE: no animation display
Your code is slightly different from mine, but I had a very similar problem.
In my case the problem was in the CCAni...
ScottH87
11:33 C++: RE: avoid entering sleep / background mode
Thank you Oren!
I made this change and now the device goes to sleep mode properly when the game is in background :-D...
jorgeram
11:33 C++: no animation display
@
CCSprite\* psptLight = CCSprite::create( “COG\_Effect\_Profile/Effect\_Files\_Original/101/image6.png” );
ASSERT\...
xujiezhige
11:01 C++: Problem with CCTransitionMoveInL
Hi, when use CCTransitionMoveInL, I have a strange artifact when the two scenes are one above the other…
there is a l...
lordubik
10:52 C++: RE: avoid entering sleep / background mode
This is better, no wake lock needed:
public Cocos2dxGLSurfaceView onCreateView() {
// Init hand...
Obg1
10:41 C++: RE: avoid entering sleep / background mode
Hi, I have same problem: I actually acquire a wake lock in onCreate of Android project:
PowerManager pm = (PowerMana...
jorgeram
10:21 Javascript Binding: cocosbuilder don't work in js
hi, i got a message as “Skipping selector ’’ since no CCBSelectorResolver is present.” , i’m using cocosbuider 3.0 an... roastduck000
10:16 C++: BBOS 10(NDK) and Mac Osx
Hi,
I’m new to cocos2d-x , but I’m really interested in this project.
I did some experiments with cocos2d for IOS in...
crazycoder1999
10:00 C++: RE: In cocos2d-x,which class is the counterpart of CCGradientLayer in cocos2d-iphone ?
Do you mean **CCLayerGradient** ?
dumganhar
09:59 HTML5: does cocos2d-html5 support android
I see some errors. Is there any plan about cocos2d-html5 to support Android and iOS.
TypeError: ‘undefined’ is not a ...
firepotato
09:51 Off Topic: Logo 'Powered by Cocos2d-x' to use in games
Hi,
I create a simple text in the logo of cocos2d-x to put in my game as a splash screen.
This is my splashScreen.
![...
fabiobh
09:42 C++: RE: how to draw on blank area when using setDesignResolutionSize
Please use **kResolutionNoBorder** mode, but place your ui elements based on relative position.
For details, you coul...
dumganhar
08:52 C++: RE: refresh CCMenuItem
yes , job done , I use a boolean and a schedule to update the texture in the main thread
Thanks
vmgames
08:44 C++: RE: iOS6 & landscape orientation issue
Minggo Zhang wrote:
> I am sorry, what’s the issue?
A landscape app on iOS6 rotates 2x at start.
festival
07:55 C++: RE: How to call java function from c++?
You can try this:
\#include “../platform/android/jni/JniHelper.h”
huiyichris
07:41 C++: RE: cant build project
It is caused by the permission:
z:/androidndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/g...
zhangxm
07:40 Javascript Binding: RE: JS API (app design)
> We can set the design resolution size, to autoscale to all screens
You could do it at Appdelegate.cpp. Please look...
dumganhar
07:34 C++: RE: iOS6 & landscape orientation issue
I am sorry, what’s the issue?
zhangxm
07:33 C++: RE: refresh CCMenuItem
You can use CCMenuItemSprite::setNormalImage().
zhangxm
07:29 Javascript Binding: RE: mozjs requires Microsoft.VC90.DebugCRT
Hey, i think this issue was fixed. Could you try the latest version **v2.1**? Thanks.
dumganhar
06:29 C++: RE: On resume call
Thank you for the tip..
Right now my fix is through
// this function will be called when the app is active again
voi...
virajdasondi@gmail.com
06:16 C++: RE: On resume call
you can try add CCNotification for some layer then post notification on Pause and resume.
sue602
06:11 C++: On resume call
Hello friends,
Does anybody know how to get onResume call for some layer..
I want to reinitialize everything when re...
virajdasondi@gmail.com
06:00 C++: RE: RenderTexture Problem
Hello @YoungJae Kwon
Can you post your CCTextureCache.h,CCRenderCache.cpp and CCRenderTexture classes..
I have adde...
virajdasondi@gmail.com
05:15 C++: In cocos2d-x,which class is the counterpart of CCGradientLayer in cocos2d-iphone ?
As the title.
jiangjkd
05:12 C++: RE: Back scrolling problem
Thanks, I tried to manually set values as 256.0f and 768.0f but nothing has changed. I can properly load the sprites,... Oleg
04:53 C++: [Android] How to using Android Native Ui button Control Cocos2dx ?
I want to using Android Native UI button add Sprite ?
Thx
dawei_21cn
04:04 C++: RE: Flash C++ compiler - can we compile Cocos2d-x with it?
I have not idea, you can have a try.
zhangxm
04:03 C++: RE: Back scrolling problem
I think it is because the result of *screenHeight \* 0.5f* and *screenHeight \* 1.5f* is not an integer. So please us... zhangxm
03:49 C++: RE: CCTableView with non-fixed cell sizes
Hey Mike,
Please don’t let this useful feature sink. Do you have any time now?
Regards.
dumganhar
03:29 Off Topic: RE: Need a "BEGINNERS AREA" sub-forum!
I don’t really think it is necessary.
sparkart
02:39 C++: RE: when I call cocos2d::JniHelper::getStaticMethodInfo,Fatal signal 11 (SIGSEGV) occured
I’m sorry I’ve made a mistake,cause the class\_name I passed in is something like “com.xxx.xxx” and it should be “com... skychongrichie
00:15 C++: Why getFrameSize() in ios 6.0 simulator 4 inch do not return 640*1136
I use this code to get the screen size in the retina 4-inch iOS 6.0 simulator
CCSize screenSize = CCEGLView::sharedO...
Muser

2012-12-05

22:42 C++: RE: Can we use CCRepeatForever action with CCSequence OR CCSpawn also??
seems weird that `CCSequence::actions()` returns `CCFiniteTimeAction`, while `CCSequence::actionOneTwo()` returns `CC... elenzil
22:13 C++: RE: Windows 8 DirectX and XAML
I was able to get it working by using SwapChainBackgroundPanel in the xaml and some tweaks to the rendering example.
...
Obg1
20:45 C++: Back scrolling problem
Hi! I need scrolling background from single sprite.I loaded this sprite twice and have
CCSprite s1,s2;
with same imag...
Oleg
19:24 C++: Flash C++ compiler - can we compile Cocos2d-x with it?
Hi,
I’ve noticed adobe flash supports C*+ compiler:
http://gaming.adobe.com/technologies/flascc/
Do you think it is p...
Obg1
18:17 C++: RE: sprite texture from a web url, the texture become anamorphic in the real machine, but co...
I have this working in obj-c using NSData but how can it be done in c++ for multiplatform?
HkySk8r187
16:42 C++: iOS6 & landscape orientation issue
Compiling with iOS6 SDK and running a landscape app on a iOS6 device results in a strange orientation isssue.
After ...
festival
16:17 C++: Confusion on Win8 and Win Phone 8 projects
I’m a little confused as to which repository I should be pulling from in order to create Windows 8 and Windows Phone ... moswald
15:47 HTML5: RE: Why none of the coco2d-html games able to run on my Safari but OK on chrome and Firefox.
Shun Lin wrote:
> What is the error message on your console log?
XMLHttpRequest cannot load file:///res/Enemy.plist....
taka
15:42 C++: refresh CCMenuItem
Hi,
I have a feature in my game which display facebook friends with pictures in a scroll view
As there may be a lot...
vmgames
13:56 C++: RE: What's the needs of "Asset manager"?
I looked at the release yesterday and no signs of the new asset manager (btw it’s nice to see the whole “family” rele... Billy.Lavoie
13:55 HTML5: Bug> Tinted sprite is not cropped propely.
When using original textures that are HTMLImageElement, cropping image works fine, but it doesn’t work when cropping ... sonee
13:26 C++: RE: Get runninScene inside appDelegate.cpp
I don’t know that is necessary to setTag to make possible recover Scenes.
Thanks for the help.
fabiobh
12:40 C++: RE: Examples - cocos2d-x
Raghu S wrote:
> \> it will be really helpful if i can find the all examples like setting anchorpoint, animations, ph...
Hgvyas12387
12:15 C++: RE: Examples - cocos2d-x
> it will be really helpful if i can find the all examples like setting anchorpoint, animations, physics, parallax so... Logan
11:21 C++: RE: Examples - cocos2d-x
Jack Zhang wrote:
> search, watch and learn
whoops i am afraid now may be learning will be little bit complicated
:)
Hgvyas12387
11:03 C++: RE: Examples - cocos2d-x
search, watch and learn
diguo2046
10:37 C++: RE: Anyone tried the scoreloop wrapper upSL?
Hi,
How to call SubmitScore from c++ i did know what parameter need to pass in last argument?
std::map<std::string, ...
jigariam
10:29 C++: RE: cant build project
I tried running it in Android just to see if it works or not.
See attachment log.txt for erros
Sorry for all the que...
Jaytjuh
10:23 C++: RE: cant build project
James Chen wrote:
> But ...
Jaytjuh
10:20 C++: RE: cant build project
But ... dumganhar
10:06 C++: RE: cant build project
James Chen wrote:
> Please use r7 or higher version of ndk.
okay create-android-project.bat does it job good now I’v...
Jaytjuh
09:57 C++: Examples - cocos2d-x
Hi guys,
my self Harshit Vyas this is my first day over here seeing all this wonderful things since last few hours i...
Hgvyas12387
09:45 C++: RE: debug and logging
Need to add @ APP\_CPPFLAGS *= ~~DCOCOS2D\_DEBUG=1@ into `jni/Application.mk` in my case.
Splash Huang wrote:
> Hi,
>...
f
09:41 C++: RE: cant build project
Please use r7 or higher version of ndk.
dumganhar
09:34 C++: RE: [Fixed] GLES2.0 on Android
I solved this rpoblem by adding
gLSurfaceView.setEGLConfigChooser(8 , 8, 8, 8, 16, 0);
before
gLSurfaceView.setCoc...
Petya
09:09 C++: RE: Windows 8 DirectX and XAML
OK…
Actually I am not familiar to neither cocos2d-x nor c++, thought I do handy on cocos2d and xaml(C\#)…
I will tr...
chanyuenpang
08:46 C++: Network in cocos2dx for windows phone 8
please help me,
create socket for wp8, send score to server and rev score to server.
xuanquyen46dp
08:20 C++: RE: Error while calling getPercentageTransparent method of CCRendureTexture class in android...
James Chen wrote:
> James Chen wrote:
> \> An older version??
> \> Which version?
> \> I couldn’t find **getPercentag...
dumganhar
08:20 C++: RE: Error while calling getPercentageTransparent method of CCRendureTexture class in android...
James Chen wrote:
> An older version??
> Which version?
> I counldn’t find **getPercentageTransparent** in cocos2d-x ...
dumganhar
08:12 C++: [bug]CCBAnimatioManager does not handle "visible" animation properly
getAction() generates actions between 2 keyframes, but we should add an extra action for the first key frame for “vis... Timothy
08:00 C++: RE: Error while calling getPercentageTransparent method of CCRendureTexture class in android...
An older version??
Which version?
I coundn’t find **getPercentageTransparent** in cocos2d-x 1.0.x too.
dumganhar
06:30 C++: RE: Error while calling getPercentageTransparent method of CCRendureTexture class in android...
### Hi, thanks for the reply. I think i have an older version. What is the equivalent method of “CCRendureTexture::ge... abid.hussain
06:29 C++: RE: Blank screen in emulator
I’m using the same tutorial form raywenderlich, and I use cocos2d-x v. 2.0.4.
I having troubles with launching app on...
Petya
06:23 C++: RE: [Fixed] GLES2.0 on Android
There is no detectOpenGLES20 method in my project, I think this is because I use v 2.0.4 of cocos2d-x.
Thank you for ...
Petya
05:59 C++: RE: Error while calling getPercentageTransparent method of CCRendureTexture class in android...
What’s your cocos2d-x version?
I didn’t see the method **getPercentageTransparent** in **CCRenderTexture** class.
dumganhar
05:56 C++: RE: cant build project
What’s your cocos2d-x and ndk version?
It seems that you can’t find some gl functions.
dumganhar
04:25 Javascript Binding: RE: JS API (app design)
As I know,
1. game render is controlled by ccoos2dx, not javascript, so **design resolution size** can be set somewh...
canguangwang@gmail.com
03:52 HTML5: RE: How to make cocos2d work with IE8
unfortunately, the lowest version cocos2d-html5 supports is ie9.
ie 8 has rather poor support for html5 features, if...
Wuhao
02:14 C++: RE: Issue copying an Array
If you are using **CCArray::createWithArray**, please notice that the implementation of this method is using deep cop... dumganhar
02:11 C++: High Score on Web with cocos2dx WP8
Hi All,
I want to do high score for your game on web to get best player. But I dont know use wiht Cocos2d-x.
please...
xuanquyen46dp
02:04 C++: RE: Issue copying an Array
Could you provide more infomations? Your cocos2d-x version?
A demo project to reproduce this issue is better.
dumganhar
02:02 C++: RE: Bug: Memory leak with CCBAnimationManager
Yep, it seems to be a good fix of circular dependency.
So, could you send us a Pull Request at https://github.com/coc...
dumganhar
01:03 Game/Demo Showcase: RE: Qt-cocos2dx on Windows
I’ve had the same issue. Firstly ensure that you have compiled the cocos2dx project.
If it doesn’t help run a search ...
jurer

2012-12-04

22:45 C++: RE: cant build project
I copied the file from another project and started building.
I get a lot of errors! I also get this erros when buildi...
Jaytjuh
22:30 C++: Issue copying an Array
I have a CCArray with gameobjects. I have to destroy some of them. If I use a CCFOREACH or While, and remove some gam... Piperoman
22:22 C++: RE: plist sprites
I found this most helpful for me:
http://paralaxer.com/animation-spritesheets/
JT
22:13 C++: RE: plist sprites
for the animations.
regards!
stefano
Stefano Campodall’Orto wrote:
> Hi, there is a tutorial where I can learn to ...
lordubik
22:09 C++: Is the documentation-reference updated?
Hi, I use eclipse in android and I have no autocomplete option as XCode project has, so, I have to use the Documentat... Piperoman
21:44 C++: RE: iOS + Android: How can I use multi touch ?
thanks, gonna check it out!
Jaytjuh
21:42 C++: cant build project
After I editted and run create-android-project.bat I have a proj.android folder.
But there is no specific build\_nati...
Jaytjuh
21:25 C++: RE: iOS + Android: How can I use multi touch ?
This should help:
http://www.gmtdev.com/blog/2011/12/06/multi-touch-in-cocos2d-x
GMTDev
21:19 C++: RE: Bug: Memory leak with CCBAnimationManager
Hi Jakub,
Thanks for the reply. I did the exact same thing.
fgig77
20:55 C++: plist sprites
Hi, there is a tutorial where I can learn to use the plist file?
thanks!
Stefano
lordubik
20:54 C++: RE: Bug: Memory leak with CCBAnimationManager
Hey, I realize that you posted 25 days ago by now. But I can across this issue today as well when I was profiling my ... kubapl
20:37 C++: RE: Crash on Android
can you give the complete log of your error ?
I need more than “make: **\*** [obj/local/armeabi/libgame.so] Error 1”...
tiz
20:26 C++: CRenderTexture - How to clear the buffer correctly
Using the latest release 2.0.4 , Im using CRenderTexture to basically load up a “noise” texture, color it and apply a... meclor
19:44 C++: RE: Crash on Android
Julien becool wrote:
> Don’t know … I google for you and found this http://www.cocos2d-x.org/boards/6/topics/1753
Ho...
Drsmall
17:53 C++: RE: addTargetedDelegate fails with weird generic error in CCObject
Reply to myself:
Looks like I missed to inherit the CCTargetedTouchDelegate public. Weird error message though.
noomieware
17:34 C++: RE: [Fixed] GLES2.0 on Android
detectOpenGLES20 exist in the “src” folder of your project
in a package like com.cocos2dx.yourappname
in a file cal...
rabih_harb
17:30 HTML5: Problem when using cocos2dx html5 in window phone 8 app
Hi everyone,
I am using cocos2dx html5 in window phone 8 javascript app template.
When using plist or tmx assets, it ...
taka
17:13 HTML5: RE: HTML5 Framework/Windows 8 app released
Mark Andrade wrote:
> Paul,
\>
> I’d love to see an HelloWorld Windows 8 example myself. I’ve completed the porting o...
PaulS
17:01 C++: addTargetedDelegate fails with weird generic error in CCObject
Hi,
kicks for the newbie only accepted with hints to my problem \^\^
I have a CCNode subclass that perfectly works ...
noomieware
16:33 C++: Problem with CCRenderTexture [Windows 8 Metro]
Hello,
I trying to create kind of freehand drawing application (Win8). So, I was thinking to use CCRenderTexture for ...
ilidan
14:48 C++: RE: [Fixed] GLES2.0 on Android
Rabih harb wrote:
> thank you very much - it worked ….
\>
> private boolean detectOpenGLES20()
> {
> ActivityManager ...
Petya
13:40 Javascript Binding: JS API (app design)
I have several questions about Cocos2D-X JSB API.
I want to know if:
\* We can set the **`design resolution size`**, ...
crazyrems
13:26 C++: RE: Anyone tried the scoreloop wrapper upSL?
Hi,
Anyone have try out upSL with cocos2d-2.0-x-2.0.4 ,
i am having error in jni\_scoreloop.ccp
prototype for ‘void...
jigariam
13:20 C++: RE: upSL & Scoreloop SDK
Hello, I am facing an issue while integrating Scoreloop with Cocos2dx in Android.
Hi, I downloaded upSL-master.zip f...
vishalhsoni
12:42 HTML5: How to make cocos2d work with IE8
Hello,
I am developing a game for a client who unfortunately has only IE8 installed on his computer. I know that IE8...
CyrilG
12:22 C++: RE: Question on porting cocos2d-x project to android...
I’m looking for the same thing. If I understood correctly, you are trying to get some UI like UIKit for your game.
I...
danadn
10:23 C++: RE: Error compiling with callfuncO_selector() in android
Do you have several setAnimation functions in GamePiece?
redaur
10:23 C++: RE: report 2 bugs about 2.0.4
It’s the issue I met 3 months ago. See my fix here. https://github.com/cocos2d/cocos2d-x/issues/1283
It’s sad that it...
smilingpoplar
10:01 C++: Assertion Failed in function forceAddHandler, file CCTouchDispatcher.cpp, line 121
I am facing issue as mentioned below , i am using cocos2d-x 2.0 …
" Error is assertion failed: (0), function forceAd...
mangesh.kurve
09:55 C++: RE: Seems it is a bug
I am facing this same issue , i am using cocos2d-x 2.0 …
" Error is assertion failed: (0), function forceAddHandler ...
mangesh.kurve
09:43 C++: Scoreloop integration with Cocos2dx
Hi, I downloaded **upSL-master.zip** file.
In **Scorloop.h** file while declaring following line:
**static void Sub...
vishalhsoni
09:05 C++: iOS + Android: How can I use multi touch ?
My controls are basicly Left, Right, Jump, Shoot
I want the player to be able to start running holding Shoot + Left/...
Jaytjuh
08:22 C++: RE: [Fixed] GLES2.0 on Android
I’ve got same error when trying to launch app on emulator.
12-04 08:03:13.792: E/AndroidRuntime(1081): FATAL EXCEPTIO...
Petya
07:57 C++: RE: Cocosbuilder on Cocos2d-x 2.02 multi-resolution system?
Minggo Zhang wrote:
> You can put the same resolution resource in a directory, and use the CCFileUtils::addResourceDi...
llazyworm
07:29 C++: when I call cocos2d::JniHelper::getStaticMethodInfo,Fatal signal 11 (SIGSEGV) occured
My app can run normally on android devices or emulators from eclipse except Kindle fire tablets,inclucding kindle fir... skychongrichie
07:09 C++: RE: Windows 8 DirectX and XAML
Yop Chan wrote:
> Hi Nibor,
> I am looking for cocos2d-x + xaml solution too, and I found that you’ve done pretty wel...
pinky2012
07:08 C++: CCWaves3D, CCRipple3D doesn't work after enable kCCDirectorProjection2D
Hi,
It seems CCWaves3D/CCRipple3D doesn’t work if project is set to kCCDirectorProjection2D:
CCDirector::sharedDire...
likexx
06:30 C++: RE: How to call java function from c++?
Thanks for the quick reply. Agree that JniHelper.h and .cpp is there. I have also written below includes,
\*
\#includ...
vishalhsoni
06:22 C++: RE: How to call java function from c++?
It’s in the folder of COCOS2DX\_ROOT/cocos2dx/platform/android/jni.
huiyichris
05:27 C++: In glScissor use glScissor
When we use the function to cut a visualable area,like this:
`void beforeDraw()
{
m_scissorState=glIsEnabled(GL_S...
undercall
05:04 C++: RE: How to call java function from c++?
@Chris Du: How did you find jni.h and Jnihelper.h. I am having same issue?
vishalhsoni
04:44 C++: RE: Get runninScene inside appDelegate.cpp
1. At first set a tag for each scene. e.g
@ CCScene \*scene = CCScene::create();
scene-\>setTag(GAME\_SCENE\_TAG);@...
backboy.r
04:41 C++: RE: Windows 8 DirectX and XAML
Hi Nibor,
I am looking for cocos2d-x + xaml solution too, and I found that you’ve done pretty well on it…
May I have ...
chanyuenpang
04:04 C++: Error while calling getPercentageTransparent method of CCRendureTexture class in android(Ecl...
Hi,
I am working on scratcher application. I have used method “getPercentageTransparent” method of class CCRenduretex...
abid.hussain
04:00 Extensions: About Networking
Hi everyone , I’m going to dev a MMO game with cocos2dx
I’m currently working with visual 2012 and want to build a g...
BrokenHell
03:05 C++: Error compiling with callfuncO_selector() in android
HI, I’m getting a compile error in Android where the same code compiles in Xcode with the arguments for callfuncO\_se... bing
02:36 Lua Binding: Lua&&Java&&OC
How can i find a way of conmunication between Lua , java/android and object-c ?
Could i get some help from CCLuaEngin...
Jayshon
01:57 C++: RE: How to change CCNode's parent?
Thanks very much.
Finally, as your suggestion, the code as follows:
A.retain();
B.removeChild(A, true);
C.addChild(A);
applejday
01:55 C++: RE: report 2 bugs about 2.0.4
to Minggo Zhang,not works..
wait for next stable version
dskobg
00:07 C++: Project didin't recognize HelloWorld Class
Hi,
I try to create a project with two classes
First:
HelloWorldScene.h
#include "cocos2d.h"
#include "CatSp...
fabiobh

2012-12-03

21:43 HTML5: RE: HTML5 Framework/Windows 8 app released
Paul,
I’d love to see an HelloWorld Windows 8 example myself. I’ve completed the porting of several games to cocos2d...
markandrade
21:22 C++: RE: How to make Cocos2dSimpleGame in version 2.0.4 ?
nevermind! I didnt notice the SimpleGame folder wich is in the Samples :P
Jaytjuh
19:49 C++: RE: Windows 8 DirectX and XAML
I’ve doing some more trial and error combining of code and …. voila ….. Cocos2d-X Helloworld behind a XAML window (se... pinky2012
19:06 HTML5: RE: TMX How to Acces polyline points
Hi guys, just resolved this way
i added these lines to `CCTMXXMLParser.js line 682` to parse those options too.
in c...
valleskon
18:58 C++: RE: Error: EXC_BAD_ACCESS on line 72 ccCArray.cpp
I found the solution.
The problem was that I didn’t initialize the parent object the right way.
I used:
Animate...
tohotforice
18:18 HTML5: TMX How to Acces polyline points
Hi,
just looking for a example ho to load property the polyline made in the TMX file
var layerObjetos = ...
valleskon
17:38 C++: RE: [Extensions] Chartboost Wrapper for cocos2d-x
Thanks. Before I saw your implementation I did my simple Chartboost wrapper iOS only.
It’s a bit simpler then yours ...
festival
16:19 C++: GUI For Chat
Hey,
I want to make an ingame chat for a cross platform (Android + iOS) game.
For this I need gui elements (TextInpu...
RudolfVonKrugstein
16:08 C++: RE: How to make Cocos2dSimpleGame in version 2.0.4 ?
btw, does anyone has some good tutorials about Cocos2d-x version 2 ?
The tutorials on this site involve a lot of depr...
Jaytjuh
16:06 C++: How to make Cocos2dSimpleGame in version 2.0.4 ?
I can’t get passed Chapter 5 How to Detect the Collisions
http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapter\_5...
Jaytjuh
15:44 C++: RE: BUG: Direcror->end() leads to Android killing process instead of finishing activity
I also noticed that the life-cycle management might not be correct. If the onDestroy() is called the native side is n... teemukorh
15:38 C++: RE: Does cocos2d-x support loading .pkm(etc1) texture directly?
Sorry to open such an old post, but i really would like to know if there ara any plans to make Cocos2d-x support this... Tenchy
14:05 C++: RE: BUG: Direcror->end() leads to Android killing process instead of finishing activity
Hi,
I implemented a JNI function, which returns a flag whether to close the app or handle back key custom way not. T...
teemukorh
12:49 C++: RE: Set opacity for all child of CCNode
I do it so:
void setOpacity(CCObject* object, GLubyte opaque)
{
CCArray* childs = NULL;
CCOb...
Mikrokot
11:40 C++: RE: Implementation of Delegate methods in cocos2dx
Should be a mistake in De Meng’s example. Not MyDelegate but MyClassDelegate.
redaur
11:23 C++: RE: How to change CCNode's parent?
At first remove it from the current parent and then add to the new parent
backboy.r
11:19 Game/Demo Showcase: [WP] [Physics Kids Game] Jump Monkey
Hey guys, how are you doing!?
Just released my new game, Jump Monkey (http://bit.ly/jumpMonkey), at Windows Marketpl...
pekayatt
11:05 C++: RE: How to add Poco library in the Android.mk
//////////////poco-1.4.4-all with Android Linux
/usr/local/android-ndk-r7-crystax-5.beta2/build/tools/make-standalon...
fatalfeel
10:27 C++: RE: Fatal signal 4 (SIGILL) at 0x5b9a85d4 (code=1)
i had solved this problem,
my png pictures is 2048\*4096 ,and the Motorola can’t support more than this size , so i c...
jetion
10:26 C++: cocos2d-x integrate zxing barcode scanner
Hello all,
I am start to making the project that using cocos2d-x 2.0.4 version and integrate zxing (Famous Bar code ...
cyruschoi
10:14 C++: OpenGL 1 to 2 port on Cocos2d-x 2.0.4 not working
I am trying to port [Tiny Seal](http://www.raywenderlich.com/3888/how-to-create-a-game-like-tiny-wings-part-1) [Tiny ... cocos2dfan
08:22 C++: How to read XML values
I am able to read an xml file using CCFileUtils in cocos2d-x and my sample output is:
<properties>
<stage>1</stage>
...
jovenrp
07:27 C++: RE: cocosbuilder ccmenuitem
Either you have not defined selector “clickAction” or you have given colon(“:”) after the Selector name in cocos buil... progfast
07:20 C++: RE: What's the needs of "Asset manager"?
Perhaps an abstracted function to use platform specific cloud storage (if available) would be nice.
pinky2012
07:16 C++: RE: Are there plans to support cocos2d-x 2.x on Bada platform
Hope some one make it :)
vungockien
06:33 C++: RE: Implementation of Delegate methods in cocos2dx
De Meng wrote:
> […]
Hi De Meng,
interesting post. But what kind of Object do you mean by “MyDelegate \*delegate”? ...
saedelaere
06:32 C++: RE: Cocosdenshion [gles branch]
The same problem exists for Blackberry 10. Apparently, my build also play the same background music even when I call ... ruka
05:37 C++: RE: Error: EXC_BAD_ACCESS on line 72 ccCArray.cpp
Yea, I think so. I created a CCSprite subclass which initializes a CCArray like so:
this->animations = new CCArr...
tohotforice
04:57 C++: RE: android.mk file error
no i did not rename it..i have also proj.android~~\>jni~~\>testcpp-\>main.cpp..but the same problem is occurring agai... gamier
04:28 C++: RE: CCRender texture strange bug.
The reason why is because CCRenderTexture defaults to GL\_NEAREST for sampling. Your solution works because when you ... chenium
03:52 C++: RE: [BUG] Shader is lost when pressing the home button and resuming the game
Ok, got it fixed by using CCNotificationCenter and EVNET\_COME\_TO\_FOREGROUND :)
Obg1
03:24 C++: RE: Fatal signal 4 (SIGILL) at 0x5b9a85d4 (code=1)
i run the game normal in the telephone of HUAWEI , Android 2.3.3 and Android 4.0.3 system, but failed in Motorola And... jetion
03:21 C++: RE: Fatal signal 4 (SIGILL) at 0x5b9a85d4 (code=1)
12-03 11:16:22.398: D/libEGL(11957): loaded /system/lib/egl/libGLES\_android.so
12-03 11:16:22.452: D/libEGL(11957): ...
jetion
03:20 C++: [BUG] Shader is lost when pressing the home button and resuming the game
Hi,
I’m attaching a shader to a CCSprite and it works well.
The problem is that the shader is lost when pressing the ...
Obg1
02:54 C++: How to change CCNode's parent?
Hi, guys, I want to know how to change a CCNode’s parent, as bellows:
A is Child of B, and B is Child of C; I want c...
applejday
02:08 C++: RE: Set opacity for all child of CCNode
You should inherit CCNode, then override setOpacity(), and add all sprites as its child.
zhangxm
01:52 C++: Set opacity for all child of CCNode
I want to set opacity for all child of CCNode.
Ex: CCNode A, CCNode B is child of A, CCSprite C,D is child of B, CCSp...
long.bkiter07
01:37 C++: RE: Proguard problem
Hey Don,
Yea I used BillingLibrary from RobotMedia. Here is the Proguard config I am using. (Just remove the things ...
Zhenmuron
01:33 C++: RE: report 2 bugs about 2.0.4
You can use latest java codes to have a try.
zhangxm
01:31 C++: RE: when i called JniHelper::getStaticMethodInfo, app crash
can you offer your android code ?
jetion
00:41 C++: RE: Proguard problem
hello Robert,
congratulations for your application and thanks for suggest about Proguard
I would like to ask you a ...
Donmizzi
00:27 C++: report 2 bugs about 2.0.4
1.use CCLabelTTF::labelWithString(const char **string, const CCSize& dimensions, CCTextAlignment hAlignment, const ch... dskobg

2012-12-02

21:57 C++: RE: Error: EXC_BAD_ACCESS on line 72 ccCArray.cpp
Did you create an array you are accessing?
PS Please wrap your code in \< pre \> tag.
redaur
20:51 C++: RE: Feature request - implement set/getEffectsVolume and set/getBackgroundMusicVolume
as workaround I use setEffectsVolume(0.0001)
seems work
bye
Donmizzi
20:49 C++: RE: Building for release and disabling logs on Android
I am also interested
There is something new
thanks
Don
Donmizzi
20:03 C++: RE: setTouchEnabled prevents destructor from being called
Thanks for your reply Walzer and for responding so quickly!
I tried your suggestion of calling setTouchEnabled(false...
edyvangogh
19:30 HTML5: solución a bug para reproducir música y efectos
Logre reproducir bien música y efectos de la siguiente forma:
Precargandolos así: (note la diferencia entre la músic...
codigotutor
18:51 C++: Deformable terrain (Box2d or Chipmunk)
I’m looking at creating a game that requires a physics engine and deformable terrain. So far the only solutions find ... Billy.Lavoie
17:46 C++: RE: Basic Cpp Array Object Problem
Yea that solved it. But I got another error with the array, I opened a new thread, so it’s easier to follow.
tohotforice
17:34 HTML5: RE: CLD1, a game made with cocos2d-html5 for charity game jam
Thanks Shun Lin,
I aimed this game for desktop-based, mouse will be used only in the game-play stage, others screen u...
haxpor
15:37 C++: RE: How to make CCFollow follow the mouse and move camera with mouse?
Nothing happen with this. Look my code:
#include "HelloWorldScene.h"
CCScene* HelloWorld::scene()
{
...
prchakal
15:25 C++: Error: EXC_BAD_ACCESS on line 72 ccCArray.cpp
Hi all,
I encountered a new problem while filling an array with objects.
This is the thread stack when the error oc...
tohotforice
14:57 C++: Ndk debug cocos2d-x 2.0-2.0.4
Hello everyone!
I’m trying to debug my game project on android platform. So, first of all i try to debug helloworld p...
Gring
14:26 Collaboration and Hiring: Google play developer account
Hi
we live in iran and can not directly open developer account in google play or app store for my game.
i need to ope...
roj
14:21 C++: RE: Eclipse Android setup
Hi!
Glad to hear it finally works =)
If you find anything for the build times, I’ll be happy to see it :)
Cheers,
...
Killradio
13:26 C++: RE: is FontLabel not supported anymore in 2.0.4?
okay, thanks !
lijunjie
10:30 HTML5: RE: CLD1, a game made with cocos2d-html5 for charity game jam
I started it successfully. It is controlled by keyboard.
But I can’t find out how to control it.
Please paste the t...
ShunLin
10:25 HTML5: RE: CLD1, a game made with cocos2d-html5 for charity game jam
Congratulations!
I tried the game, but it doesn’t work when I click “play” item.
Could you please check the game?
ShunLin
10:19 C++: RE: Can I draw a image (like a sprite) on more position on the screen?
Thanks. That is it.
dreifrankensoft
07:11 C++: RE: Can I draw a image (like a sprite) on more position on the screen?
as above, CCSpriteBathNode is the best choose
huangliulove
07:03 C++: RE: How to make CCFollow follow the mouse and move camera with mouse?
you should move current layer with opposite position,
@
CCMoveTo\* action = CCMoveTo::create(1.0f, ccpMult(selectedOb...
huangliulove
05:08 C++: when i called JniHelper::getStaticMethodInfo, app crash
MAC OS X 10.7.5
cocos2d-2.0-x-2.0.3
i searched many resources about how to use JniHelper, but when i call this metho...
pinkboy
02:38 C++: RE: is FontLabel not supported anymore in 2.0.4?
FontLabel is removed from v2.0.4, cause UIFont already supports custom font loading and rendering.
Please refer to th...
walzer
02:36 C++: RE: Can I draw a image (like a sprite) on more position on the screen?
No, you can’t. A sprite have only one position param.
But you can create lots of sprite from one texture, like this
...
walzer
02:26 C++: RE: setTouchEnabled prevents destructor from being called
Designed as this. setTouchEnabled(true) will register this node into CCTouchDispatcher as a standard delegate. CCTouc... walzer

2012-12-01

23:50 C++: RE: How to make CCFollow follow the mouse and move camera with mouse?
But i dont understand it. If i move the current layer and i have only one layer, it go out of screen. Im using the He... prchakal
23:13 HTML5: RE: a simple angry birds using Cocos2d-HTML5
mahdi 7\$ wrote:
> Hamed M wrote:
> \> درود به بچه های گل و فعال ایرانی D:
> \> من از امروز شروع کردم کار کردن با این...
papmodern
22:07 C++: setTouchEnabled prevents destructor from being called
Hello,
I have a class that is a subclass of CCLayer. I found if I call setTouchEnabled(true), the destructor never g...
edyvangogh
21:59 C++: RE: Basic Cpp Array Object Problem
Simpliest way I see is to store std::string in objects, not ... redaur
21:24 Lua Binding: RE: TestLua in 2.0.4 is all is throwing LUA ERRORs all over the place
Yes, that casting code helps, thank you.
EffectsTest to MotionStreakTest throw the casting error. Specifically in Pa...
hawkwood
21:11 C++: Can I draw a image (like a sprite) on more position on the screen?
Currently I use this:
for (int x = 0;x < 20; x++)
{
CCSprite* pSprite = CCSp...
dreifrankensoft
20:58 C++: RE: How to run an animation for as long as other action is ongoing
how about
CCRepeatForever::create(CCAnimate::create(normal))
instead of animN
you could find more useful api...
lijunjie
20:18 C++: RE: How to run an animation for as long as other action is ongoing
let my bump my topic.
can anyone help me?
elvisPA
20:15 C++: is FontLabel not supported anymore in 2.0.4?
I recently updated my project from “cocos2d-2.0-rc2-x-2.0.1” to “cocos2d-2.0-x-2.0.4”,
and found out that the labels ...
lijunjie
20:12 C++: RE: How to make CCFollow follow the mouse and move camera with mouse?
When you drag the physicsprite, you can get the position and use “CCMoveTo” to move current layer
huangliulove
16:09 C++: Windows 8 DirectX and XAML
Is there anyone that can help me figure out how to create a Cocos2d-X project using SwapChainBackgroundPanel in order... pinky2012
14:19 C++: RE: Can't find the binary "TestCpp.exe", is there build error?
M Nelissen wrote:
> Here i am again with another question..
> I ran the install-templates-msvc.bat and i thought it i...
tomtc123
13:57 Lua Binding: RE: TestLua in 2.0.4 is all is throwing LUA ERRORs all over the place
I found that ActionsEaseTest had problems which other modules give you errors and where?
Note the following cast sho...
RetryAgain
13:33 C++: Help me for porting isometric tiled map from cocos2d for iPhone to cocos2dx
hi everybody,
I am trying to convert some Cocos2d-iphone code to Cocos2d-x code but some weird things happened with ...
iwado
13:25 C++: RE: Basic Cpp Array Object Problem
Okay, I worked it out.
It was a problem with stringstream, which I used to create the tags for the object.
What I di...
tohotforice
11:18 Extensions: RE: UIScrollView solution for cocos2d-x
Updated this scroll layer for Cocos2d-x V2.x - cleaned up some stuff too. Enjoy!
festival
11:03 C++: RE: Best way for creating a book-like object
It does not have to be the best way.
Suggest me anything different than my approach for solving this problem.
jdex
08:31 C++: RE: Basic Cpp Array Object Problem
Yea, with sprites it works fine, but since I created my own subclass of CCObject it’s not working.
Maybe the subclass...
tohotforice
07:53 HTML5: RE: a simple angry birds using Cocos2d-HTML5
Hamed M wrote:
> درود به بچه های گل و فعال ایرانی D:
> من از امروز شروع کردم کار کردن با این موتور بازی سازی رو
> وقت...
mahdi7s
07:33 C++: RE: Particles Question
I have added a clearer gif:
![](http://i.imgur.com/qw3WE.gif)
Pickleman
06:54 C++: getting unusual errors in marmalade project
hiii,
i have been using cocos2dx 2.0 for porting an existing game for intel playbook using marmalade.
when i build ...
jay_dubal
05:42 HTML5: RE: On this function
Interesting question for me, I have some hard time working with CallFunc in the case of sending parameters.
I’m only ...
haxpor
05:01 C++: RE: Particles Question
Anyone?
Pickleman
03:29 HTML5: What's equivalent fuction in coco2d javascript for iOS delegate function
-(void)shootMissile {
//Send missile to delegate for storage
if ([delegate respondsToSelector:`selector(shootMissil...
lilzz
03:25 HTML5: On this function
cc.CallFunc.create(this.\_grossini, this.removeFromParentAndCleanup, true));
removeFromParentAndCleanup:function (pS...
lilzz
02:08 C++: How to compute for accelerometer speed and sensitivity base on screen resolution?
Good day to all!
I am testing my app on 240x320 samsung galaxy y and set the speed to 100.0f
and sensitivity to 15.0...
jovenrp
00:16 C++: RE: Crash on Android
Don’t know … I google for you and found this http://www.cocos2d-x.org/boards/6/topics/1753
tiz
00:16 C++: RE: Crash on Android
Don’t know … I google for you and found this http://www.cocos2d-x.org/boards/6/topics/1753
tiz
00:03 HTML5: Can't seem to add the Background
First method, this works
var layer1 = cc.LayerColor.create(new cc.Color4B(20, 139, 159, 255), 400, 600);
layer1.set...
lilzz

2012-11-30

23:19 C++: RE: Basic Cpp Array Object Problem
You don’t need to implement copy(). I create my objects and populate arrays with them fine. There must be a problem i... redaur
22:22 C++: [WP 8] HelloWorld build problem
Hello guys. I have tried to build this solution: http://www.cocos2d-x.org/news/76 but got error: error LNK1104: canno... DJdiablo
22:17 Lua Binding: TestLua in 2.0.4 is all is throwing LUA ERRORs all over the place
I am new to Cocos2d-x and hoping to port over some Corona SDK apps written in Lua to Cocos2d-x. I downloaded the late... hawkwood
22:06 C++: RE: Crash on Android
David Small wrote:
> Julien becool wrote:
> \> Yes the ndk path in the include properties and also the env variable N...
Drsmall
22:03 Game/Demo Showcase: RE: Luminus - puzzle video game powered by cocos2d-x. Now on Google Play.
Interesting game idea, nice graphics. Good work guys, keep going!
randomize46
21:28 Lua Binding: RE: add new class to lua( using tolua++)
Added class CCKeyboardNotificationLayer these are the files I had to change or add and some of the changes.
file: co...
RetryAgain
19:55 Game/Demo Showcase: Luminus - puzzle video game powered by cocos2d-x. Now on Google Play.
Today me and my friend released a puzzle video game called *Luminus*. Now it is available on Google Play.
===========...
Valmar
19:54 C++: RE: Basic Cpp Array Object Problem
The access is completely fine:
@
AnimationClass \* anim = static\_cast<AnimationClass*>(this~~\>animations~~\>objectA...
tohotforice
19:45 C++: How to make CCFollow follow the mouse and move camera with mouse?
How to make CCFollow follow the mouse and move camera with mouse?
1 - How to make like angrybirds, move around scene...
prchakal
18:37 C++: Example to load SpriteHelper and LevelHelper files?
Hi,
Anyone have example to load SpriteHelper and LevelHelper files?
All the objects in LevelHelper are created auto...
prchakal
18:35 C++: RE: CCFollow dont Follow
The problem is that CCFollow dont follow the object and PhysicSprite doesnt update the sprite X/Y, becuase this, i ha... prchakal
17:31 C++: RE: Basic Cpp Array Object Problem
See no problem in how you fill your array. Maybe you access objects not correctly?
redaur
17:08 C++: RE: Compile error for playbook simulator
Fabio thank you for your answer, I tried to make ‘clean’ operation and rebuild the project, but it didn’t help :( . I... Bloodbyte
16:51 C++: version 2.0.4 cocos2d::extension::CCEditBox bug?
英语不好,用中文表达,不好意思。
针对cocos2d::extension::CCEditBox 最近发现新版的有加扩展的功能。就使用了下,发现以下bug
1. setInputMode(kEditBoxInputModePhone...
cqd
16:45 C++: 发个bug setContentScaleFactor 和 getContentSize
不好意思,英语水平不行,只能发发中文了。
现在2.0.4版本的CCSprite::setContentScaleFactor 有点问题,不信你试试参数分别输入2.0, 1.9, 2.1 时getContentSize返回的值看看有什么...
cqd
16:32 C++: RE: Basic Cpp Array Object Problem
copy is not supported in Cocos2d-x.
Is there another possibility to fill an array with objects?
tohotforice
15:16 C++: RE: Leaderboard and Achievements for Android
Yes, Scoreloop.
You can use the upSL wrapper to implement it in cocos2d-x or write your own jni functions.
https://g...
edwinvanpoeijer
14:18 C++: Best way for creating a book-like object
This is my first post on this board so hello to all of you.
I’ve been using cocos2d-x for 2 months now and it’s going...
jdex
13:36 C++: RE: android.mk file error
In my project , proj.android~~\>jni~~\>test-\>main.cpp. It’s right to use “LOCAL\_SRC\_FILES := test/main.cpp”.
BTW,...
singoon
11:46 C++: Leaderboard and Achievements for Android
Hi,
Is there any good solution for Leaderboard and Achievements for cocos2dx in Android?
Like GameCenter in iOS.
T...
josemarin
11:10 C++: RE: is there are way to create android.mk automatically
Hi! so.. I badly need to convert obj-c codes to c++ D:
Thanks BTW! :D
ahryzh_17
10:54 C++: RE: LevelHelper and SpriteHelper compatible with Cocos2d-X 2.x ?
I’m using it with 2.0.3 and its (generally) working ok for me.
The developer seems good at providing updates and mak...
edamreed
10:37 C++: Fatal signal 4 (SIGILL) at 0x5b9a85d4 (code=1)
i finish a game by cocos2d-x 2.0.4. and now i port it to the android. it runs normal in the Android 2.3. but when i r... jetion
09:57 C++: RE: About network
Same question here , I’m want to dev a MMO game on IOS and android , but dont know where to start on client.
p/s: I ...
BrokenHell
09:41 HTML5: CLD1, a game made with cocos2d-html5 for charity game jam
Hey guys, just a quick update to let you know that my team made a game named “**CLD1**” which backed by cocos2d-html5... haxpor
09:38 C++: RE: Compile error for playbook simulator
I have several problems with blackberry too.
First when you try deploy change cocos2d-x project and all others(like b...
fabiobh
09:31 C++: RE: android.mk file error
The error is “make: **\*** No rule to make target \`jni/../../Classes/testcpp/main.cpp’, needed by \`obj/local/armeab... gamier
09:30 C++: RE: android.mk file error
i copied and pasted what you said but having same error..:(
gamier
08:52 C++: RE: how to adapt defferent resolution of wp8 in cocos2dx-wp8?
i also get the problem,so far i do not get any device runed with windows phone 8,so i am not sure whether it’s the bu... tiner
08:25 C++: Where can I download /platform/third_party/android/source ?
Where can I download /platform/third\_party/android/source ?
singoon
08:23 C++: RE: android.mk file error
ndk can’t find main.cpp.
you can modify “LOCAL\_SRC\_FILES := testcpp/main.cpp ” to "LOCAL\_SRC\_FILES := ../../Class...
singoon
08:11 C++: RE: how to adapt defferent resolution of wp8 in cocos2dx-wp8?
okie, I try run Sample project Test of cocos2dx0.13 for WP8. I see dont click to Item of menu when run with simulator... xuanquyen46dp
08:03 C++: RE: How to run code differently basing on each flatform?
Thank Igor so much.
ndpduc
07:41 C++: Windows 8 CreateProject improvement
Heya,
I am new to the forum, just started toying around with cocos2d-x not long ago and now tried Cocos2d-x for Wind...
Shanee
07:28 C++: Portable projects and build times.
Hey there,
I recently started with cocos2dx, and after alot of trouble, have got a simple program working that I cre...
Ravine
07:13 C++: android.mk file error
hi, i m getting this error when i run my app on eclipse for android “make: **\*** No rule to make target \`jni\_‘/tes... gamier
06:36 C++: RE: how to adapt defferent resolution of wp8 in cocos2dx-wp8?
ok,i don not know your question cleayly,maybe there are some disfriendly code in your file.
tiner
06:35 C++: RE: Android.mk for Building Against NDK
hi, i m getting this error when i run my app on eclipse for android “make: **\*** No rule to make target \`jni\_‘/tes... gamier
06:34 C++: RE: Fix android.mk
hi, i m getting this error when i run my app on eclipse for android “make: **\*** No rule to make target \`jni\_‘/tes... gamier
05:59 C++: RE: Basic Cpp Array Object Problem
So copy is the magic? \^\^
tohotforice
05:13 C++: RE: how to adapt defferent resolution of wp8 in cocos2dx-wp8?
Hi I have the same problem : I create a menu but I dont click to button in this menu with 720p. but with WVGA I can.
...
xuanquyen46dp
04:59 C++: RE: Multi-resolution support(since cocos2d-2.0-x-2.0.4)
First of all I wanted to make my .pvr.ccz files common so that regardless of device I access the same .pvr.ccz file.
...
vishalhsoni
04:53 C++: RE: Multi-resolution support(since cocos2d-2.0-x-2.0.4)
Did you mean that you can’t select respective **.pvr.ccz** files? Or the **.pvr.ccz** file can’t be displayed?
dumganhar
04:07 C++: RE: Porting old code to new (old iterator and "touch>view()")
`touch->getLocation();`
yurenjimi
03:59 HTML5: RE: BB 10: Keyboard Text input not working
Awesome. Thank you!
i68040
03:55 C++: RE: Basic Cpp Array Object Problem
Do you mean:
AnimationClass * anim;
anim = AnimationClass::create();
anim->numOfFrames = numFrames;
...
yurenjimi
03:43 Lua Binding: add new class to lua( using tolua++)
If i want to use a class in Lua which declare in my cocos2d-x project, must I add the convert function to LuaCocos2d.... lovelonger
03:16 C++: RE: Cocos2dxRenderer FPS controlling
This function is used for controlling fps. But i forgot why x2. May be we should remove the codes.
zhangxm
03:08 C++: RE: CCUserDefault, ios/android game and game updates
Ok, thanks for the Tips.
you can add [solved] at the head of the topic.
yurenjimi
03:01 C++: RE: CCFollow dont Follow
It is initialize on method “addCheckPoints”, because this, it is comment on “createObjects”, it is already created.
prchakal
03:01 C++: RE: Access CCKeypadDispatcher SharedDispatcher()
CCDirector::sharedDirector()->getKeypadDispatcher()
yurenjimi
02:58 C++: RE: CCFollow dont Follow
void HelloWorld::createObjects()
{
// selected and camera object
//selectedObject = new Physi...
yurenjimi
02:45 C++: RE: CCFollow dont Follow
Has you tried some sample code in your HelloWorld ??
Such as
@
CCSprite \*hero = CCSprite::create(“CloseNormal.png”)...
yurenjimi
02:19 HTML5: RE: Changing cursor to custom image
Thanks, I will try to add a sprite to follow the sprite position. If that doesn’t work well, I will use CSS. I will p... CyrilG
02:08 C++: RE: Cocos2dxRenderer FPS controlling
This is an answer I got from Romain Guy (Android framework engineer):
Window composition is vsynced and drawing ...
Obg1
02:05 C++: RE: CCFollow dont Follow
I think that it is a bug.
My code:
#include "HelloWorldScene.h"
CCScene* HelloWorld::scene()
{
...
prchakal

2012-11-29

23:39 C++: RE: OpenGL error 0x0500 in -[EAGLView swapBuffers]
In CCParticleSystemQuad
change
glEnable(GL\_VERTEX\_ARRAY);
to
glEnableClientState(GL\_VERTEX\_ARRAY);
cocos2dx ...
moc
22:59 C++: RE: Crash on Android
Julien becool wrote:
> Yes the ndk path in the include properties and also the env variable NDK\_ROOT:
> - in eclipse...
Drsmall
21:41 C++: RE: Howto: Build your Metro app for ARM & x64
Amazing work Trent, thanks!
Confirming it all seems to work testing on my WinRT ARM tablet.
shinethesun
21:25 C++: Compile error for playbook simulator
Hi
I’m trying to compile my app for bb playbook and I’m getting the following error:
/Developer/SDKs/bbndk-2.1.0/ho...
Bloodbyte
21:03 HTML5: RE: repeatForever within a Sequence?
just answered my own question. repeatForever will never work and I was looking at my sequence issue wrong. I fixed th... mteipe
20:20 C++: Access CCKeypadDispatcher SharedDispatcher()
How can i get CCKeypadDispatcher::sharedDispatcher()-\>dispatchKeypadMSG
I basically cannot call it and *i really ne...
timmy2019
20:16 HTML5: repeatForever within a Sequence?
Let’s say for example I have an animation sequence of a helicopter sprite flying around the screen yet I want the rot... mteipe
19:01 C++: RE: CCUserDefault, ios/android game and game updates
Ok, i found the answer. CCUserDefault stores the xml file under:
application\_home/library/caches
The iOS App Progr...
lukeluke
16:43 Game/Demo Showcase: RE: Precopter - Available on iPhone
Here you can watch a gameplay video (You can see the first level and the virtual buttons control)
http://www.youtube....
peter.korodi@gmail.com
16:25 C++: LevelHelper and SpriteHelper compatible with Cocos2d-X 2.x ?
Is LevelHelper and SpriteHelper compatible with Cocos2d-X 2.x ?
I want buy it but i dont know if it is compatible an...
prchakal
16:15 HTML5: RE: Setting Size of selection zone for MenuItem
thank you I will test that tonight :) .
1- Do you know if there is an effect to fold/unfold a layer ? I am trying to ...
lefla
16:02 Javascript Binding: RE: JavaScript Bindings
That’s great!
I’m glad i could help.
Good luck on your games!
Rémy T. wrote:
> Yay, Thank you IT WORKS !
> I have t...
pinosh
15:41 Javascript Binding: RE: JavaScript Bindings
Hi again,
Thanks! Managed to get it working properly now. Struggled with my namespaces making it so that the script ...
h3nk3
15:32 Javascript Binding: RE: JavaScript Bindings
Yay, Thank you IT WORKS !
I have to make some games with the game center, now I can do it from JS ![]()
Thanks again
crazyrems
15:05 Javascript Binding: RE: JavaScript Bindings
In c++ you need to register your new native functions by using addRegisterCallback of ScriptingCore (check TestJavasc... pinosh
15:04 C++: create image!
there is a way to create a sprite from a url? (open/download a png from http request)
Regards!
Stefano
lordubik
14:43 Javascript Binding: RE: JavaScript Bindings
Hi,
I have my binding files, (cpp, hpp and js), everything seems OK, so how the binding between JS and C*+ are made ...
crazyrems
14:12 C++: RE: is there are way to create android.mk automatically
hm…
1. Android don’t understands Obj C language
2. "~~name \*.cpp"~~ it takes cpp files only
victrl
14:03 C++: RE: is there are way to create android.mk automatically
My Android.mk looks like this:
> LOCAL\_PATH := \$(call my-dir)
\>
> include \$(CLEAR\_VARS)
\>
> LOCAL\_MODULE := g...
Piperoman
13:38 C++: Get runninScene inside appDelegate.cpp
Hi,
I want to know if it’s possible to get the runningScene inside AppDelegate.cpp.
I have 3 scenes, HelloWorldScene,...
fabiobh
13:14 Javascript Binding: RE: 我这样绑定 对吗?
搞定了。。解决方式。。如下
首先是。。代码 写的位置的问题。。。貌似 写在类的下面 可能是有问题的。。具体不清楚 直接写在 cocos2d,cpp里就好了
另外。。网上的一些 jstring的方法 都不管用,全都报错,个人认为可能是...
weisuolong
13:14 C++: I Can not show sprite when onPause is called (on Android device)
I am porting an existing game from ios to android using cocos2dx. When the app is paused, eg by clicking the “lock” b... tomastyv
13:11 C++: Game Center (overlay objective-c methods)
Hi all
I trying implement Game Center, using this http://www.raywenderlich.com/3276/how-to-make-a-simple-multiplayer...
ifedorov
13:07 C++: Multi-resolution support(since cocos2d-2.0-x-2.0.4)
Hi,
I am developing for Android. I used this link [[http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Multi\_resoluti...
vishalhsoni
13:01 C++: RE: Eclipse Android setup
Holy Komoly,
Something works![]()![]()
Okay, as you suggested, I created a new project using the create-android-pro...
Ravine
12:44 C++: RE: Admob integration with cocos2d-x 2.0.3 in android plataform
My admob code work perfectly.
The problem is that I create a method to pause my game, is that method that make my ga...
fabiobh
12:12 C++: Admob integration with cocos2d-x 2.0.3 in android plataform
Hi,
I use the HelloCpp example and try to show an admob ad inside it.
I use the following code in my onCreate method...
fabiobh
12:12 C++: RE: Cocos2dxRenderer FPS controlling
I had the same issue on my HTC One X (again a high end device).
I suspect that the condition check on interval \< an...
edamreed
10:49 C++: RE: CCFollow dont Follow
Hi
But the CCRect is 1000x1000px, no? Its not correct? My iPhone 3GS is 480x320px.
I think that this part is OK, no?
prchakal
10:28 C++: RE: Cocos2dxRenderer FPS controlling
Hi,
Thanks for sharing! Saved about 1000 hours of man work from us :)
Had exactly the same problems, worked with Ga...
teemukorh
10:26 HTML5: RE: Having trouble to run the play sound effect function.
the current version of cocos2d-html5 is v2.0
updated version of cocos2d-html5 and use new audio api ;)
html5china
10:24 HTML5: RE: How far its compatible to use Html Dom objects, when we are developing application usi...
we will add cc.ControlEditBox to Cocos2d-html5 soon. this control will implement function of textinput box. please wa... ludingping
10:23 HTML5: RE: How far its compatible to use Html Dom objects, when we are developing application usi...
that depend on your html and css skills,
if you are not good at html/css, the game engine provides cc.DOM and minifr...
Wuhao
10:18 C++: RE: how to adapt defferent resolution of wp8 in cocos2dx-wp8?
thanks for your help,i will try it later.
cocos2dx-wp8 is cludeed in my app, there are some codes like this,i think ...
tiner
10:18 C++: RE: How to run code differently basing on each flatform?
There’s CC\_TARGET\_PLATFORM macro defined in platform/CCPlatformConfig.h. Example usage:
#if (CC_TARGET_PLATFOR...
redaur
10:15 HTML5: RE: Changing cursor to custom image
you could hide the mouse cursor, then add a sprite to follow the mouse position
you could change the cursor css, “cu...
Wuhao
10:09 HTML5: RE: Sample code to have multiple textboxes
yes, in page i have to take multiple values as input from user. if u can please help me then i’ll be very happy. plss... aparajita
10:09 HTML5: RE: How to use charts library like highcharts with cocos2d-html5
Because highcharts use svg to draw charts, so you can’t draw chart to canvas. The charts of highcharts container is a... ludingping
10:06 HTML5: RE: Sample code to have multiple textboxes
Mmm, I am not very clear about what did your want.
Do you want to create several input text fields at the same time?
ShunLin
10:02 C++: RE: Eclipse Android setup
Thanks again,
I did some more googling and found this:
http://grokbase.com/t/gg/android-ndk/12bst995ee/ndk-r8c-chang...
Ravine
09:56 HTML5: RE: Why none of the coco2d-html games able to run on my Safari but OK on chrome and Firefox.
What is the error message on your console log?
ShunLin
09:50 HTML5: RE: How to load wav sound effect.
This bug was fixed by new engine.
The new version engine will be released in next Tuesday.
Please refer to the new ...
ShunLin
09:22 C++: RE: OpenGL Version too old error
Hi,
which version of cocos2d-x u r using ???
Use lower version of cocos2d-x .
I have faced the same issue, and i s...
mangesh.kurve
09:20 C++: RE: Can not run programme on windowsxp because opengl version is under requeried version 1.5
Hi,
Use lower version of cocos2d-x .
I have faced the same issue, and i solved it using “cocos2d-1.0.1-x-0.9.2” , t...
mangesh.kurve
09:03 C++: RE: Eclipse Android setup
Hi again!
I have no idea what is going on with the ndk errors. I didn’t have those errors so I can’t tell you what’s...
Killradio
08:54 C++: memory leaks (blackberry playbook)
i have successfully ported a game to blackberry playbook using marmalade and cocos2dx.
the game gave some memory lea...
jay_dubal
08:39 HTML5: Sample code to have multiple textboxes
Hi,
Can any one please let me know how can i add multple input text fields using CCTextField in Cocos2d-Html5. Pleas...
aparajita
07:52 C++: RE: Eclipse Android setup
Okay, so I've had another try, but I've now got this really wired error with the NDK.
I solved the include stateme...
Ravine
06:43 C++: RE: how to adapt defferent resolution of wp8 in cocos2dx-wp8?
Looking at http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj247549(v=vs.105).aspx,
I made this change,...
gregfagan
06:35 C++: RE: JSON parsing on Cocos2D-X projects
Ok, I have solved my own problem.
Apparently, it should be:
for (Value::MemberIterator itr = d.MemberBegin()……)
duracellrabbid
06:35 HTML5: How to load wav sound effect.
cc.AudioEngine.getInstance().init(“mp3,ogg,wav”);
cc.Loader.shareLoader().preload([
{type:“effect”,src:“Resources/e...
lilzz
06:30 C++: Can not run programme on windowsxp because opengl version is under requeried version 1.5
Hi everybody. I have problem about using cocos2dx 2.0.3. I can not run programme on windows xp and windows show alert... nbtlxx
06:04 C++: RE: cocos2dx support for marmalade
Óscar García wrote:
> Hi jay,
\>
> I think in order to catch any memory leak in your program you should use
> the mem...
jay_dubal
05:01 C++: RE: JSON parsing on Cocos2D-X projects
Hi, I am trying to iterate Name-Value pair objects in my JSON using rapidJSON, however, the compiler at XCode kept gi... duracellrabbid
04:53 HTML5: RE: ControlsOverlay.js: An option for touch controls in Cocos2d-HTML5 applications.
Hi Erik,
Thanks for help… :)
I will go through it…
and let u know about that, i know it will be one of the best ju...
mangesh.kurve
04:26 C++: RE: is there are way to create android.mk automatically
Hi!
Is it okay for .mm classes? cause i have .mm classes on my iphone cocos2d-x project,
and after i modified Androi...
ahryzh_17
04:19 C++: How to run code differently basing on each flatform?
Hi,
I just want to make a simple HelloWorld project, which displays a label like that:
- “Hello cocos2dx - **Andr...
ndpduc
02:57 C++: The xcode project ported to android project fail (get data from file (assets/xx) fail)
The xcode project ported to android project resource file can not be loaded, android the console resource file path “... 328260200
02:52 C++: onDestroy() call
“CCDirector :: sharedDirector () -\> end ();”
should onDestroy () is called.
bravojin
02:07 C++: RE: Error when build JNI - post facebook
Maybe the reason due to the error configuration of my project. Though it has the macro **\#if
\#include “InterfaceJNI...
cheryl1511
02:06 C++: RE: How to call a func only one time in ccTouchMove?
just as Bengigi saying.
in the frant of your code , add a flag like this: bool flag = true;
then in your Move method:...
jetion
01:59 HTML5: RE: Setting Size of selection zone for MenuItem
This is rect of MenuItem code:
@ rect:function () {
return cc.rect(this.*position.x - this.*contentSize.width \* thi...
ludingping
01:58 C++: RE: CCFollow dont Follow
in your update method, if you update the sprite with the body , in the position of the sprite will be update every fr... jetion
00:38 C++: RE: Eclipse Android setup
Thanks for the reply Frany,
I’m still running in to some problems though.
Firstly, when I run the app, I just get a...
Ravine

2012-11-28

22:45 C++: RE: Crash on Android
Yes the ndk path in the include properties and also the env variable NDK\_ROOT:
- in eclipse if you compile from here...
tiz
22:20 HTML5: Setting Size of selection zone for MenuItem
hi there,
I tried the toggleMenu
var Speed\_menuItem = cc.MenuItemToggle.create( this, this.SpeedToggle,speedlvl1\_la...
lefla
22:18 HTML5: Having trouble to run the play sound effect function.
cc.AudioManager.sharedEngine().init(“mp3”);
cc.Loader.shareLoader().preload([
{type:“effect”,src:“Resources/monster...
lilzz
22:16 HTML5: Why none of the coco2d-html games able to run on my Safari but OK on chrome and Firefox.
All the games I wrote as well as the sample games I downloaded such as the simple angry bird game. Why?
lilzz
22:10 C++: Pause menu error
Hi guys,
I’ve added a HUD to my scene using like this:
@ //Create HUD
HudScene\* hudLayer = HudScene::create();
C...
dean_n91
19:47 C++: RE: TMXTiledMap Scrolling & Collisions
Hi Everyone,
I just wanted to update this thread. I was able to figure out the issue.
For the collision detection, wh...
north
19:28 C++: RE: Eclipse Android setup
Hi there!
I can’t help you with everything behind Cocos or CocosDenshion but I can help you with your Eclipse proble...
Killradio
19:19 C++: RE: Crash on Android
Julien becool wrote:
> Fixed ! it works with the Official Android NDK, Revision 8c.
\>
> So something wrong with the ...
Drsmall
18:42 C++: RE: Build configuration and time
Hi,
I had the “clean” option checked in Eclipse, but even if I uncheck it, it does not change anything…
I even unche...
Killradio
18:28 Javascript Binding: RE: JavaScript Bindings
> How would one go about to get a struct in the line of this into the js-world?
There are examples of this in the co...
folecr
18:19 C++: RE: Basic Cpp Array Object Problem
I don’t think that this is the actual problem, it’s more that the object is released after adding it to the array.
I...
tohotforice
17:28 HTML5: RE: “cc.TMXTiledMap.create(tmxString, resourcePath)” problems
Erik Oros wrote:
> Two things come to mind.
\>
> In Tiled, before you export the TMX file, can you check **Edit \> Pr...
valleskon
17:23 HTML5: RE: “cc.TMXTiledMap.create(tmxString, resourcePath)” problems
Two things come to mind.
In Tiled, before you export the TMX file, can you check **Edit \> Preferences** and confirm...
oros
17:17 HTML5: RE: “cc.TMXTiledMap.create(tmxString, resourcePath)” problems
Hi, im having almost the same issue, let me add almosth
this is the error im getting.
Cocos2d-html5-v2.0.0 CCCo...
valleskon
17:06 Javascript Binding: RE: JavaScript Bindings
Hi,
I’ve managed to get cxx-generator generate bindings for my own C*+ code. I ran into a problem with a struct that...
h3nk3
16:51 C++: RE: How to call a func only one time in ccTouchMove?
Create a Boolean flag and check for it
Obg1
16:44 C#: RE: Full Implemenation of Cocos2d-X for XNA from Gena Minchuk
The problem here is that if you try to change the orientation outside of the cocos2d-xna DrawManager, it won’t work:
...
jwa@javatopia.com
16:41 Extensions: RE: curl connect https CURLE_UNSUPPORTED_PROTOCOL
I’d like to chime in here, since we just stumbled upon the same problem. Apparently the liburl used by cocos2d-x has ... ceeroo
16:25 HTML5: RE: ControlsOverlay.js: An option for touch controls in Cocos2d-HTML5 applications.
Hi Mangesh,
That BoxQuest sample I noted actually has a Web Worker implementation for Box2DWeb.
> https://github.com...
oros
16:20 Javascript Binding: 我这样绑定 对吗?
http://www.cocos2d-x.org/boards/6/topics/18947
这个是我jni部分的。。情况。
我现在是。。在scripting\\javascript\\bindings\\generated 里面的...
weisuolong
16:16 Javascript Binding: RE: JavaScript Bindings
Sorry, I’m using OSX mountain lion
I am using `<string>` from system (perhaps not updated), and I use your NDK provid...
crazyrems
15:43 Javascript Binding: RE: JavaScript Bindings
std::string headers should be provided by Android NDK’s gnu libstdc++
Please provide more information :
\* Which pl...
folecr
15:30 C++: RE: Build configuration and time
Ovidiu Diac wrote:
> Unless you’ve configure eclipse builders to do clean before build automatically, it should do in...
jujulian1987
15:16 C++: how Can my JNI WORK?55555555
my first use JSB to bind javascript method to C
i need a method c*+ to take java coding as :
void CCNode::SaveInfo
{
...
weisuolong
15:14 Javascript Binding: RE: JavaScript Bindings
Thanks for all your replies, I’ll take all these advices, but I think I know where my issue was.
I’m trying your proc...
crazyrems
15:10 C#: RE: Full Implemenation of Cocos2d-X for XNA from Gena Minchuk
Raghu S wrote:
> Hi,
> Have you tried setting “SupportedOrientations” and “Orientation” parameter from “Portrait” to ...
WellFinder
14:50 C++: RE: CCFollow dont Follow
Can anyone help me?
prchakal
14:06 C#: RE: Full Implemenation of Cocos2d-X for XNA from Gena Minchuk
Hi,
Have you tried setting “SupportedOrientations” and “Orientation” parameter from “Portrait” to “Landscape” in Game...
Logan
13:49 C++: CCUserDefault, ios/android game and game updates
Hi,
i save a lot of things with CCUserDefault (scores, which level was completed, number of coins taken, etc…). But ...
lukeluke
12:31 C++: Are there plans to support cocos2d-x 2.x on Bada platform
Hi Cocos Dvelepoment Team!
Are there any plans to support Bada platform with cocos2d-x 2.x? I’ve seen that I’m not t...
redtwiggy
11:55 C++: RE: [linux] {bug} Valgrind shows memory leaks
Hi,
I’ve noticed two things, one is a fault from glfw that is doing weird thing with the memory and valgrind reports...
nesdavid
11:25 C++: RE: 'msbuild' is not recognized as an internal or external command.
Jaime Abella wrote:
> Try using the Visual Studio console. It seems that “msbuild” it isn’t in your path.
Ok. Thanks...
AizenSousuke
11:18 C++: How to call a func only one time in ccTouchMove?
bool GameBoard::ccTouchMove(cocos2d::CCTouch **pTouch, cocos2d::CCEvent**pEvent){
pos = convertTouchToNodeSpace(pTou...
jlstmac2
10:48 C++: RE: CCLabelBMFont
Now, I have a new problem… the sentence is without the carriage return… this is the memory:
45 68 69 21 20 54 6F 63 ...
lordubik
10:43 C++: RE: Small help with assertion error while repeating texture
Your png’s size should be power of 2 if you want to use GL\_REPEAT.
For example, use a png which size is 128\*128.
zhangxm
10:34 C++: RE: install-templates-msvc.bat on windows 8
Thanks, I will test it before next version releases.
dumganhar
10:33 C++: RE: Error when build JNI - post facebook
JniHelper is part of cocos2d-x.
Have you linked it?
zhangxm
10:33 C++: RE: CCLabelBMFont
ah ok, I have bad interpreted of initWithString parameters. The last parameter is the width of the render box for the... lordubik
10:29 C++: RE: cocos2dx 2.0.4 (2012-11-02) no source files in project
As i posted, the article describes it http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How\_to\_build\_and\_run\_Hell... zhangxm
10:28 HTML5: RE: MenuItemFont doesn't response touch event
Okay, I got it working because I didn’t call “this.\_super()” in MainMenuScene.
haxpor
10:27 C++: RE: Fruit Ninja source code released.
Thanks for the code.
virajdasondi@gmail.com
10:22 C#: RE: Full Implemenation of Cocos2d-X for XNA from Gena Minchuk
Jacob Anderson wrote:
> Hello. There is a director test that demonstrates the orientation switching, and it is fully ...
WellFinder
10:21 C++: RE: Tiny Wings Remake on Android Powered by Cocos2d-X
I am also facing problem regarding cocos2dx 2 with open gl 2..
Have any body done that?
Facing problem in the hills d...
virajdasondi@gmail.com
10:19 HTML5: MenuItemFont doesn't response touch event
I use the following code
> var MainMenuLayer = cc.LayerColor.extend({
> *gameLogo: null,
\>*pressX: null,
> \_menu: ...
haxpor
10:13 C++: RE: Eclipse Android setup
Thanks for the near INSTANT reply Minggo,
Yes, I’ve got some samples running, but I’m more wanting an understanding ...
Ravine
09:56 C++: RE: CCLabelBMFont
thanks!
now I have integrate CCLabelBMFont on game, but I have a problem… the string, have a carriage return for eve...
lordubik
09:06 C++: RE: The error [ Couldn't load hellocpp: findLibrary returned null]
Have you succeeded building native codes?
zhangxm
09:03 C++: RE: should I use cocos?
You can use cocos2d-x for this purpose.
If you want to release your app more than one platform, cocos2d-x will save y...
zhangxm
09:01 C++: RE: Android generation!
then cocos2dx is supported from android 2.2+?
Stefano Campodall’Orto wrote:
> how many years ago? :) today are more ...
lordubik
09:00 C++: RE: Fruit Ninja source code released.
Thank you for sharing.
zhangxm
08:58 C++: RE: Porting old code to new (old iterator and "touch>view()")
CCTouch::view() is removed, it is not needed.
zhangxm
08:57 C++: How to make libcocos2d.so with arm-fsl-linux-gnueabi-g++
My IDE is Eclipse,first I import project,select the directory cocos2dx,then I can make the
“libcocos2d.so” use in X8...
finder_zhang
08:56 C++: RE: CCLabelBMFont
LabelTest uses CCLabelBMFont.
And there are urls of tools to make fnt font file in LabelTest.cpp.
zhangxm
08:52 C++: RE: Eclipse Android setup
As you said, you have succeeded running examples on Android devices. So my suggestion is that you know the meaning of... zhangxm
08:39 C++: Eclipse Android setup
Hey there, fair warning, I’m new to both the forums and cocos2d-x so prepare for some newb questions ;)
I’m just wan...
Ravine
08:27 C++: RE: CCLabelBMFont transparency problem
I don’t know… but I think you must use png format alternative at jpg… jpg don’t have alpha channel.
regards!
Dave M...
lordubik
08:10 C++: RE: Simple question on why do we need "spacing between frames" in spritesheet
Wow, I got that, totally not think about that kind of stuff.
Thanks much Nuttavut.
haxpor
08:06 C++: RE: typewriter
any idea? :)
Stefano Campodall’Orto wrote:
> Hi, I would like create a “typewriter” effect for the dialog text… I ha...
lordubik
08:05 C++: CCLabelBMFont
There is a sample to use CCLabelBMFont class? And, How can create the “fnt” font file?
Thanks!
lordubik
07:59 HTML5: How to use charts library like highcharts with cocos2d-html5
Hello,
Has anybody had success using a charting library with cocos2d-html5? I tried using highcharts (http://www.high...
CyrilG
07:54 HTML5: Changing cursor to custom image
Hello,
I am developing a shooting game using cocos2d-html5 and I would like to change the cursor to a target. Can we ...
CyrilG
06:57 C++: RE: Simple question on why do we need "spacing between frames" in spritesheet
It’s from Texture Filtering. Ex. Bilinear filtering has to sampling texels
around the point when do texture mapping. ...
nutpor
05:47 Lua Binding: Help with the function "pushCCObjectToLuaStack"
Hi all
I am a newbie to Cocos2d-x and lua.
I have been trying to use “pushCCObjectToLuaStack” function to pass CCLay...
tpark01
04:53 HTML5: RE: ControlsOverlay.js: An option for touch controls in Cocos2d-HTML5 applications.
Hi Erik,
Thanks for help…
Actually there was issue with browser..
When i Run on Simulator on MAC and Emulator on W...
mangesh.kurve
04:24 C++: Adding a UIViewController to [ EGLView sharedEGLView ]
I am working with **MoPub** to manage Ads in my app.
To incorporate **MoPub**, I created a new **NSObject** subclass ...
lance_gray
03:13 C++: RE: PVR: Failed to set pixel format for dummy PFD
it is because you graphics card
Mango
02:47 C++: CCFollow dont Follow
Hi,
Im using the HelloCpp for my example and i have added box2d to it and now i want put the CCFollow to work, but w...
prchakal
00:53 Javascript Binding: RE: JavaScript Bindings
I updated the documentation on how to run the test on OSX
https://github.com/funkaster/cxx-generator/blob/master/REA...
folecr

2012-11-27

22:56 C++: RE: Device Test Problem - Memory - CCSpriteFrameCache
Hello , i have resolved some problems but continues to crash when you uses the app by some time.
Using the Instrumen...
moc
22:33 C++: RE: Fruit Ninja source code released.
Nice. Not tested it, but the time(NULL) code in DrawLine.cpp is wrong. The delta time you compute is not a delta time... festival
22:11 Extensions: RE: CocosBuilder Issue
since this is the first useful google result for “onAssignCCBMemberVariable crash”, i figured i would throw my input ... morieris
21:57 C++: TMXTiledMap Scrolling & Collisions
Hi Everyone,
I’m currently making a Space Shooter game. I’m using a TMX Map for the level design.
When I load the TMX...
north
21:10 HTML5: RE: ControlsOverlay.js: An option for touch controls in Cocos2d-HTML5 applications.
In addition to the above, I would also recommend the more up-to-date Freewill.js from my BoxQuest sample:
> https://g...
oros
21:07 HTML5: RE: ControlsOverlay.js: An option for touch controls in Cocos2d-HTML5 applications.
Hello Mangesh,
Which browser are you using? My guess is that since the framework implements **touch** events, the mo...
oros
20:58 C++: should I use cocos?
I want to make app (something like a book with animations), where will be a character that will be able to perform si... jumper0k
20:45 C++: RE: Fruit Ninja source code released.
¡Great, thank you!
jolmos
20:43 C++: RE: Enable Box2D on XCode on Existing Project
oh! yeah!
good work!
Paulo Coutinho wrote:
> Hi,
\>
> I copy the HelloCpp project and create my game for android, n...
lordubik
20:42 C++: How to run an animation for as long as other action is ongoing
Hello,
I am quite new in cocos2d-x and i’ve met some problems recently. I am trying to run a simple animation for as...
elvisPA
20:37 C++: RE: 'msbuild' is not recognized as an internal or external command.
Try using the Visual Studio console. It seems that “msbuild” it isn’t in your path.
jabV
20:18 C++: RE: Android generation!
how many years ago? :) today are more opengles2 or android opengles1?
Jaime Abella wrote:
> You can use any phone or...
lordubik
20:03 C++: RE: Basic Cpp Array Object Problem
You must create a new object with “ObjectClass \* obj = ObjectClass::create()”. This method return a pointer to the o... jabV
19:38 C++: RE: Android generation!
You can use any phone or tablet that is compatible with OpenGL ES 2.0 (usually phones with a GPU). For example, Googl... jabV
19:37 C++: Basic Cpp Array Object Problem
Hi all,
I hope you guys can help me, I’ve got a basic problem with populating an array with objects.
I created an ar...
tohotforice
19:15 C++: RE: Enable Box2D on XCode on Existing Project
Hi Stefano,
You are correct man, i forgot that we need do it in xcode, now it is working.
Very thanks.
prchakal
19:02 C++: RE: Enable Box2D on XCode on Existing Project
ok!
Are you sure, that XCode has compiled the Box2d sources? check on project settings/Build phases/Compiles sources...
lordubik
18:49 C++: RE: BB10 Support?
That’s awesome! I’m thinking about making a game for the Built for Blackberry 10k thing with cocos2dx. I reaaaaally w... videog23
17:47 C++: RE: Enable Box2D on XCode on Existing Project
The Box2D source already is especified in “include headers path”, this is not the problem.
The problem is when linki...
prchakal
16:55 C++: typewriter
Hi, I would like create a “typewriter” effect for the dialog text… I have used the CCLabelTTF… but when I execute the... lordubik
16:54 C++: install-templates-msvc.bat on windows 8
Hello, I’m running on Windows 8 x64 and the test compilations its ok,
had some problems on the **install-templates-m...
chorew
16:50 C#: RE: Full Implemenation of Cocos2d-X for XNA from Gena Minchuk
A quick note about multi-platform. I have deployed this cocos2d-xna version to our PS Vita, multiple Android devices,... jwa@javatopia.com
16:48 C#: RE: Full Implemenation of Cocos2d-X for XNA from Gena Minchuk
Hello. There is a director test that demonstrates the orientation switching, and it is fully operational. You need to... jwa@javatopia.com
16:41 C++: Android generation!
What generation Android phones, is can support “cocos2dx 2.0”? If I will create a game with cocos2dx2.0; How many pho... lordubik
16:37 C++: RE: Enable Box2D on XCode on Existing Project
Hi,
I, to insert the Box2D src in my project, I had “drag&drop” the source code inside xcode project! There is anothe...
lordubik
16:20 HTML5: RE: BB 10: Keyboard Text input not working
Yes, coming soon.
The EdithBox is ready now and it will be merged into main repo tomorrow.
ShunLin
16:03 Javascript Binding: RE: JavaScript Bindings
Rémy T. wrote:
> \# From there, I created our own ini file but I first wanted to make the test sample work with the ...
folecr
15:57 C++: RE: Enable Box2D on XCode on Existing Project
Can anyone help me please?
prchakal
15:18 C++: tmx converter
I’m tired of manually converting the tmx map file from low resolution to high.So I made this tool.
the address is :
...
358025408
15:00 C++: RE: [WP 8] How to create new project ?
+1 , I read the basic project setup here http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapter\_1*-*How\_to\_Creat... newb
14:12 C++: RE: Prevent screen to turn off
I did it in android plataform.
Take a look in my blog post
[[http://fabiosistemas.com.br/blog/?p=171]]
Modify the a...
fabiobh
14:06 C++: RE: Prevent screen to turn off
Hi Fabio (Yes i’m da guy who asked about airpush :)) i am facing the same problem now in my game. I am using accelero... lastevil_zj
13:28 C++: How to add Flip animation for a sprite?
How to add a flip action in a given time interval to rotate around the axis to provide a flipping effect for a sprite... shrinidhirao
13:20 C#: RE: Full Implemenation of Cocos2d-X for XNA from Gena Minchuk
I’m trying out this branch right now, but am having problem with orientation changes (portrait/landscape). If I start... WellFinder
13:16 C++: RE: avoid entering sleep / background mode
hi i am having the same problem.
Did you find out any solution to this problem?
Could you please specify where this h...
lastevil_zj
13:08 C++: Porting old code to new (old iterator and "touch>view()")
I found some code with deprecated *CCMutableArrayIterator*,but can’t to port to *CCARRAY\_FOREACH*. Make some updates... Domitori
12:33 C++: RE: Fruit Ninja source code released.
cool! thanks for sharing
plungeint
11:24 C++: 'msbuild' is not recognized as an internal or external command.
I used this guide: http://www.jesusbosch.com/2012/06/how-to-set-up-android-and-win32-cocos2d.html?m=1
However I’m st...
AizenSousuke
10:15 C++: Fruit Ninja source code released.
Hi ,
I have made a fruit ninja basic version, please check I have enclosed the vc++ project files for cocos2d-1.0.1-...
ysrikanth2011
10:09 HTML5: RE: ControlsOverlay.js: An option for touch controls in Cocos2d-HTML5 applications.
Hi Erik,
I have downloaded the whole project, but when i run index.html joystick is not working….I am having Windows...
mangesh.kurve
09:34 C++: RE: AirPush ISSUE while integrating after porting from cocos2dx win32 to android
Really appreciate the help.
Thnx alot fabio… :)
lastevil_zj
09:31 C++: Simple question on why do we need "spacing between frames" in spritesheet
I manually aligned each frame for all animation sets into a spritesheet, says, I have 4 animations each with 4 frames... haxpor
08:46 C++: Win8 Metro and ARM
I found that there is added arm versions of libs on WP8 branch.
Is it possible to use thesess ARM bins also for WIN8...
Amper_CZ
08:42 C++: RE: [WP8] Where to get ARM versions of freetype.lib, libpng.lib, and zlib.lib?
Greg Fagan wrote:
> These seem to be missing from the WP8 project distribution, preventing me from actually deploying...
Amper_CZ
06:49 C++: RE: [New Feature] CCEditBox support in cocos2d-x
感谢推出的编辑框,简化了我们的工作,但是目前看来,多行编辑框的需求可能很多,请问James Chen能否进一步开发出这个呢,谢谢
wnpet
06:03 C++: RE: A question for catapult demo:Cocos2d-x加Box2D制作弹弓类游戏
找到问题了,原来是因为m\_armBody的位置没有回到原来的位置,
bool HelloWorld::attachBullet()
{
if (m_currentBullet < m_bulle...
newuil
05:47 C++: The error [ Couldn't load hellocpp: findLibrary returned null]
Hello.
I started the cocos2d-x android, so I installed android-ndk, cocos2d-x, etc..
I compiled sample code, but it d...
shakddoo
05:11 C++: there is an exception when i startup cocos2d-x-win8-metro-test
i have the screenshots.
![](http://cn.cocos2d-x.org/bbs/data/attachment/forum/201211/27/1007256f9a2d89gi1i86k3.jpg)
!...
bailu_1901
04:46 C++: Error when build JNI - post facebook
Hi all,
I’m trying to post score to facebook using cocos2d-x. I found a sample here: https://github.com/Piperoman/CCS...
cheryl1511
04:08 C++: cURL with HTTPS support
I’m trying to use cURL on Android. It works fine until I need to make a connection using HTTPS. I tried to use the tu... 3DModelerMan
04:06 C++: Enable Box2D on XCode on Existing Project
Hi,
I copy the HelloCpp project and create my game for android, now im trying to compile with xcode.
Everything is ...
prchakal
04:00 C++: RE: A question for catapult demo:Cocos2d-x加Box2D制作弹弓类游戏
做了上面的修改后,程序初始化的时候坚果的位置是对的,可是发射了一颗之后,第二颗开始,坚果的位置就不对了
newuil
03:59 C++: RE: A question for catapult demo:Cocos2d-x加Box2D制作弹弓类游戏
做了上面的修改后,程序初始化的时候坚果的位置是对的,可是发射了一颗之后,第二颗开始,坚果的位置就不对了
newuil
03:56 C++: A question for catapult demo:Cocos2d-x加Box2D制作弹弓类游戏
很抱歉我用中文提问,因为我用英文问的问题提交了却出错了,而且没保存:( 413 Request Entity Too Large
有谁看过 Cocos2d-x加Box2D制作弹弓类游戏 的blog
http://mssyy2010...
newuil
03:39 C++: CCDictMaker xmlSAXUserParseMemory crash on ios
hello I’m trying to use this method to parse an plist file instead of ios sdk. The application crashes.
I look with t...
regeditms
02:18 Javascript Binding: RE: websocket problem in JSBinding
I found two websocket clients in C/C**.
Websocket** is written in C*+ and boost, somebody say it is easy to use but, ...
canguangwang@gmail.com
02:04 Javascript Binding: RE: Problem with TestJavascript on device
I,m run SimpleGame so that.
fsafs168
02:03 C++: RE: Sprites clipped. Is that I'm using setViewPortInPoints() in a wrong way?
Moving the background layer would be all right. But I assume that setViewPortInPoints() should be able to.
ait
01:57 C++: RE: Sprites clipped. Is that I'm using setViewPortInPoints() in a wrong way?
ait J wrote:
> 1. Use setViewPortInPoints() to move the viewport.
2. Move the sprite, and it was clipped.
ait
01:57 C++: Sprites clipped. Is that I'm using setViewPortInPoints() in a wrong way?
1. Use setViewPortInPoints() to move the viewport.
ait
00:46 C++: CCControlSlider Help
Hi,
I am trying to use the CCControlSlider inside my game to control the music/SFX volumes. The only twist is that I...
kubapl
00:19 HTML5: BB 10: Keyboard Text input not working
Hi,
I’m new here so first let me say THANK YOU for creating an HTML5 variant of Cocos2d. I’ve been spending the last...
i68040

2012-11-26

23:18 C++: KeyBoardWillShow - KeyBoardWillHide not Working on Android
Hi we have a problem with our app on Android.
We are implementing the KeyboardWillShow/Hide methods from cocos2d::CC...
magorich
22:05 C++: RE: Bug fix for CCLayerColor & CocosBuilder
Hi Franky,
Thank you very much for sharing this bug! It saved me a lot of time!
If you are planning to use CCLayerGr...
TheGuru
21:54 C++: RE: Feature request - implement set/getEffectsVolume and set/getBackgroundMusicVolume
what is the situation now about setEffectsVolume??
because I would implement this method, it works on some device bu...
Donmizzi
21:50 C++: RE: Reommend you drop all use of c++ variable property "..."
printf detects the number of expected parameters when parsing string to print (counting %). CCSequence::create() and ... redaur
21:44 C++: RE: Segfault with CCLayerColor and normal behavior with CCLayer
Yes. You can use CREATE\_FUNC macro for this.
redaur
20:35 C++: RE: BB10 Support?
Well yes it’s based on qnx. I was on the black berry dev jam and it was said that it will and they also mentioned coc... S74nk0
18:30 C++: How to copy data to clipboard
Hi,
I am using VC++ in Cocos2dx win32 project.
Anybody know how to copy a data from say string into clipboard?
to tak...
vradgames@hotmail.com
18:27 C++: Drag and drop with box2d
Hi,
How i can do drag and drop with box2d objects?
I need drag it with touch and with mouse join.
Anyone have an e...
prchakal
18:24 C++: RE: Error : Android NDK: Host 'awk' tool is outdated
Thanks Minggo![]()
Solved.
Re-installed cugwin.
vradgames@hotmail.com
18:22 C++: RE: Only creates 'hellocpp' project in project.android folder instead of my project
solved![]()
Edited Android.mk file.
Thanks :)
vradgames@hotmail.com
17:20 C++: RE: Crash on Android
Thank you. You solved my problem.
johanness
17:00 Javascript Binding: RE: websocket problem in JSBinding
There is no js binding that i know of atm for websockets.
You can do one yourself and then of course you’re gonna cal...
pinosh
16:57 C++: RE: Controlling sound with device volume key [solved]
I have written like this [[http://stackoverflow.com/questions/11250839/sound-slider-for-cocos2d]]
i change from cocos...
ht_tran
16:19 C++: RE: Crash on Android
Fixed ! it works with the Official Android NDK, Revision 8c.
So something wrong with the linker of the android-ndk-r...
tiz
15:16 C++: RE: AirPush ISSUE while integrating after porting from cocos2dx win32 to android
This is a example form my BootReceiver class
public class BootReceiver extends BroadcastReceiver {
publi...
fabiobh
15:16 C++: RE: Crash on Android
Hi,
I have the same issue ! my project run with android 4.2 on simulator but it failed to run on nexus 10 device.
I...
tiz
15:07 C++: share my expierences with android setup
so recently i started learning ios programming and downloaded cocos2d-x 2.0.4, setup for xcode is very sraightforward... azurebld
15:03 C++: RE: Reommend you drop all use of c++ variable property "..."
Really? My bad.
I’ll be sticking with CCArray from now on all the same.
Still, that’s a pretty hideous piece of syn...
hagelslaginthevalleys
15:03 C++: RE: How to enable iPhone5 resolution 1136x640
Just add a new default png at 1136x640 called Default-568h@2x.png, and your app now runs at that resolution! I was us... td0239
14:52 C++: RE: texture cache size has limited??
thanks for help.
that works
I would like to kindly ask you one last thing:
Exists the right place to reset CCTextu...
Donmizzi
14:46 C++: RE: user cocosbuilder 2.1 in win32 WARNING! Incompatible ccbi file version (file: 3 reader: ...
Maybe your CCBReader in cocos2d-x is too new to read the ccbi created by CocosBuilder 2.1.
CCBReader that I’m using i...
shosaya
13:47 C++: RE: Help on creating a stopwatch?
`void HudScene::update(float dt)
{
time = time + dt;
levelTime->setString(CCString::createWithFormat("%d",tim...
dean_n91
13:11 C++: RE: AirPush ISSUE while integrating after porting from cocos2dx win32 to android
thanxks for the reply fabio… Could u kindly give an example of what you have explained above…
i am new to mobile deve...
lastevil_zj
13:04 C++: RE: [linux] {bug} Valgrind shows memory leaks
We will try our best.
You can also help us to fix it.
Thank you.
zhangxm
12:48 C++: Guidance required for porting code from objective-c to c++.
Hello EveryOne,
I am following the fruit ninja tutorial at http://www.raywenderlich.com/14302/how-to-make-a-game-lik...
ysrikanth2011
11:38 C++: user cocosbuilder 2.1 in win32 WARNING! Incompatible ccbi file version (file: 3 reader: 4),p...
I user cocosbuilder 2.1 pubilsh ccbi file in xcode run success,but run the vs2012 WARNING! Incompatible ccbi file ver... leowu56
11:36 C++: RE: Reommend you drop all use of c++ variable property "..."
All variable parameter lists must be terminated with NULL, it’s your mistake here.
redaur
11:17 C++: RE: texture cache size has limited??
You should remove all textures from CCTextureCache.
Valmar
11:16 C++: Reommend you drop all use of c++ variable property "..."
I had:
`CCFiniteTimeAction* action = CCSequence::create(
CCRepeat::create(CCAnimate::create(animation), 1)
,...
hagelslaginthevalleys
11:10 C++: RE: Segfault with CCLayerColor and normal behavior with CCLayer
With the default constructor indeed…
But with create(), MyLayer::init() does not seems to be called.
> CCLayer\* l =...
azmeuk
10:34 C++: RE: Problem in handlers priority inversion
Hi Minggo, thanks for the answer.
I understand that, but I think it is not useful to have to set priority for each CC...
joao_ribeiro
10:27 C++: [Win8] Add UI::Xaml::Control in cocos2d-x
Hi all
I tried to Get Dispatcher from CoreWindow on CCEGLView::Create()
But, this is not run at UI thread,
So, I can...
litsungyi
10:19 C++: RE: Problem in handlers priority inversion
I think it is better to use different priorities.
Now we use stl::sort() to rearrange handlers, and it doesn’t guaran...
zhangxm
09:53 C++: Error using CCSprite with CCSpriteBatchNode
I try to create a sprite, using the following code:
CCSpriteBatchNode* sheet = (CCSpriteBatchNode*)getChildByTag...
fabiobh
09:22 C++: RE: AirPush ISSUE while integrating after porting from cocos2dx win32 to android
I have similar problems, and I can’t find a way no initiate airpush from my MainActivity, but from the BootReceiver, ... fabiobh
08:35 Game/Demo Showcase: RE: Cocos2dx powered programming jokes
So funny,LOL.
Matthew
07:49 HTML5: How far its compatible to use Html Dom objects, when we are developing application using C...
Hi,
Can any one please tell me How far its compatible to use Html Dom objects, when we are developing application us...
aparajita
07:18 C++: RE: CCNotificationCenter bug
Your listener method needs to be receiving CCObject, not CCSprite. You can cast it to CCSprite inside if you need.
redaur
07:16 C#: RE: Movement Lag issues.
I’m not sure whether this relates to our problem but there’s some good info in this post- http://www.gamedev.net/topi... Logan
06:59 C++: RE: What's the needs of "Asset manager"?
Hi,
i think i would be very helpfull if the asset manager would support additional resource pathes. The order of the ...
code
06:39 C++: [WP 8] How to create new project ?
Hi all
I’ve successfully run the tests code for cocos2dx-0.13.0-wp8-0.8 but still
I don’t know how to create a new p...
ashishgupta.jhansi@gmail.com
05:18 C++: AirPush ISSUE while integrating after porting from cocos2dx win32 to android
Hi everyone, please help me out i am stuck at this:
http://www.cocos2d-x.org/boards/6/topics/18721
I integrate airpu...
lastevil_zj
05:15 C++: how to adapt defferent resolution of wp8 in cocos2dx-wp8?
运行cocos2dx-0.13.0-wp8-0.8中的helloworld项目,使用1280\*720和1280\*768调试的时候 游戏不是占满全屏,仅仅按照480\*800的分辨率现在在屏幕的左下角,这是模拟器的问题还是coco2... tiner
04:31 C++: RE: Help on creating a stopwatch?
CCString::createWithFormat(“%d”,time)
backboy.r
04:30 Javascript Binding: websocket problem in JSBinding
I had a game written in cocos2d-html5, now I want to export it with cocos2d-JSBinding.
So, which websocket implement...
canguangwang@gmail.com
03:13 HTML5: RE: i need Helppppppp to lower character in Text Input Test
there is 2 kinds of keyboard input
keyboard input detection for control
this type of input takes each keydown as a k...
Wuhao
03:10 HTML5: RE: Vertical ScrollView like UIScrollView
if its for the web only, then you can use DOM and html to achieve scrollview
Wuhao
03:09 HTML5: RE: [bug] Lazylayer does not update during transition scene
LazyLayer is going to be deprecated, as there are not really that much benefit using it. stick to original
Wuhao
03:07 HTML5: RE: can't make a basic ccmenu work
checkAnswer is a member function of the layer,
change this line from
cc.MenuItemImage.create(‘./images/sign.png’,‘./...
Wuhao
03:02 C++: RE: setDesignResolutionSize() work strange for me
The code seems displaying bad here..
ait
03:00 C++: RE: setDesignResolutionSize() work strange for me
I wrote some code like this, more or less worked!
SomeView: public CCEGLView {

void resize(float width, float hei...
ait
02:43 Extensions: RE: [BUG] CCListView on Android
Seppe R wrote:
> Hi all,
\>
> CCListView extension works great on Ios\>
> But on Android there is a bug with the glsc...
zmzsoftware@gmail.com
02:26 C++: RE: setDesignResolutionSize() work strange for me
Thanks for your help! I look around and found something related, but it did not work for me.
[[http://www.cocos2d-x.o...
ait

2012-11-25

23:51 C++: RE: Help on creating a stopwatch?
I think i’ve cracked it.
`void HudScene::drawHud()
{
// Create a label and initialize with string "Time".
...
dean_n91
23:27 C++: RE: texture cache size has limited??
I have the same problem and I have not been able to solve
I tried to Purge Cache each runScene
CCSpriteFrameCache::...
Donmizzi
22:13 C++: why is the default projection method kCCDirectorProjection3D?
In the past two days I was trying to debug my code and figure out what was causing tint black vertical lines between ... Gajet
18:23 C++: RE: Box2D simple project doesnt works
In your update method for the world. You are taking the sprites coordinates, and forcing the body to them, instead of... okeyboy99
16:08 Off Topic: Need a "BEGINNERS AREA" sub-forum!
I am new here and have lots of noob questions…
It would be really useful to have a “Beginners questions” sub-forum. A...
SatheeshJM
15:04 C++: RE: cocos2dx 2.0.4 (2012-11-02) no source files in project
where can find the package \$cocos2dx\_path/platform/android/java ?
in my cocos2dx path ,no contain this file.
Snowleapord_wu
15:02 C++: RE: Just starting on Cocos2dx - Would like to know how a Hello World program actually works ...
Ah thanks! so the CCDirector’s object is the scene manager, right? now everything sorta makes sense…
P.S
> if you wa...
SatheeshJM
14:04 C++: Crash on Android
I am trying to run the basic Hello World example on Android but it crashes with:
Cannot load library: soinfo\_reloca...
johanness
12:42 Game/Demo Showcase: RE: Splash on iPhone
Wow! Thanks a million!
The bubble code doesn’t look too difficult.. I thought it would involve crazy math..
Thanks ag...
SatheeshJM
12:19 C++: RE: Help on creating a stopwatch?
You can do that easily using schedule.
backboy.r
12:09 C++: RE: CCSprite "Redefnition of label" ERROR!
Jobed Rony wrote:
> The error message is giving you a clue. You probably defined “bottle” multiple times . Probably f...
SatheeshJM
10:23 C++: RE: CCNotificationCenter bug
.h file
bigcat2dx
10:22 C++: CCNotificationCenter bug
Please read code. The 67th line of HelloWorldScene.cpp is custom event. If i delete this line and direct call listene... bigcat2dx
09:27 C++: RE: "stopped unexpectedly" when run HelloWorld with Android NDK r8 ,android 2.3.3 ,cocos2d-...
But it works on android 4.0.
peta
04:52 C++: RE: schedule time interval incorrect
deltaTime is the amount of running time that has passed since the last time update was called.
Schedule interval time...
backboy.r
04:52 C++: "stopped unexpectedly" when run HelloWorld with Android NDK r8 ,android 2.3.3 ,cocos2d-x 2.0.4
I follow these steps to create an android project
1) modify create-android-project.bat,
set *CYGBIN=D:set*ANDROIDTO...
peta
04:37 C++: RE: Just starting on Cocos2dx - Would like to know how a Hello World program actually works ...
As you are a beginner is iOS platform, I think, at first you should read any beginner iOS book or tutorial to underst... backboy.r
04:25 C++: RE: CCSprite "Redefnition of label" ERROR!
The error message is giving you a clue. You probably defined “bottle” multiple times . Probably first as label and th... backboy.r

2012-11-24

23:05 C++: RE: build_native.sh
Are you using std library and using includes???
> *using namespace std;*
Piperoman
20:04 C++: RE: Double about using XML to store data
José Olmos Martínez wrote:
> Hi Yifeng Wu,
\>
> yes, you can use XML files in your project to save game data. You can...
GamerWoods
15:57 Lua Binding: RE: about setPosition(float x, float y)
Ok if you use CCSprite then only CCPoint is valid and this is an error.
But you cannot use it because it is not defi...
RetryAgain
15:43 Lua Binding: RE: about setPosition(float x, float y)
Yes, what I said is just CCSprite.
rekcah1986
15:38 Lua Binding: RE: about setPosition(float x, float y)
Note that if you have a CCSprite it may not work CCSprite only reimplement SetPosition with a CCPoint and this is lik... RetryAgain
15:28 Lua Binding: RE: about setPosition(float x, float y)
Thank you, let me have a try :)
rekcah1986
15:25 Lua Binding: RE: about setPosition(float x, float y)
I use it all the time it works fine.
ex:
aNode = CCMenu:create()
aNode:addChild(im) — im is a CCMenuItemImage
aNo...
RetryAgain
15:23 C++: RE: CCLabelBMFont memory leak
Hey,
In version 0.13.0, CCLabelBMFont is still leaking.
Fix below
`void CCLabelBMFont::setString(const char *newStr...
emilflater
15:09 Game/Demo Showcase: RE: Splash on iPhone
hi Satheesh Kumar
I ported this surface conservation algorithm for the bubble
http://www.ewjordan.com/processing/Volu...
tibabo
14:51 C++: Small help with assertion error while repeating texture
Hi,
I have a small 100x100 texture which i want to repeat horizontally.
CCTexture2D *texture = CCTextureCache::s...
onelord2002
14:45 C++: RE: Does Cocos2d-x is free for commercial use?
I prefer to use the stable version, if any new feature(or bug correction) is released before a new stable is released... fabiobh
14:37 C++: cocosbuilder ccmenuitem
i setting selector name clickAction,target is owner ,but starting have a error:
Skipping selector ‘clickAction’ since...
17915566
14:32 C++: RE: Double about using XML to store data
Hi Yifeng Wu,
yes, you can use XML files in your project to save game data. You can use **pugixml** library with coc...
jolmos
14:02 C++: RE: Box2D simple project doesnt works
Hi Paulo,
I have created a new Box2d project with **cocos2d-2.0-x-2.0.3** version. This project is running correctly...
jolmos
12:10 C++: RE: Does Cocos2d-x is free for commercial use?
Yes cocos2d-x is free for commercial use. It is under MIT license.
pinosh
11:52 C++: Doubt about using XML to store data
Hi guys, I’m new to game development.
I have a question, is is common to use XML files to store some data, say, char...
GamerWoods
10:36 C++: [EAGLView swapBuffers] (EAGLView.mm:337)
Crash when Facebook Login View is launched for iOS
`2 libsystem_c.dylib 0x32bd9e92 _sigtramp + 42
3 libGPUSupportMer...
ninads78
07:39 C++: Box2D simple project doesnt works
Hi,
Im creating a simple project but nothing happen with image. Instead of the imagego down, it is stopped on center...
prchakal
07:38 C++: RE: Does Cocos2d-x is free for commercial use?
well… Fabio Cunha. I don’t really understand what u said.
bnut
07:32 C++: RE: SimpleAudioEngine::sharedEngine()->playEffect("pew-pew-lei.waw") failed
OMG…
Thank you very much, Jose
Since the file “pew-pew-lei.waw” not exist, i think the program should throw some er...
wcw
06:58 C++: How to handle too many Callback functions
In cocos2d, I usually write all callback within a callback block in objective-C, while in cocos2d-x, I have to write ... gogorush
02:08 Game/Demo Showcase: RE: Splash on iPhone
Nice game.. and cool graphics as well!
I have a question. You said
\>water and bubble have there own “physics engine...
SatheeshJM

2012-11-23

22:33 C++: CCSprite "Redefnition of label" ERROR!
I have the following code!
@ CCSprite \*bottle = CCSprite::create(“bottle.png”);
bottle:setPosition(ccp(origin.x + ...
SatheeshJM
21:23 C++: RE: runAction work or not?
You should call parent class’ onEnter() in your onEnter() because there’s resumeSchedulerAndActions() call in it.
redaur
21:19 HTML5: [bug] Lazylayer does not update during transition scene
I was playing with cc.transitionFlipY, moveInR etc… and I noticed that the background image i had put in the Lazylaye... lefla
20:41 C++: [linux] {bug} Valgrind shows memory leaks
It would be really great if the memory leaks that valgrind found in linux could be fixed, It’s really a pain to go us... nesdavid
18:43 C++: RE: runAction work or not?
Thank Igor for your experience.
However, when I ran above code, the ‘changeScene’ method wasn’t called. I didn’t see...
ndpduc
18:02 C++: Problem in handlers priority inversion
Hi community,
I have two CCMenu’s in the same position. I didn’t change their touch priority, so only the added last...
joao_ribeiro
17:56 C++: Just starting on Cocos2dx - Would like to know how a Hello World program actually works plea...
I am just starting on Cocos2dx. I followed the tutorial here(http://paralaxer.com/cocos2d-x-project-setup/) and set u... SatheeshJM
16:34 Javascript Binding: RE: JavaScript Bindings
Yes it’s indeed a daunting task to do all it’s necessary.
Ok. The first “You don’t have C version…” you can ignore t...
pinosh
16:06 C++: RE: Error in cocos2d-x 0.13.0 with box2d
Hi Fabio,
I have clone and compile with **cocos2d-2.0-x-2.0.3** and I have not problems. Maybe you need to update yo...
jolmos
15:29 C++: RE: cocos2dx support for marmalade
Hi jay,
I think in order to catch any memory leak in your program you should use
the memory manager which comes with...
TheGuru
15:05 Extensions: RE: UIScrollView solution for cocos2d-x
hi there.
nice work you did there - but what’s up with the copyright in your headers?
Kind regards
rebelM
14:46 C++: RE: SimpleAudioEngine::sharedEngine()->playEffect("pew-pew-lei.waw") failed
Hi Ken,
I think you misspelled the name of the file.
you have written **pew-pew-lei.waw** and this format is not co...
jolmos
14:20 C++: AirPush ISSUE while integrating after porting from cocos2dx win32 to android
Hi i have searched a lot about this issue and cant seem to figure out the solution or find it anywhere on cocos2dx or... lastevil_zj
14:15 C++: RE: Crash in preloadEffect() with Samsung Galaxy S 2
Yep…
I found the solution with this posts:
http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Use\_OpenSL\_ES\_to\_pl...
sir_gon
14:09 C++: build_native.sh
Hi.
Everytime I run ‘build\_native.sh’ script. I got this error.
Compile++ thumb : cocos2d \<= cocos2d.cpp
In file ...
ahryzh_17
13:56 C++: RE: runAction work or not?
runWithScene() is for running the very first scene. You should use replaceScene() or pushScene() instead.
redaur
13:53 Javascript Binding: RE: JavaScript Bindings
Hi,
Thanks for your quick reply.
I tried to make my bindings with your help, but I can’t make it working..
Here is ...
crazyrems
13:26 C++: RE: CCTouchesBegan of Old Scene gets called eventhough scene has already been replaced
Hi Igor,
You are spot on in your advice.
Thank you very much :)
preston
13:08 C++: Error in cocos2d-x 0.13.0 with box2d
Hi, I take the cloned TinyWings game available in
http://www.cocos2d-x.org/boards/6/topics/11256
But when I try to c...
fabiobh
12:33 C++: RE: [New Feature] CCEditBox support in cocos2d-x
@James Chen: I have done all the changes you have specified [[https://github.com/cocos2d/cocos2d-x/pull/1224)]]. But ... vishalhsoni
12:00 C++: SimpleAudioEngine failing to loop effects
Hi all,
I’m trying to loop 2 sound effects along with other effects that i am playing occasionally. There are about ...
sujit
11:29 C++: runAction work or not?
Hi,
I want to change from LogoScene to SplashScene after 0.5s. However, I wonder why following code is not work for ...
ndpduc
10:21 C++: I found type "char" is considered as "unsigned char" on ARM android........
Today when I tried to investigate one bug on Android,
suddenly I found the data type “char” was said to “unsigned cha...
chenhaooo1
10:19 C++: RE: CCTouchesBegan of Old Scene gets called eventhough scene has already been replaced
ccTouchesBegan belonging to node of scene not currently on the stage being called means touch handler of that node wa... redaur
09:40 C++: CCTouchesBegan of Old Scene gets called eventhough scene has already been replaced
Hi Everyone,
I’m having a problem with my cocos2d-x project.
In my project I have a GameManager class that replaces o...
preston
09:39 C++: RE: What's the needs of "Asset manager"?
\*getDeviceFile(char\* nameOfFile)\*
Will return file.png (iphone) or file-hd.png (iphone retina), file-ipad.png(ipa...
jandujar
09:32 C++: RE: help! help! about the mulit sprite frame animations create by Cocosbuilder
Now i have a solution like this:
open the Cocosbuilder , File ~~\> project settings~~\> deselect the “Flatten paths w...
jetion
09:32 C++: RE: What version of cocos2dx should I use?
I don’t use that function until the next release.
fabiobh
09:29 C++: RE: a problem about boneAnimations and CCAction
Now i hvae a solution by change the CCBAnimationManager like this :
`void CCBAnimationManager::runAnimations(int nSe...
jetion
09:26 C++: RE: What version of cocos2dx should I use?
Thank you!
If there is an error that has been fixed in github version, how do you apply to the stable version? Do no...
jonseg
09:25 Game/Demo Showcase: getting Permission denied while updating file
Please input target id:8
Create android project
Create Android project inside proj.android
Created project directory:...
singhhkarandeep
09:22 Game/Demo Showcase: Qt-cocos2dx on Windows
Hi,
I am beginner in cocos2dx-Qt, I have installed qt-sdk 1.2.1, and cocos2dx version 1.0.
I follow the steps menti...
mangesh.kurve
09:17 C++: RE: Does Cocos2d-x is free for commercial use?
I preffer to use the stable version, because when develop a game, you can’t add features as they appear, they need to... fabiobh
09:17 Extensions: RE: create-android-project.bat is issuing errors after creating the android project.
Hey srikanth I’m getting same issue, if you had resolved the issue please do let me know.
Regards,
Karan
singhhkarandeep
09:17 C++: RE: What version of cocos2dx should I use?
I preffer to use the stable version, because when develop a game, you can’t add features as they appear, they need to... fabiobh
09:11 C++: [Help!!!] How to use ndk-gdb with cocos2d-x application????
I’m writing a game,
it can run well on win32,
but will crash on Android mobile.
So I tried to use NDK-GDB by using t...
chenhaooo1
08:53 C++: RE: What version of cocos2dx should I use?
Any advice?
jonseg
08:29 Lua Binding: about setPosition(float x, float y)
It seems like I can’t use the setPosition(float x, float y) in lua, but I could see it in CCNode.pkg, why ?
rekcah1986
08:06 HTML5: can't make a basic ccmenu work
Hi guys,
Sorry if this is a newbie question but I have just started using cocos2d-html and I am having some issues c...
CyrilG
08:04 C++: RE: Easy way to manage pop-up scenes or dialogs?
look at JACModalAlert
https://github.com/jandujar/cocos2d-x-extensions/tree/master/extensions/JACModalAlert
Basical...
jandujar
07:56 C++: header file cant read UIActivityIndicatorView?
Hey guys, i want to put loading animation to my project.
since the loading should be set off/stop from another functi...
robinraintama
07:49 C++: RE: Get data from file(assets/) failed! w/ HelloWorld
I got same issue on windows. Latest cocos2d-x and VS Express. .h-file fixed to relative, but didn’t uses it.
Domitori
07:38 C++: Report bug for CCNode::setUserObject in cocos2d-2.1beta3-x-2.1.0
The problem:
when call setUserObject there is not retain the newobject point and release old object point ,so when de...
july
07:32 C++: SimpleAudioEngine::sharedEngine()->playEffect("pew-pew-lei.waw") failed
Hi all,
I am new to cocos2d-x-2.03. i followed this tutorial http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapte...
wcw
06:40 C++: cocos2dx-wp8
code:CCSize size= CCDirector::sharedDirector()-\>getWinSize();
whatever simulator i choice, the result always:(320,53...
tiner
06:23 C++: RE: CCRenderTexture rendering artifacts
Thank you William, that was very helpful!
Best regards,
Aleksander
pfedor
04:41 C++: Does Cocos2d-x is free for commercial use?
Hi. I’m new to this community.
I wonder that does Cocos2d-x is free for commercial use? if not, how much it cost to ...
bnut
04:29 C#: RE: Movement Lag issues.
Hi Raghu, I see what you are talking about in the move-to/move-by tests in cocos2d-x-for-xna. I ran the same test in ... jwa@javatopia.com
04:10 C++: Some doubts about SQLite and Blackberry
Hi All![]()
Im Gustavo Barrientos, lead developer of Acid Studios(Mexico based game/app development studio), I have ...
gustavo.barrientos
04:09 C#: RE: Movement Lag issues.
Hi Raghu, the FPS metrics in cocos2d-xna do not work. they alwasy show 60, as you point out.
I’ll look at the sample...
jwa@javatopia.com
04:06 C#: RE: Support for Windows 8 Metro ?
Hello. the goal of Win8 and WinRT support in MonoGame is to make XNA porting direct and without any extra steps by ga... jwa@javatopia.com
03:50 Game/Demo Showcase: RE: [win8] Win8 Cocos2dx game?
Our game was released a few weeks ago. Please check it out too.
Soccer Girl Adventure: http://apps.microsoft.com/web...
ruka

2012-11-22

20:37 Game/Demo Showcase: RE: Precopter - Available on iPhone
UGH was one of my favorites too :)
In the options you can choose from 2 controls:
- virtual buttons (up,down,left,ri...
peter.korodi@gmail.com
19:15 C++: RE: Particle system is noisy
I’m having the same problem. . . has anyone found a solution for this? I’m using ver 2.0.4, the problem on GT-I9100P
S74nk0
18:12 Game/Demo Showcase: RE: [win8] Win8 Cocos2dx game?
Oren Bengigi wrote:
> Yes, it is free to download, use this link:
> http://apps.microsoft.com/webpdp/en-US/app/noogra...
kenli
18:00 C++: RE: Finding whether a trasition between scenes has ended
Try overriding onEnterTransitionDidFinish().
redaur
17:55 C++: RE: Segfault with CCLayerColor and normal behavior with CCLayer
How do you create instance of that class?
redaur
17:03 C++: Strange sprite scaling
Hi guys!
I’ve created a sprite from a 1024x768 texture and placed it in the center of the screen.
When I run the app ...
VanKurt
17:02 C++: RE: CCLayerPanZoom for cocos2dx
Andreas, does rubber banding work with this code? I am not sure how it is supposed to be used (i.e. what values to se... mmopy
16:35 C++: Help on creating a stopwatch?
Hi all,
I’m trying to add a stopwatch to my newly created hud layer. I have implemented it like this:
`//Create HUD...
dean_n91
16:28 C++: RE: Tutorial For Multi-Project with Box2D
Can anyone help me?
Another issue is that:
\*the file dx.jar was not loaded from the SDK folder![](*
I get this err...
prchakal
16:07 C++: Segfault with CCLayerColor and normal behavior with CCLayer
Hi,
I have some troubles with CCLayerColor. I have a class that works well when inheriting from CCLayer, and causing ...
azmeuk
15:32 C++: RE: Moving sprite from 1 layer to another.
I tried the retain / release stuff but still have the same problem.
I think its maybe the fact that I’m using a fram...
edamreed
14:23 C#: RE: Support for Windows 8 Metro ?
Hi, as far as i know cocos-xna is dependent on the XNA Framework which is based on DirectX-9. for Metro apps we need ... Logan
14:05 C++: Finding whether a trasition between scenes has ended
Hey guys,
I have a situation in the game I’m making that requires me to know when a transition between scenes has en...
ScottH87
13:21 C++: RE: Tutorial For Multi-Project with Box2D
For Android i got the sample and add box2d and it works.
But my iOS project already is created, how to add the box2d...
prchakal
13:18 C++: RE: who have the newest demo which The bullet hit a elf elves disappear
CCarray must be loaded in ccobject subcalss.
jilon321
13:00 C++: RE: Tutorial For Multi-Project with Box2D
With box2d in the template to create :)
jilon321
12:58 C++: schedule time interval incorrect
Hey,
In my main layer, I do:
this-\>schedule( schedule\_selector(MainLayer::update), 1.0/60.0 );
And in the update...
RudolfVonKrugstein
12:53 C++: who have the newest demo which The bullet hit a elf elves disappear
I have use ccarray and stl but it can’t run,who have demo let me learn it
a6965921
12:53 C++: who have the newest demo which The bullet hit a elf elves disappear
I have use ccarray and stl but it can’t run,who have demo let me learn it
a6965921
12:53 C++: who have the newest demo which The bullet hit a elf elves disappear
I have use ccarray and stl but it can’t run,who have demo let me learn it
a6965921
12:36 C++: [BUG] Setting position of Sprite to NaN crash application
Hello there i don’t know is this a bug but it would be nice that application don’t crash when i do such thing:
CCPoi...
gelldur
12:27 C++: RE: Tutorial For Multi-Project with Box2D
Please help me :)
What i have to do to add box2d support for “sample/HelloCpp” ?
prchakal
11:50 C++: RE: Crash in preloadEffect() with Samsung Galaxy S 2
I have the same problem, you have solved?
gigi250
11:37 C++: What version of cocos2dx should I use?
Should I use the stable version of cocos2dx or should I use the latest version in github to get the last improvements... jonseg
10:42 Extensions: RE: CocosBuilder-X
It has been quite a while . . . sorry about that. I’m too busy with school and work. The c*+ port won’t be happening ... S74nk0
10:41 C++: RE: Game Center and Cocos2D-x
yep, your problems are common :~~) at the end you will have to learn some objective-c unfortunately ;~~)
plungeint
09:23 Game/Demo Showcase: Jeepers! Tower Defense, By Lucid Gaming Is Just Right
Check out Jeepers! in the Windows Phone marketplace. It’s a holiday themed Tower Defense game at it’s finest. With cu... lucidgaming
09:04 C#: Support for Windows 8 Metro ?
Hello,
are there any plans for cocos2d-xna to support the Metro interface in Win 8 (with MonoGame) ?
The problem rig...
WellFinder
09:03 C++: RE: Game Center and Cocos2D-x
Thanks for your help!
I’m sorting out the problem by mixing C*+ and ObjectiveC. I’ve started getting the first resul...
coconut
08:16 C++: [WP8] Where to get ARM versions of freetype.lib, libpng.lib, and zlib.lib?
These seem to be missing from the WP8 project distribution, preventing me from actually deploying my app to my phone.... gregfagan
06:11 C#: RE: Movement Lag issues.
Hi Jacob, I tried this on a Lumia 900 and in the emulator.
eg: In the move to/move by action test the two sprites mov...
Logan
04:56 C++: RE: [ios] 6.0.1 Iphone 3gs cocos2dx 2.0.4 issuse.
Solved my problem after a nap, after an update to xcode 4.5 all is now well with the world.:P
kronicali
04:41 C++: RE: Catmull-Rom / Cardinal Spline interpolation problem
I noticed that sprite sometimes disappear near the curve. Without this everything is working well.
backboy.r
04:22 C++: Tutorial For Multi-Project with Box2D
Hi,
I have followed the tutorial:
http://paralaxer.com/cocos2d-x-project-setup/
It is working, but how to add the b...
prchakal
04:14 C++: RE: Sending Email From A Cocos2dx Game
i just tested it on device (iPhone 4s) and it works perfectly there![]()!
so is it the case that the email functional...
rakshak.kalwani
03:38 C++: Sending Email From A Cocos2dx Game
As the title suggests , i wish to be able to send an email from within the game that i am developing using cocos2dx.
...
rakshak.kalwani
03:24 HTML5: RE: cc.TextFieldTTF positioning issue
I have the same issues. Does anyone can help us ?
BrokenHell
03:00 HTML5: RE: cc.TextFieldTTF positioning issue
Hi,
One more issue in addition to it, related to TextField. I used foloowing piece of code to create TextFieldTTF.
...
aparajita
02:50 C++: About CCMenu::setHandlerPriority(int newPriority)
我还是说中文吧,英文仅为看懂水平。。。。
这个函数之前的assert问题被修正,可是现在无论是ccmenu还是继承自它的子类,都不能正确再次设置priority。。。。求指教。。。我看了一下放taget的数组,里边n个指针指向的都是同...
orix
02:17 HTML5: cc.TextFieldTTF positioning issue
Hi,
I am trying to use the Cocos2d-html5-v2.0/tests/src/tests/TextInputTest/TextInputextfietTest.js. When I change t...
aparajita
02:01 C++: RE: Tui: A Flash Pro based game UI editer for cocos2d-x released
It looks nice.
xpwang168

2012-11-21

23:10 C++: RE: Build configuration and time
Unless you’ve configure eclipse builders to do clean before build automatically, it should do incremental build. Only... pinosh
23:00 Javascript Binding: RE: Building Moon Warriors or TestJavascript
Hi,
I had the same error when compiling the projects. CCPhysicsSprite.cpp has moved to \${COCOS2DX\_ROOT}/extensions/...
pinosh
22:53 Javascript Binding: RE: JavaScript Bindings
Hi,
You need to include the spidermonkey lib in scripting/javascript/spidermonkey-ios as well as the files in scripti...
pinosh
22:08 HTML5: Vertical ScrollView like UIScrollView
Hi, I’m porting my game to cocos2d-html5 and I need implement one ScrollView to show a friend list, on cocos2d I use ... Daniel
20:49 C++: RE: SimpleAudioEngine loop effect stops
Sorry, I should write it into the question :(
cocos2d-1.0.1-x-0.11.0
I tested it on iphone 3gs.
I didn’t run SimpleAu...
rob
20:30 C++: Building Cocos2d-x for Blackberry 10 with Qt Creator
Recently I’ve switched to Qt Creator for BB development because building & deploying is a lot faster compared to Mome... zmey
20:00 C++: RE: Build configuration and time
Hi again,
So does anyone have any answers?
It’s kind of annoying to wait 1-2 minutes every time I rebuild the proje...
Killradio
18:57 C++: RE: Retina Support - What does "directory" mean?
Great, that totally did the trick.
Thanks guys :-)
VanKurt
18:20 C#: RE: Bug? cocos2d-x for xna dont run on mac
hello. we are not actively working on mac support. If you want to fix the solution files and post it back to the git ... jwa@javatopia.com
18:19 C#: RE: Movement Lag issues.
Hi Raghu, I have not seen this. When I run the tests they all appear to work well. What platform are you on? Is this ... jwa@javatopia.com
18:19 C#: RE: Did anybody open the solution success?
I haven’t updated the iOS projects in awhile. They don’t compile on the mac anyway, as they were work in progress.
jwa@javatopia.com
18:15 C++: RE: cocos2dx support for marmalade
Óscar García wrote:
> Hi Jay,
\>
> You shouldn’t have too much problems using box2d with cocos2dx and marmalade. I’m ...
jay_dubal
18:11 Game/Demo Showcase: Cocos2dx powered programming jokes
We just submitted to Apple an app series using cocos2dx.
The app is taking content from http://thejoysofcode.tumblr....
jackiechan
17:14 C++: Running on Eclips
Hello,
Currently I have a win32 and iOS working project. What this means is that it builds and runs on both win32 an...
kubapl
17:10 C++: How to get Three axis gyro data using cocos2d-x in android platform
As i konw,in IOS platform ,cocos2d-x can use CMMotionManager to get Three axis gyro data.
Is there any one konws tha...
w82095773
16:56 C++: RE: Retina Support - What does "directory" mean?
When you add the folder in Xcode make sure you select “Create folder references for any added folders”. In the projec... Billy.Lavoie
16:39 C++: RE: Retina Support - What does "directory" mean?
Hi Minggo,
thanks four reply. I’ve tried what you said:
1. I created a new subfolder “ipadhd” in my resources folder...
VanKurt
16:36 C++: RE: sgx error: background gpu access not permitted (solved)
Hello,
I did not pay attention if the animations started again from the beginning, but I suppose it is normal since ...
Jonathan
16:35 C++: CCRender texture strange bug.
Hi.
I’ve got a very strange bug related to CCRenderTexture. My code prerenders lots of textured triangles into one b...
lostman
16:01 C++: RE: Issue about Webview in android after built native code from cocos2d-2.0-x-2.0.4.
The issue has been resolved, I forgot pushing the UI operation into android message loop, so it crashed.
**Pipero Ma...
jay1298
15:08 C++: Tui: A Flash Pro based game UI editer for cocos2d-x released
Hi\~
I am very pleasure to pronounce that the Tui game ui editer released,
it is a Flash Pro based UI editer, you ma...
tpf
15:05 C++: RE: Moving sprite from 1 layer to another.
Try it.
CCArray\* items = layer1~~\>getChildren;
CCObject\* item;
CCARRAY\_FOREACH
{
CCNode\* node = item;
node~~\>...
Dire
14:54 Javascript Binding: RE: How to extend CCMenuItem in the JS binding?
Hello,
I had the same problem with MenuItemFont, we can’t use the .initWithXXX() methods.
You just have to use the ....
crazyrems
14:53 C++: [ios] 6.0.1 Iphone 3gs cocos2dx 2.0.4 issuse.
My problem is that when i compile the new cocos2dx version 2.0.4 testCpp onto my iphone 3gs 6.0.1 the screen is not s... kronicali
13:13 C++: memory leaks issue
hey hello,
i have completed a game for playbook using marmalade and cocos2dx.
i have allocated 125mb of memory for th...
jay_dubal
11:51 C++: RE: Moving sprite from 1 layer to another.
Maybe the sprite is not in layer1 so the removeChild is failing.
Adding the same node to the other layer causes the ...
edamreed
11:47 C++: RE: Moving sprite from 1 layer to another.
That rebooted my phone!
layer1~~\>removeChild does not exist so I used layer1~~\>removeChild(node, false).
The remo...
edamreed
10:59 C++: RE: CCArray->addObject with string.
You can do it like that:
char\* postData = (std::string(“param=”) + conc).c\_str();
Kevinvin
10:49 C++: RE: Does anybody successfully port CocosDragon to cocos2d-x?
i have the same problem . and i have to add the child in the code . no use sub ccb.
jetion
10:30 C++: RE: Moving sprite from 1 layer to another.
Please try
CCArray* items = layer1->getChildren();
CCObject* item;
CCARRAY_FOREACH(items, item)
{
...
redaur
10:29 Javascript Binding: RE: JavaScript Bindings
Hi everybody,
I am working on a ios project, and I want to call an Obj-C class from Javascript with Cocos2D-X JSB.
S...
crazyrems
10:24 C++: RE: Linux mouse clicks trigger ccTouchesBegan, not ccTouchBegan
If your node is registered as standard touch delegate ccTouchesBegan will be called. If it’s registered as targeted t... redaur
10:19 C++: RE: how to get a screen postion for child node
Really no need in removing node. Simply call ... redaur
10:09 C++: RE: what is substitute for [[NSDate date] timeIntervalSince1970] in android?
finally I able to work around it, following is the solution for the same: :D
need to add <time.h>
double Timer::...
Paresh
09:38 C++: (cocos2dx4win8) I want to update zlib to 1.2.7
I want to use this function: gzopen\_w(), so I have to update zlib to v1.2.7. After replace zlib.lib 、zlib.h and zcon... wxszs@126.com
09:08 C++: RE: Moving sprite from 1 layer to another.
Hi,
Any ideas how I might go about moving a sprite from 1 layer to another?
The code I tried in my first post does ...
edamreed
08:59 C++: RE: Game Center and Cocos2D-x
Hi John,
I guess you are on the correct path. I take similar approaches to use the reachability class, or the in-app...
plungeint
08:56 C++: RE: Does anybody successfully port CocosDragon to cocos2d-x?
Yes, I warned about the risks using that code :-P This is why I didn’t added it to github. I hope the cocos2d-x engin... plungeint
08:01 C++: RE: how to get a screen postion for child node
You have to first remove the child from the parent & then convert it into worldSpace position & then into NodeSpace &... jugnu
07:20 C++: RE: SimpleAudioEngine loop effect stops
What’s the engine version?
What platform did you test on?
Did you run SimpleAudioEngineTest?
zhangxm
07:15 C++: RE: Retina Support - What does "directory" mean?
You should put HelloWorld-ipadhd.png into the directory that passed to CCFileUtils::setResourceDirectory(), and renam... zhangxm
07:06 C++: RE: Display Admob ads on Iphone
I move this code to AppController.mm, it throws error in main() method
`bannerView_ = [[GADBannerView alloc]
...
anngdo
06:17 C++: How to move resources file to sdcard?
My Project is many Large files;; please help me
pbes0707
06:16 C++: RE: CCArray->addObject with string.
Alright, but here’s the thing.
I want to take this array, concatenate its elements into ONE string, and use this str...
numandinas
05:29 C++: build libxml2 in android
hi
i am use libxml2 in my project, now that running in android show this error:
A/libc(1071): Fatal signal 11 (SIGSEG...
roj
05:11 Extensions: RE: CocosBuilder Issue
\>
> there is a discussion in the thread http://www.cocos2d-x.org/boards/6/topics/17691?r=18583\#message-18583.
> you...
pixysoft
03:59 Extensions: RE: CocosBuilder Issue
张 辰 wrote:
> I have solved thousands of problems in cocos2d-x with cocosbuilder
\>
\>
> first, there is some problem ...
llazyworm
03:53 C++: RE: Does anybody successfully port CocosDragon to cocos2d-x?
hi Bosch, there is memory leak in your modified class CCBReader, due to set the cleanup to false. It seems difficult ... llazyworm
03:36 C++: windows metro problem
Hello guy,
I’m newer in cocos2d.And I met a problem when I programming
I write code like this:
CCCallFuncN \*back ...
Boelroy
02:42 Game/Demo Showcase: RE: [win8] Win8 Cocos2dx game?
Awesome!
Edmund Ching wrote:
> Travel Blitz: http://www.cocos2d-x.org/projects/cocos2d-x/apps/694
\>
> Pix Blitz: htt...
lihex
02:37 C++: Display Admob ads on Iphone
Hi everyone,
I try to display Admob ads on Cocos2d-x, It works good on Android, but no luck on Iphone.
I follow some...
anngdo
01:13 C++: RE: CCArray->addObject with string.
CCString\* ccstr = CCString::create(“abc”);
data-\>addObject(ccstr);
Kevinvin
00:29 Game/Demo Showcase: RE: Precopter - Available on iPhone
I loved UGH![](:)
Looks good) What kind of control does it have?
rob

2012-11-20

23:05 C++: RE: sgx error: background gpu access not permitted (solved)
I have the same issue and this solution works, thanks!
But there is a problem.
I have an animation with 7 frames and ...
rob
23:00 C++: Linux mouse clicks trigger ccTouchesBegan, not ccTouchBegan
Hey,
I noticed that a mouse click under linux causes ccTouchesBegan to be called on the main layer, and not ccTouchB...
RudolfVonKrugstein
21:58 C++: Retina Support - What does "directory" mean?
Hi everyone!
I just followed the new 2.0.4 instructions for adding retina support. Although I set up “CCFileUtils::sh...
VanKurt
21:15 C++: Hardware Keyboard Support
Hi![]()
I would like to know if there is any way to capture the clicked key on a keyboard connected to an android ta...
elr0nd
21:09 Javascript Binding: Building Moon Warriors or TestJavascript
I’m trying to build Moon Warriors or TestJavascript for Android and hitting an error. Is there something I’m missing ... ngs2410
20:48 C++: RE: CCArray->addObject with string.
How can I use CCString?
numandinas
19:58 C++: Cookies with libcurl for Cocos2d-x instead of NSHTTPCookieStorage.
Hello,
I have a game I’m porting from iOS Objective-C to Cocos2d-x. Part of the game is sending server requests and ...
numandinas
17:09 C++: SimpleAudioEngine loop effect stops
Hi guys,
I have a problem with the loop sound effects:(
it seems to working fine.but after a while it stops.I just ca...
rob
15:20 HTML5: i need Helppppppp to lower character in Text Input Test
in TextInputTest of cocos2d-x html5, when i type keyboard, all character in screen are UPPER, can i lower them???than... fire1991man
15:12 C++: Game Center and Cocos2D-x
Hi,
I’ve been trying to add Game Center functionalities to my Cocos2D-x project with no luck.
I checked out differen...
coconut
12:52 C++: RE: Yet another question about Android assets directory
Ah yes! That appears to be the problem and the solution. I’ve been pulling my hair out on this one. Thanks a ton for ... domowicz
12:39 C++: How to Normally end up a game on Android
Hello friends,
Who know how to normally end up a cocos2d-x based Android game? I’m very eager to get your help.
In ...
googleman
11:46 C++: RE: Yet another question about Android assets directory
I had exactly same problem one month before ;) . But its solved by using CCFileUtils instead of fopen, because fopen ... onelord2002
11:32 C++: Touch delegate Priority Problem
Hi,
I wanted to create a pop up dialog effect. And 1st thing about pop up is that it should block all touch events.
S...
onelord2002
11:18 C++: Yet another question about Android assets directory
I’m using: cocos2d-2.0-rc2-x-2.0.1, ubuntu
I am able to successfully build and run my Cocos2dx project on Android. H...
domowicz
10:29 C++: RE: CCArray->addObject with string.
You should use CCString.
Kevinvin
09:57 HTML5: RE: HTML5 Framework/Windows 8 app released
Yes that’s Right
My work was silly ![]()!
but after Removing the jsloader the resault was a blank black screen :( (ju...
papmodern
09:46 C++: RE: Locking the phone and unlocking destroys all textures
I have the same problem… there is an solution?
RongHong Huang wrote:
> ok, Bug \#759 has been created for it
lordubik
09:37 C++: RE: Lost path...
this is my log:
Success
——— beginning of /dev/log/system
——— beginning of /dev/log/main
I/BubHole ( 4350): \<\< MyScr...
lordubik
08:58 C++: RE: CCArray->addObject with string.
Looks like you are trying to cast a char array to a CCObject pointer.
Char array does not inherit from CCObject so I’...
edamreed
08:57 C++: There is an error in cocos2d-x android (lzf skip swapbuf:1)
help me!
I am running cocos2d-x in android project.But,there is a error print of logcat.
The error is “11-20 16:41:10...
jishaohai
08:29 C++: Lost path...
Hi, when the app go in background and after in foreground, on screen I have
Notification
get data from file (assets...
lordubik
08:15 C++: RE: Android, cocosx.1.x, setContentScaleFactor problem...
ok, I have resolved!
:)
Stefano Campodall’Orto wrote:
> Hi, I have used cocos2dx with ES2.0 and works fine, on iOS ...
lordubik
08:08 C++: [WP 8] How to create new project ?
Hi all
I’ve successfully run the tests code for cocos2dx-0.13.0-wp8-0.8 but still
I don’t know how to create a new p...
jay23
07:29 Game/Demo Showcase: NEW GAME [Last_Defender] - new generation of tower defence
Hi all,
I am glad to announce that we have just published our new game “Last\_defender” on AppStore last week.
https...
Waterise
06:34 C++: RE: Catmull-Rom / Cardinal Spline interpolation problem
Agreed. Their fix works as well.
https://github.com/cocos2d/cocos2d-iphone/commit/399459a44d1aaa9f49c05e77810d40cffde...
timesuck
06:20 C++: RE: Using CCScrollLayer
if you are still looking for solution just change the .cpp to this
1. CGFloat becomes CCFloat
2. kCCMenuTouchPrior...
onelord2002
04:31 Game/Demo Showcase: RE: [win8] Win8 Cocos2dx game?
Travel Blitz: http://www.cocos2d-x.org/projects/cocos2d-x/apps/694
Pix Blitz: http://www.cocos2d-x.org/projects/coco...
krashcan
03:38 C++: how to enter the method named applicationViewStateChanged in cocos2d-x-win8
when i create a new metro project on win8 os ,and override method named “applicationViewStateChanged((int newState, i... tiner
03:33 Extensions: RE: CocosBuilder- Custom class Problem
very simple to solve the problem.
you need to write a CCLayerLoader your self.
CCNodeLoaderLibrary **ll = CCNodeLoa...
pixysoft
03:32 Extensions: RE: CocosBuilder Issue
I have solved thousands of problems in cocos2d-x with cocosbuilder
first, there is some problem in animationmanager,...
pixysoft
01:05 C++: RE: OSX build_native.sh problem
Sandy Cnigniet wrote:
> try to change the path in build\_native.sh file.
\>
> paste at the top of the file:
> NDK\_RO...
kevin0228ca
00:03 C++: Android, cocosx.1.x, setContentScaleFactor problem...
Hi, I have used cocos2dx with ES2.0 and works fine, on iOS and Android. Now (because, we must run the application on ... lordubik

2012-11-19

21:55 C++: RE: How to do Fadein and FadeOut on CCLayer
How can I put all this in one paragraph? :)
rob
21:54 C++: RE: How to do Fadein and FadeOut on CCLayer
This works for me:
In CCTMXLayer.h
public:
virtual void setColor(const ccColor3B& color)
{
// TODO
}
/**\* retu...
rob
21:20 C++: CocosBuilder 2.1 + Cocos2d-2.0-x-2.0.4
Hello,
I have been trying to get a ccbi file working in my project without any luck. Is there a tutorial or document...
kubapl
21:17 C++: RE: CCArray->addObject with string.
I ended up using:
vector <string> data;
data.push\_back(gg1);
data.push\_back(gg2);
numandinas
21:04 Extensions: CCScale9Sprite
Hi,
do anyone have an example how to use CCScale9Sprite with setCapInsets? Every time i call the setCapInset function...
code
20:39 C++: Build configuration and time
Hi everyone!
I am new to Cocos2DX (and this forum) and very interested in creating android games with this framework...
Killradio
20:24 C++: RE: Custom Fonts in Cocos2d-x
I should probably have updated this earlier. I managed to find a solution.
Basically I used Fontcreator (http://www....
ScottH87
20:06 HTML5: RE: Supporting Different Android Screen Densities
maybe I’m framing the issue incorrectly and this is more to do with Cavas/PhoneGap/Android. Do i simply just need to ... mteipe
18:53 C++: RE: Marmalade + COCOS2D Help!!!!
Hi Douglas,
If you want to use the last version of cocos2d-x with Marmalade you should read this forum post
http://...
TheGuru
17:32 C++: RE: Custom Fonts in Cocos2d-x
i have same problem :(
Oleg
17:27 C++: CCArray->addObject with string.
Hello,
My code keeps giving me errors. What am I doing wrong?
CCArray \*data;
data = CCArray::createWithCapacity(3...
numandinas
16:59 Collaboration and Hiring: RE: ballistix prototype need graphics or new developer
game as always cross-platform, available on GooglePlay, will be on Blackberry store soon, if someone want to publish ... MistedWindow
16:48 Collaboration and Hiring: RE: ballistix prototype need graphics or new developer
Nothing interesting. Made some game modes ( like 1 vs 1, 4 players free for all, team match, arkanoid style game with... MistedWindow
16:42 Javascript Binding: Problem with TestJavascript on device
Hello,
I have a problem when I run the TestJavascript on my device (Samsung Galaxy Tab 2).
The program shutdowns wit...
PowerRabelais
16:25 C++: Linux and GLFW 3
Hi,
I’m using Fedora 17 with GLFW 3, which is the distribution default package.
I’ve got an error at the compilation ...
azmeuk
16:23 C++: RE: cocos2d-x in android
That’s a pretty generic question.
Are you upgrading a older version or are you just starting your first project?
edamreed
16:21 C++: RE: Android performance ? Low frame rate and flickering ?
I also noticed this.
I read a blog that mentioned that the Thread.sleep in the onDrawFrame function of cocos2dxRende...
edamreed
16:14 C++: Moving sprite from 1 layer to another.
Hi,
I have a situation where I would like to move some sprites from 1 layer to another.
I’m wondering what the corr...
edamreed
15:40 C++: RE: Android performance ? Low frame rate and flickering ?
Hello
I also noted that, while debugging, is often called the garbage collector(“GC\_CONCURRENT freed” in logcat). I ...
tuligiu
14:48 C++: RE: Using STL on different platforms
Ah, good to know!
Thanks!
RudolfVonKrugstein
14:48 C++: RE: Marmalade + COCOS2D Help!!!!
Someone could help me? I really need know this…
dedeus
14:20 Extensions: RE: some problem about CCScrollView
I have the same problem. But I fix it in the other way. I still use the world space.
1.CCScrollView::beforeDraw
//CC...
Kudoo
14:13 C++: RE: Using STL on different platforms
I remember that since ndk r5 or r6, stl is available in android official release. So don’t worry about this case.
walzer
13:22 Off Topic: 2d editor!
hi,
what 2d editor do you use? (Win and Mac)
Stefano
lordubik
12:19 C++: RE: cocos2dx support for marmalade
Hi Jay,
You shouldn’t have too much problems using box2d with cocos2dx and marmalade. I’m not using box2d in my proj...
TheGuru
10:56 C++: RE: Need help with basic shader
:( I met the same problem…..
it seems fail to compile fragment Shader,
but before the error log is output, it crashed...
chenhaooo1
10:41 HTML5: RE: HTML5 Framework/Windows 8 app released
Hamed is you look at jsloader, you can see that it is not required if you are loading your files using default.html. ... PaulS
09:39 C++: Using STL on different platforms
Hey,
I remember that I read a while ago that STL is can not be used with android NDK.
Are there any problems I shoul...
RudolfVonKrugstein
09:05 C++: RE: OpenGL ES 1.1
James Chen wrote:
> Cocos2d-x 1.X is using opengles 1.1 for rendering.
> So if you want to use ES 1.1, please downloa...
lordubik
08:52 C++: RE: cocos2dx support for marmalade
Óscar García wrote:
> Hi Jay,
\>
> You don’t have to put SysGlesVersion=2.0 in your app.icf file because Marmalade 6....
jay_dubal
08:48 C++: RE: Bug in CCMenu
http://cocos2d-x.org/boards/6/topics/17873
Obg1
08:43 C++: RE: Report bug for CCScrollView
I guess the problem is with the setScissorInPoints points.
I’m using the following code in a class I’ve made for my ...
Obg1
08:32 C++: cocos2d-x in android
hi
how to run Cocos2d-2.0-x-2.0.3 in android
roj
08:24 C++: RE: OSX build_native.sh problem
try to change the path in build\_native.sh file.
paste at the top of the file:
NDK\_ROOT=“/your\_path/android-ndk-r8”
apok
08:12 C++: Custom actions after upgrading to 2.0
Hello,
In my code I have some custom actions; in my case, classes inheriting `CCActionInterval` or `CCActionInstant`...
FireAphis
07:19 C#: Movement Lag issues.
Hi,
I don’t know if anyone noticed this but using move by causes a significant lag in sprite movement(even when fram...
Logan
06:46 C++: RE: help! help! about the mulit sprite frame animations create by Cocosbuilder
:( up!
jetion
06:44 Off Topic: RE: Excellent Course Cocos 2D
Thank you for your sharing.
christing
06:37 Collaboration and Hiring: RE: ballistix prototype need graphics or new developer
It looks very cool.What’s going on ?
christing
05:48 C++: report bug for CCMenuItemFont
in cocos2d 2.0.3
the font name and size don’t take effect until the second label also, they take effect even if the ...
mchung
03:50 C++: RE: Report bug for CCScrollView
I have this problem.
qtfsxbs
03:17 Javascript Binding: RE: Javascript Binding current state - is it usable?
Recently the team released v2.04, of which the JSBinding part is more stable.
But I cannot find anybody who have a s...
canguangwang@gmail.com
03:07 C++: Problem when showing UIImagePickerController
Hi!
I have a problem that is driving me crazy. I’ve been looking the solution for hours and I still can’t find it.
...
Axort
02:45 C++: RE: Report bug for CCScrollView
Can anyone support me this problem?
long.bkiter07
02:41 Collaboration and Hiring: RE: StormJoy is hiring
Did you successfully hire some programmers? Did you have any more games based on cocos2d-x ?
christing
02:15 Collaboration and Hiring: RE: Looking for a programmer
How can I download your apps? Could you give me a URL?
christing
02:06 Collaboration and Hiring: RE: Buying source code of a classic game
Did you get the source of a classic game?
christing
02:04 Game/Demo Showcase: RE: Penis Size Calculator
lol,this is a special game.
christing
01:46 C++: RE: help !!!cocos2d-x2.0.4 Get data from file(xxx.png)faild!
lukey liu wrote:
> I met a new problem, I added a few interface, the same code.
> But some interface using CCControlB...
leon_titan

2012-11-18

21:27 HTML5: RE: HTML5 Framework/Windows 8 app released
it is the default.html file:

Cocos2dX






...
papmodern
20:26 HTML5: RE: HTML5 Framework/Windows 8 app released
Shun Lin wrote:
> @Hamed M
> There is nots jsloader.js until Alpha 2. I suggest you may use V2.0. It had fixed a lot ...
papmodern
16:03 HTML5: RE: HTML5 Framework/Windows 8 app released
It is great!
Congratulations, Paul.
I suggest you to packet all your js files to single file, and then you only nee...
ShunLin
15:30 C++: RE: Can't find the binary "TestCpp.exe", is there build error?
M Nelissen wrote:
> Here i am again with another question..
> I ran the install-templates-msvc.bat and i thought it i...
tomtc123
14:21 HTML5: RE: HTML5 Framework/Windows 8 app released
I used 0.5 beta.
As I said I loaded all files needed in default.html
<script src="/cocos2dx/cocos2d.cpp">
</script>...
PaulS
14:04 HTML5: RE: HTML5 Framework/Windows 8 app released
the version of downloaded cocos2d-x is “cocos2d-html5-v0.5.0-alpha” and in the root folder exist a zip file that name... papmodern
13:46 C#: RE: Did anybody open the solution success?
Jacob Anderson wrote:
> What version of visual studio are you using, or are you using mono develop?
mac os,monodevel...
mapleegreen
12:17 C++: RE: Fix android.mk
You rock mate! Amazing idea! Just worried that must add all 20 files by hands and keep it updated in future.
Thanks!
asktomsk
12:15 C++: RE: Is there any way to optimize and reduce the package size?
200mb is a lot!
You need to reduce your graphics\\sounds, I don’t think the binaries are that meaningful.
Obg1
11:24 Game/Demo Showcase: RE: Precopter - Available on iPhone
Hi Peter,
It looks like your graphics and gameplay are pretty close to the famous UGH! game…
Lion_Ts
11:05 C++: RE: OpenGL ES 1.1
Cocos2d-x 1.X is using opengles 1.1 for rendering.
So if you want to use ES 1.1, please download the old version.
dumganhar
11:02 Javascript Binding: RE: cococs2d-x Android with XHDPI
It certainly supports. Please refer to http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Multi\_resolution\_support.
dumganhar
10:27 HTML5: RE: HTML5 Framework/Windows 8 app released
Hi Hamed
Start off with a simple example form the JS samples MS provide. Then add the Cocos2d framework.
The bigges...
PaulS
08:55 C++: Is there any way to optimize and reduce the package size?
I’m working on a 2D physics game using cocos2dx and box2d (and I use Level helper and sprite helper also). Now the pr... nichos
08:19 C++: RE: win8 KeyBoard
This is how I did it for my Windows 8 game, Noogra Nuts:
On the DirectXRender.cpp Add the following lines:
w...
Obg1
05:58 HTML5: RE: HTML5 Framework/Windows 8 app released
Hello Pual
I’m coming here to create a thread about problem using cocos2dx-html5 in windows store app that uses Java...
papmodern
04:23 HTML5: RE: a simple angry birds using Cocos2d-HTML5
درود به بچه های گل و فعال ایرانی D:
من از امروز شروع کردم کار کردن با این موتور بازی سازی رو
وقتی تو اولین جست و جو ه...
papmodern
02:02 C++: RE: Bug in CCMenu
Oren Bengigi wrote:
> Hi,
> I’ve found a bug in CCMenu. I’m animating my buttons to move and when clicking them while...
Zero____

2012-11-17

21:31 C++: RE: Crash in b2MulT when initializing a b2RevoluteJoint
Got it,
I think my problem was that the body of the ball wasn’t defined before I called Initialize on the joint.
Is...
Napoleonicmonkey
21:24 C++: Crash in b2MulT when initializing a b2RevoluteJoint
Hello,
Not too sure how to look into this more. I have 2 ‘planets’ - a wrecking ball and a pivot (going for a space ...
Napoleonicmonkey
21:21 C++: RE: cocos2dx support for marmalade
Hi Jay,
You don’t have to put SysGlesVersion=2.0 in your app.icf file because Marmalade 6.1.2 uses OpenGL ES 2.0 as ...
TheGuru
20:05 C++: OpenGL ES 1.1
Hi,
is it possible use cocos2dx to create a game in Opengl ES 1.1 ?
If yes, how? I must download a old sdk version of...
lordubik
17:26 C++: CCTaskManager, CCTask, CCTaskWithCallback and CCMutex
Hi community. My project badly needs a multithread support for AI and resource preloading. Thread solution is not the... Valmar
16:07 Javascript Binding: RE: javescript binding native cocos2d-x code(MoonWarriors) run crash when ru...
Fixed at 2.0.4.
dumganhar
14:55 C++: RE: Another features request for further releases - FilledPolygon, WrappedText, Clip Node etc.
Damiano Mazzella wrote:
> Hi all,
> sorry but I’ve been away for the holidays :)
\>
> I attach the new version of PRK...
template
14:52 C++: TileMap TMXOrthoVertexZ() and TMXOrthoTest2() tests crash on Win8 Metro and Visual Studio 2012
Hi.
I have found an issue with TileMap tests in cocos2d-x-for-win8-0.11.0 branch. The TMXOrthoVertexZ and TMXOrthoTe...
alexey
14:48 C++: Catmull-Rom / Cardinal Spline interpolation problem
At first please check the issue-1441 of cocos2d
[[http://code.google.com/p/cocos2d-iphone/issues/detail?id=1441]]
I t...
backboy.r
14:21 Lua Binding: RE: Is there any reference api for lua binding?
Extract cocos2d-2.0-x-2.0.2.zip to e:extract tolua**.exe from tolua**.rar
cd “cocoorg\\tools\\tolua++”
run: ant
run: ...
RetryAgain
11:27 C++: RE: How to pass a parameter in Cocos2d-X
Jobed Rony wrote:
> Hero-\>heroWithGame(this)
\>
> Although I am not sure exactly what you want.
Hi,
in **Cocos2d**...
ZuzooVn
11:24 C++: RE: Can't find the binary "TestCpp.exe", is there build error?
Here i am again with another question..
I ran the install-templates-msvc.bat and i thought it installed but when I tr...
Michiel202
10:55 C++: RE: How to pass a parameter in Cocos2d-X
Hero-\>heroWithGame(this)
Although I am not sure exactly what you want.
backboy.r
09:47 C++: RE: How to pass a parameter in Cocos2d-X
`[Hero heroWithGame:self]`
How can i pass self in Hero::heroWithGame() in cocos2d-x
ZuzooVn
09:41 C++: RE: Issue about Webview in android after built native code from cocos2d-2.0-x-2.0.4.
No JNI\_OnLoad found in; is not essential, you code must run without it. IT appear like in some zone, your code stay ... Piperoman
08:50 C++: RE: Issue about Webview in android after built native code from cocos2d-2.0-x-2.0.4.
Follow your suggestion,try again, it’s looks the same, have not got UI, please kindly find information below! Thanks.... jay1298
06:59 C++: RE: cocos2dx support for marmalade
Óscar García wrote:
> Hi Jay,
\>
> I’m using that branch with Marmalade 6.1.2 and everything it’s working nice! what ...
jay_dubal
06:57 C#: RE: CCParticleSystem bug
Hello. float.parse() is only used in the ccTypes source file and in the ccUtils source file. All other instances of f... jwa@javatopia.com
06:41 C#: RE: Did anybody open the solution success?
What version of visual studio are you using, or are you using mono develop?
jwa@javatopia.com
05:23 C#: Did anybody open the solution success?
I have get the code from https://github.com/totallyevil/cocos2d-xna,but I can’t open any of the solution.In fact,the ... mapleegreen
03:48 C++: RE: win8 KeyBoard
I added keyboard support for the OSX and submitted it to the team as a prototype. Some adaptation of it should appear... william.quartz@gmail.com
03:44 C++: RE: How to use keyboard on mac ?
The latest announcement says there should be keyboard support by the next release (2.0.5).
william.quartz@gmail.com
01:36 C++: Bug in CCMenu
Hi,
I’ve found a bug in CCMenu. I’m animating my buttons to move and when clicking them while moving it crashes.
I’v...
Obg1
01:10 C++: RE: Easy way to manage pop-up scenes or dialogs?
I tried a different approach to remove all of the touch delegates from within my Dialog layer.
I’ve change setParent...
Obg1
00:17 C#: CCParticleSystem bug
There is a bug causing crash while creating a particle system from a file, on phones with certain European languages ... jurer

2012-11-16

22:22 C++: RE: Device Test Problem - Memory - CCSpriteFrameCache
Hello Guys
Im really worry about memory allocation in devices , this is my first app and im passing by all the probl...
moc
21:26 HTML5: HTML5 Framework/Windows 8 app released
Hi,
You may be interested to know I’ve managed to successful release a Cocos2d HTML5 Framework app in the Windows 8 ...
PaulS
21:10 Lua Binding: RE: Is there any reference api for lua binding?
It only works when I delete the assert line 70.
Now I get this doc HTML file.
Is this looking ok?
festival
20:51 C++: Marmalade + COCOS2D Help!!!!
Hello everyone!
I am new on COCOS and I’d like to know a step by step about “How to deploy my game made in cocos on ...
dedeus
20:47 Lua Binding: RE: Is there any reference api for lua binding?
This is odd it means that I did not find the definition for a function.
I am wondering if your file contains tabs I ...
RetryAgain
18:54 Lua Binding: RE: Is there any reference api for lua binding?
I get an assert exception in line 70
festival
18:48 C++: WP8 CCNotificationCenter Not Working
Is CCNotificationCenter working for WP8 port?
I notice there is a CCNotificationCenter test in the WP8 version. The ...
shinethesun
15:47 C++: RE: Issue about Webview in android after built native code from cocos2d-2.0-x-2.0.4.
Definitely, it’s helpful, let me following your link to test again , thanks.
jay1298
14:46 Game/Demo Showcase: Penis Size Calculator
The ultimate penis size calculator you were waiting for, has been finally released to google play:
https://play.goog...
RavalMatic
12:30 C++: RE: Issue about Webview in android after built native code from cocos2d-2.0-x-2.0.4.
Did you check if pointers are not NULL? I don’t see your JVM in the code, you cannot take it from one part in the cod... Piperoman
11:10 C++: Issue about Webview in android after built native code from cocos2d-2.0-x-2.0.4.
Hi guys, I involved UIWebView code from this page( http://www.cocos2d-x.org/boards/6/topics/4450?r=9923\#message-9923... jay1298
10:48 C++: RE: cocos2dx support for marmalade
Hi Jay,
I’m using that branch with Marmalade 6.1.2 and everything it’s working nice! what problems do you have?
Che...
TheGuru
10:14 C++: RE: Can't find the binary "TestCpp.exe", is there build error?
thank you very much! you’re really helping me out!
Michiel202
09:34 C++: RE: Saving game stats and other things
The CCUserDefault is sufficient for what you want to do.
I use it to save high scores in my game, the game have ios, ...
fabiobh
09:32 C++: RE: A bug of CCLabelTTF in 2.0.X.
I found this bug too, and more further. There’s a busy loop when tempWidth is larger then pMaxWidth with only one cha... JayXie
08:47 C++: RE: OSX build_native.sh problem
kevin fan wrote:
> Hello all,
> I am starting cocos2dx.
> I followed tutorial to set up iOS/android cross-platform de...
adriencoulon
08:45 C++: RE: cocos2dx support for marmalade
Óscar García wrote:
> Hi Jay,
\>
> You can you this branch https://github.com/mrmop/cocos2d-x
> in order to work with...
jay_dubal
08:26 Extensions: RE: CCTableView problem with reloadData().
I found if I replace the new code from github pulled by you , it will cause another problem , when I reloadData , the... xinjuese
08:19 C++: RE: black screen creating cocos2dx android project on mac
Thanks Fahad.
I tried playing sound, but it doesn’t play it. I tried extracting .apk file, it shows the mp3 and png ...
cocos2dfan
07:32 C++: RE: 关于屏幕坐标系及点象素的完美解决
waiting for your solution
xinjuese
07:05 HTML5: Supporting Different Android Screen Densities
I’m using Cocos2d-HTML5 wrapped inside Phonegap (Cordova) on an Android tablet. I’m learning that I have many many mo... mteipe
06:40 C++: How to write opengl in cocos2d-x?
I rewrite the ccDrawSmoothLine. As you can see below.
But the effects always not right.
The Gradient effect missed.
C...
ripoff
06:05 C++: RE: Can't find the binary "TestCpp.exe", is there build error?
M Nelissen wrote:
> That worked for me! thank you!
> But now im stuck on the next step.. When I try to run the HelloC...
tomtc123
05:46 C++: what is substitute for [[NSDate date] timeIntervalSince1970] in android?
Hi,
I am porting my Cocos2d-X iOS project to Android platform. I am using following code in iOS front to calculate ti...
Paresh
05:29 C++: RE: Scope and autorelease problem
No more!
I forgot: CREATE\_FUNC(MenuScene);
But, with it, i dont need more the constructor and destructor, it is ri...
prchakal
05:21 C++: Scope and autorelease problem
Hi,
I have created a Scene in my AppDelegate, but it is destroy when my function finish, so whats the correct method...
prchakal
04:20 C++: RE: How to implement Admob in Cocos2d-x 2.0.3
Thank you very much
I have tried something like this before (like creating an adsHandler to handle it)
a...
yforyouhk
04:14 C++: RE: How to implement Admob in Cocos2d-x 2.0.3
You have to perform changes in it’s own thread
It can be done, using post method
this.adView.post( new Runnable...
xmblpb
04:09 C++: 关于屏幕坐标系及点象素的完美解决
cocos2d-x中,屏幕坐标系与opengl坐标系的不统一,让开发带来了很多不便。
同时,点和象素的不统一也让跨平台开发浪费了很多无谓的时间。
以上两个问题本人均已完美解决,看看大家的需求大不大,我会把解决方案分享出来。对了,解...
yuchicoc
04:07 C++: RE: How to implement Admob in Cocos2d-x 2.0.3
I can already call the java method using JNI in native code
But I cannot control the visibility of the adView inside ...
yforyouhk
04:02 C++: RE: How to implement Admob in Cocos2d-x 2.0.3
JniMethodInfo t;
if (JniHelper::getStaticMethodInfo(t, "com/company/app/Activity", "ShowOrHideAds", "()V")) {...
xmblpb
03:50 C++: RE: How to implement Admob in Cocos2d-x 2.0.3
Do you mean that in my Activity class there is a method
public static void ShowOrHideAds()
{
...
yforyouhk
03:34 C++: RE: How to implement Admob in Cocos2d-x 2.0.3
Pan HO,
I’ve done it, making static method in my Activity class
xmblpb
03:15 C++: how to get a screen postion for child node
i have a node,but it have many parent node,now i want to get the node’s drawed postion,how do I get??
i have write a...
n3h3aaa

2012-11-15

22:43 Game/Demo Showcase: Precopter - Available on iPhone
Hi guys,
My game made with cocos2d-x has just been published on iOS: http://itunes.apple.com/us/app/precopter/id5335...
peter.korodi@gmail.com
20:14 C++: RE: Can't find the binary "TestCpp.exe", is there build error?
That worked for me! thank you!
But now im stuck on the next step.. When I try to run the HelloCCP.exe or the TestCPP....
Michiel202
19:33 C++: RE: Bug with Facebook picture on retina devices
I managed to fix this problem by setting a blending function to the sprite like this:
`ccBlendFunc bf={GL_ONE,GL_ZER...
AdiFly
17:33 C++: help! help! about the mulit sprite frame animations create by Cocosbuilder
the first problem is : http://www.cocos2d-x.org/boards/6/topics/18367
the second problem is : when i use Cocosbuilder...
jetion
16:49 C++: Saving game stats and other things
Hi,
in our game, we need to save some data (the score obtained in a level, for example) in a persistent way (that is...
lukeluke
16:25 C++: RE: cocos2dx support for marmalade
Hi Jay,
You can you this branch https://github.com/mrmop/cocos2d-x
in order to work with Marmalade 6.1.2 and cocos2d...
TheGuru
15:32 C++: RE: How to implement Admob in Cocos2d-x 2.0.3
http://cocos2d-x.org/boards/6/topics/13233
This code also works fine to me!
But when I cope with the Admob, I canno...
yforyouhk
14:58 Lua Binding: RE: Is there any reference api for lua binding?
### This is the last version.
*Generates*
A list of the class names (in alphabetic order) link to the actual class....
RetryAgain
14:26 C++: RE: Content Size?
Ok i have the same problem.
getContentSizeInPixels also returns wrong width.
I use boundingBox() from CCNode and it...
gelldur
12:57 C++: Prevent screen to turn off
Hi,
I have a game that uses accelerometer to play.
But the screen turn off after a time, there a way to do that not h...
fabiobh
12:22 C++: RE: Bug with Facebook picture on retina devices
Does anyone have this issue ?
Thanks!
AdiFly
12:05 C++: RE: any1 can help me?thanks. i want to CCTouchDispatcher::sharedDispatcher()->setPriority(...
CCDirector::sharedDirector()-\>getTouchDispatcher()-\>addTargetedDelegate(this, 0, false);
guoying245
11:30 C++: RE: game_demo.xml: java.lang.NullPointerException
Similar problem when using JNI to invoke some java method about controlling the Admob visibility.
yforyouhk
11:25 C++: CCControl::CCControlStateSelected is unused
/** The possible state for a control. */
enum
{
CCControlStateNormal = 1 << 0, // The norm...
Adamos
10:29 C++: RE: A bug of CCLabelTTF in 2.0.X.
No one pay attention to this?
Kevinvin
10:03 C++: RE: black screen creating cocos2dx android project on mac
try adding some sound files and check if they play.
moreover try to comment all sprite addition on your first scene j...
Fahad3
09:47 C++: RE: black screen creating cocos2dx android project on mac
Juan Morete wrote:
> So no one could help me? I think I am the only getting this problem, probably I forgot a step on...
cocos2dfan
08:57 C++: Create tunnel wall
Hi
I have a png file of 256x256 i want to use this image to create curvy walls in space shooter game. I attached the...
patikxman
08:53 Game/Demo Showcase: RE: Flick angry ball
Thanks chris :)
and ios version is also released, Please check
https://itunes.apple.com/us/app/flick-angry-ball/id57...
Fahad3
08:51 C++: cocos2dx support for marmalade
hey can any one tell me whether new cocos2dx 2.0.4 supports marmalade 6.1.2.
coz i am having problem porting an exis...
jay_dubal
08:35 C++: Bug - Weird GL error 0x0501 on Android
Hi,
I’m getting Gl Error 0x0501 on Android while loading PVR texture.
After investigating the issue I’ve tracked it d...
Obg1
08:17 C++: RE: Cocosdenshion [gles branch]
i went into SimpleAudioEngine.cpp and added “alSourcef(iter~~\>second~~\>source, AL\_GAIN, s\_effectVolume);” and “al... krashcan
06:56 C++: RE: Wait for a specific animation to finish
I’m aware that I could do this. Again what I meant is the difficulty of doing this recursively inside callback’s call... hohohmm
06:38 C++: How can i use handleOpenURL handleOpenURL function on Cocos2d-x?
i added url custom scheme to Info.plist.
and looking for handleOpenURL in AppDelegate.cpp.
but unfortunately does not...
masse
06:11 C++: port the game from SysGlesVersion=1 to SysGlesVersion=2 for windows pc
i have already developed a game using marmalade 5.2 for blackberry playbook and ios
now i want to port that game for ...
jay_dubal
03:54 C++: TexturedPolygon in Cocos2d-x WP8
Hi ,
I have a question that in Cocos2d-x 1.3 beta for WP 8 I do not see TexturedPolygon. So how to draw a polygon in...
xuanquyen46dp
03:30 Javascript Binding: how to understand JSBinding?
Hi, I’m new here.
I am focusing on the
common use of cocos2d-html5 & cocos2dx+jsbinding.
Now I just know about little...
yzdzidan
03:00 C++: Particles Question
Is there any way to set the rotation of the particle to be the same as the direction it is moving?
I want to recreat...
Pickleman
01:58 Game/Demo Showcase: RE: Flying Away - android free game
Thanks chris rolan, I’ll update the Flying Away game with more levels in the next week
fabiobh
01:51 Game/Demo Showcase: RE: QT/Cocos2d-x/Lua experiment.
Thank you for your sharing.
christing
01:50 Game/Demo Showcase: RE: Flying Away - android free game
simple and funny!
christing
01:44 HTML5: RE: “cc.TMXTiledMap.create(tmxString, resourcePath)” problems
Thank you very much, I’m glad to meet you, in your body I learned valuable knowledge, thanks again
a312983516
01:43 Game/Demo Showcase: RE: so sad - -.my problem is still existing...
chris rolan wrote:
> What do you mean ?
I want to make Keyboard available on a Win8’s Game But I don’t know how to c...
Zero____
01:37 Game/Demo Showcase: RE: so sad - -.my problem is still existing...
What do you mean ?
christing
01:35 Game/Demo Showcase: RE: [WP] [Physics Kids Game] Jump Monkey
Cool,this is a Physics Kids Game.
christing
01:32 Game/Demo Showcase: RE: Flick angry ball
funny game!
christing
00:49 C++: Can't add SingleAudioEngine on blackberry project using cocos2d-x 2.0.3
Hi,
I have a android project that I create with cocos2d-x.
I try to use it to create a blackberry project, but gives ...
fabiobh

2012-11-14

23:40 C++: RE: Loading CCNode class of that is defined in cocosbuilder
`Minggo: No need of init method.
`Jetion: Yes, I did the same over last weekend and it solved.
codesnooker
21:19 C++: RE: Change the black color of the rectangle bars out of Opengl Viewport / Multi-resolution s...
Thank!,I will try to make the modification to the CCDirector class.
samuel.munoz
19:31 Game/Demo Showcase: RE: New game "Don't Feed the Trolls" released on Android and now on iOS
Thanks for the rating.
My first version was failed for a crazy reason : they found out my main menu looked like Apple...
frozax
19:25 Game/Demo Showcase: RE: New game "Don't Feed the Trolls" released on Android ! (and iOS coming soon)
Hey Frozax
I downloaded the android version and made a 5 stars rating!
I readed that the first submit failed , can ...
moc
19:04 C++: Need help with basic shader
I tried to do the basic shader by reading this tutorial (http://www.raywenderlich.com/10862/how-to-create-cool-effect... onelord2002
18:08 C++: a problem about boneAnimations and CCAction
in the CocosBuilder , i create a CCNode, set bone Animation and loop it (the cycle is only 12 farme), set it autoPlay... jetion
17:47 C++: RE: Only creates 'hellocpp' project in project.android folder instead of my project
may be it can help u : http://4137613.blog.51cto.com/4127613/758783
there is’t problem to port my win32 project to an...
jetion
17:37 C++: RE: Loading CCNode class of that is defined in cocosbuilder
does CCB\_STATIC\_NEW\_AUTORELEASE\_OBJECT\_WITH\_INIT\_METHOD(Dragon, create) change to CCB\_STATIC\_NEW\_AUTORELEAS... jetion
17:37 C++: RE: Only creates 'hellocpp' project in project.android folder instead of my project
no solutions..? :(
friends..i am really stuck here for last 2 weeks..!
trying everyday but not getting solutions…. :(...
vradgames@hotmail.com
17:08 HTML5: RE: “cc.TMXTiledMap.create(tmxString, resourcePath)” problems
Sure thing, I can speak to the sample I posted here (which also loads a TMX file):
> https://github.com/blackberry/BB...
oros
16:14 C++: RE: Help to create dotted lines
Thanks for reply. Atleast I have something to research on.
But i know very basic GL stuff. I learned only till drawin...
onelord2002
16:10 C++: remove file ?
Hi dear
does anyone known about how to remove a file in cocos2d-x?
Thanks
kennir
15:17 C++: RE: Can't find the binary "TestCpp.exe", is there build error?
M Nelissen wrote:
> Hi guys,
\>
> I tried to do what Matthew did but both MS VS2010 and VS2012 dindt ask for updates....
tomtc123
14:41 C++: Cocosdenshion [gles branch]
This is really maddening. I call playBackgroundMusic(“a.ogg”) on one scene, it plays. On another scene, calls to play... krashcan
13:09 Game/Demo Showcase: RE: [Game] Boomlings
Interview on Playandroid.com :)
http://www.playandroid.com/blog/10-questions-for-robert-topala-robtop-games/
Zhenmuron
12:15 C++: RE: CCMenuitem, CCmenu, CCMenuItemImage of my previous scene are retaining even after gettin...
Yeah you are right about overriding parent’s onExit(). it wasn’t getting called and thus the callbacks were retaining... Fahad3
10:00 Off Topic: RE: Record game videos for publish
I look on youtube,
this video is the most helpfull that I could find
http://www.youtube.com/watch?v=bkBBccWcTpQ
if y...
fabiobh
09:55 C++: RE: Help to create dotted lines
Hi.
You may try to use custom GL shaders to draw line with any dotting style you like.
lostman
09:38 C++: RE: Wait for a specific animation to finish
Hi.
Take a look at this code snippet:
cocos2d::CCAnimate* animate = cocos2d::CCAnimate::create(animatio...
lostman
09:38 C++: RE: Where is onAccelerometerChanged replacing didAccelerate?
I am also having this problem with 2.0.4 on blackberry playbook. I call setAccelerometerEnabled on the active layer, ... cycletronic
09:35 C++: RE: 我想嵌入微博功能在我的项目里,可是我去新浪看了下各种sdk我不知道我该用那种...
But I prefer C++. It is cross-platform.
Kevinvin
09:31 C++: RE: 我想嵌入微博功能在我的项目里,可是我去新浪看了下各种sdk我不知道我该用那种...
Which program language is your speciality? You should use that one.
Kevinvin
09:23 C++: 我想嵌入微博功能在我的项目里,可是我去新浪看了下各种sdk我不知道我该用那种...
我该用c++的sdk呢?还是用js的sdk呢?
还是我应该怎么做呢?
zdj19911019
09:15 C++: A bug of CCLabelTTF in 2.0.X.
When I use this code to create a CCLabelTTF.
`CCLabelTTF* pLabel = CCLabelTTF::create("HelloWorldHelloWorldHelloWorld...
Kevinvin
08:19 Game/Demo Showcase: RE: "RAGE OF WAR" Game in Cocos2D-X , Box2D with sample Code
Do you have any plan to update it with latest cocos2d-x 2.0.4?
ZuzooVn
07:13 C++: RE: Loading CCNode class of that is defined in cocosbuilder
May be we should add init in CCObject.
zhangxm
07:12 C++: RE: Loading CCNode class of that is defined in cocosbuilder
I think we should add init for CCNode.
zhangxm
07:11 C++: RE: How to change the screen orientation to "Portrait" on BB Playbook?
is there an answer to this?
krashcan
06:25 C++: HelloCpp crashes on proj.mac exit
cocos2d-x 2.0.4
Using the code unaltered directly from the download zip file on a late 2011 15" MacBook Pro running ...
bvesco
05:51 HTML5: RE: “cc.TMXTiledMap.create(tmxString, resourcePath)” problems
First of all thank you, but I still don’t get right, it seems that I need a example :(
a312983516
04:43 C++: RE: set the device orientation from landscape to portrait manually
Hi,I met this question too!
If u found the solution,please tell me!
Thank u!
Derek Qu wrote:
> hi all,
\>
> I want th...
jlstmac2
03:55 C++: RE: what method can i use instead setDeviceOrientation method in v2.0?
Hi,kim!I have met this problem,too.
I found a function setOrientation(kOrientationLandscapeLeft) in CCApplication,But...
jlstmac2
03:08 C++: RE: Proguard problem
I want to thank you, I released my application and it would go straight to a black screen and I found out it was caus... Billy.Lavoie
01:57 C++: RE: black screen creating cocos2dx android project on mac
So no one could help me? I think I am the only getting this problem, probably I forgot a step on the tutorial.
Also t...
darkjuso
01:49 Off Topic: RE: I am coming
But you have only posted 1 thread in 13 days. If you want to improve your English, come on.
walzer
01:48 Off Topic: RE: Record game videos for publish
I remember that there’s a video teaching how to record video for mobile games, the author used a bubble box to embed ... walzer
01:41 C++: RE: OpenGL Version too old error
Update your driver of ATI/NVDIA video card, it will work.
walzer
00:33 Lua Binding: RE: Is there any reference api for lua binding?
This allow you to find all the classes, functions and constant supported by Lua.
The file is extensively cross link....
RetryAgain
« Previous
Next »
 

Atom

Copyright © 2010 - 2014 Cocos2d-x.org Support Email: support@cocos.org