cocos2d-x-3.0 Questions
1
As I mention in the title, my app built successful but show a blank screen and quit after a few second when I run it on device (SS GLX Tab3 Intel). And the logcat showed
error opening cache file /...
Tritium asked 15/1, 2015 at 8:40
1
I have a cocos2d-x project that I'm working on, I added cocoapods to it and originally all that was in "Other linker flags" was $(_COCOS_LIB_IOS_BEGIN) AND $(_COCOS_LIB_IOS_END) everything works fi...
Biblical asked 11/12, 2018 at 23:53
2
Solved
I have some sprites, where the player character is facing to the right.
I can create an animation from those sprites just fine. The problem is, if I want the sprites to face to the left.
I do the ...
Kaylenekayley asked 22/5, 2018 at 9:32
3
Solved
I am working on a cocos2d-x project. i always compile android project using cocos command cocos compile -p android --android-studio -m debug.
But now this command returning an error.
The android co...
Morris asked 2/3, 2017 at 10:5
7
Solved
I'm using cocos2d-X v3 and I created a new cocos2d-X project following this tutorial.
But when I run
cocos run -s ~/MyCompany/MyGame -p android
I get this error:
building apk
Android platform ...
Volsung asked 8/5, 2014 at 19:45
2
I am developing game in cocos2d-x 3.2 and my app memory increase with game progresses & it seems resources memory not releasing while scene replacing in cocos2d-x 3.2 , please help
Panaggio asked 17/7, 2015 at 9:25
1
Cocos2dx v3.10 facing some unusual error.in compiling andoird
Cocos :- 3.10
Mac :- 10.11.4 (OSX EL capitan)
NDK :- android-ndk-r9d
ANT :- apache-ant-1.9.6
Android NDK: WARNING: APP_PLATFORM andr...
Adeline asked 23/7, 2016 at 13:13
0
Requested but did not find extension point with identifier Xcode.DVTFoundation.DevicePlatformMapping
Getting this warning when simulating an iPhone 4 in OS X using the Cocos2d-x engine. It's being spit into the terminal and I have to perform a Control-C to take back the terminal. The entirety of t...
Cousingerman asked 9/1, 2016 at 18:50
3
Solved
I have a "stage selection" scene and a "game" scene. However when the user presses the button to start the game scene there is a delay between the pressing and the scene showing (about 2 seconds or...
Vashtivashtia asked 14/9, 2015 at 4:42
2
Solved
When developing using cocos2d-x 3.x for a device, it automatically sets the GL view to fit the device. In VS2012 on windows, it creates a seemingly-arbitrarily sized window. How do I set the size o...
Gallon asked 4/6, 2014 at 4:3
1
After weeks of debugging, I struggle to figure out what was going on with cocos2d::Menu. I was surprise that my MenuItemImage was not receiving callbacks when I click on the button. So I click anyw...
Interdict asked 21/6, 2015 at 6:58
4
i trying to add AdMob to cocos2d-x 3.2 simple game
using Xcode 5.1 iOS 7.1
i following the tutorials in
https://developers.google.com/mobile-ads-sdk/docs/#ios
and
http://plaincode.blogspot.co.il/...
Beginning asked 19/7, 2014 at 20:38
2
Solved
I have done this to catch Home and Back buttons press events on android devices:
Overrided void Layer::onKeyReleased(EventKeyboard::KeyCode keyCode, Event* event) function like this:
void MyLayer...
Evacuation asked 5/6, 2014 at 0:37
4
Solved
I'm using cocos2d-x v3.0 and in some test project I'm doing some custom drawing by overriding Node's draw method, but in the DrawPrimitives example provided they do something like this:
void DrawP...
Torritorricelli asked 21/3, 2014 at 2:49
1
I'm trying to set up cocos2d-x for android and I followed a video tutorial
I passed the steps for terminal without any problem (setup.py command result is as expected).
My problem is after I set ...
Igor asked 23/8, 2014 at 13:25
0
I want to add a particle body(say Fire) before another physics body(the arrow).
So, i am using the spring joint to keep them joined with stiffness around 20000, but still its starting the correct w...
Courland asked 1/7, 2014 at 11:27
1
Solved
I could not find any cookbook/tutorial how build in debug build a cocos2d-x 3.1 project for Android and how to debug it directly on device. Please help by pointing out steps.
What I do and what pr...
Emotionalize asked 20/6, 2014 at 19:8
4
Solved
Cocos2d-x 3.0 alpha was released for some time now. What was improved over cocos2dx-2?
The features list is quite important, but in terms of performance are there new limitations/improvements?
Ha...
Affecting asked 20/12, 2013 at 1:42
1
Solved
//in my .h file
virtual void draw();
//in .cpp
void GameLayer:draw()
{
Layer::draw();
//draw code goes here
}
It shows cannot override forward function node::draw()
As far as I know, it was w...
Barrettbarrette asked 9/5, 2014 at 5:11
2
I downloaded cocos-2dx 3.0rc and run "setup.py". READ.ME tells that we can use "cocos new" to create a project and "cocos run" to run a project. However, I tried to use xcode to create a new projec...
Wadley asked 16/3, 2014 at 9:49
3
Solved
I am using CCTouchTargetedDelegate with a Class subclassed by CCSprite.
when defining delegate methods i am not being able to use "this" inside the functions.
as answered on previously asked quest...
Arnulfoarny asked 5/5, 2014 at 6:21
1
Solved
So I'm trying to create a simple app using cocos2d-x newest build and for some reason can't get my touch wired up. Here are my classes:
class GameLayer : public cocos2d::Layer
{
public:
static co...
Cite asked 3/11, 2013 at 1:8
1
© 2022 - 2024 — McMap. All rights reserved.