0
votes
0answers
116 views

cocos2d-x-3.0rc0b Build fails

I have created a cpp Cross platform project with cocos2d-x-3.0rc0 on windows8 , but i can't build the android project. I have the following result: C:\home\MyGame\proj.android\proj.android>python ...
-2
votes
1answer
108 views

Can't get indices with VBO working [closed]

I'm learning opengl for a few days only. Now I'm trying to use indices for my cube, but can't get it working, I don't see anything on screen. struct Vertex { GLfloat position[3]; GLfloat ...
2
votes
0answers
320 views

Not able to change the background of the scene in cocos2dx android

I have started Game Development using Cocos2d-x. And started with HelloWorld sample game. I am able to run this sample game. But when I try to change the Background Color, I am getting error in ...
4
votes
1answer
339 views

Mixing Javascript with C++ for mobile development?

I have a few games for the iPhone, Android, and Windows 8 that I built using native C++. This works great but is really limiting when I try to create menus and start screens. I have read about rapid ...
2
votes
1answer
324 views

How to create a 2D ocean effect in cocos2dx and box2d for iphone, android, windows phones

Currently my game needs a top ocean view. Can this ocean effect done using box2d? or should I dive into write my own physics (liquid/water simulation). Ideas and suggestions are welcome.
-6
votes
1answer
97 views

Android Game an [closed]

I want to develop an android game (3D/2D).. and I don't have any knowledge about android app development. So can you suggest some helpful and understandable resources like video tutorials or head ...
4
votes
9answers
2k views

How do I create a game that runs on Windows, iOS and Android?

I use C++ to create windows games and now I want to step into another other OS like Android or iOS. I'm totally familiar with C++ so I tried to create app for iOS using objective C it was working ...
4
votes
1answer
637 views

Networking library compatible C++ and Java

There is any networking library like eNet compatible with Java and C++? 'm trying to find a way to communicate an Android game in Java with a C + + server, but I prefer to use a network library ...
3
votes
3answers
458 views

Android / IPhone / Desktop C++ Game Template

I was wondering if anyone has come across any articles detailing how to set up a basic game in C++ for use in Android / IPhone / Desktop applications. My thoughts just now are that I would like to ...
1
vote
1answer
1k views

Simple way to post score from my game to Facebook and Twitter?

What's the best and simple way to post score from my game to Facebook and Twitter with store link in cocos2d-x?
3
votes
1answer
6k views

OpenGL ES 2 on Android: native window

According to OGLES specification, we have the following definition: EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, ...
0
votes
1answer
1k views

Android device - C++ OpenGL 2: eglCreateWindowSurface invalid

I am trying to debug and run OGLES on Native C++ in my Android device in order to implement a native 3D game for mobile smart phones. The point is that I got an error and see no reason for that. Here ...
1
vote
1answer
284 views

Navigation using Marmalade

How do I achieve navigation to different views in Marmalade? Like what using startActivity(intent) in Android does. I know that there's only a single view in Marmalade, but still couldn't figure out ...
2
votes
2answers
642 views

Importing a windows project into android using cocos2d-x

What I am trying to do today is to import a full project to Android, but no tutorials are available for that that I have seen. My approach was to create a new android project, copy all the classes and ...
3
votes
2answers
6k views

Create an infinite scroll using CCParallaxNode in Cocos2D-X

I'm trying to create an infinite scroll using two images in a CCParallaxNode, making one move to the end of the scroll when it gets off the screen. I have tried several implementations but none has ...
0
votes
1answer
914 views

Android - Using opengles through java vs c++

Ive been reteaching myself opengl so I can make a game on android. However Ive been struggling with how to build objects and scenes in opengl using c/c++ and passing them through the jni to the ...
6
votes
1answer
887 views

Is the STL efficient enough for mobile devices?

When it comes to mobile game development on iOS and Android NDK, some developers write their own C++ containers, while others claim that STL is more than adequate for mobile game development (For ...
2
votes
1answer
833 views

Creating an Android Game using Java and c++

What's the best way to go about this? I've never coded using two languages before, let alone for an android phone
16
votes
5answers
3k views

Can I develop games for mobile platforms in C++?

I have a good grasp in C++ and C and have also experience developing AAA game using C++. Now, I'm shamelessly thinking to dive into mobile game development either in iOS or Android. Unfortunately, I ...
1
vote
1answer
974 views

Passing an OpenGL texture ID loaded in NDK back to java

Is it possible to load a texture using the NDK, but pass the result back to use in java. I have used the code in the link above and it appears to load the png correctly and generates a texture ID ...
5
votes
1answer
1k views

Game Code Design for Rendering

I first created a game on the iPhone and I'm now porting it to Android. I wrote most of the code in C++, but when it came to porting it wasn't so easy. The Android's way is to have two threads, one ...
24
votes
3answers
14k views

Android game development in c++

So being a primarily c/c++ developer, I've always thought that the only option for mobile game development for me was using iOS, which allows for c/c++ (and minimising objective C). I heard from a ...
1
vote
1answer
577 views

OpenGL ES Loading

I want to know what is the norm of loading rendering code. Take a button. When the application is loaded, a texture is loaded which has the image of the button on it. When the button is tapped, it ...
3
votes
1answer
854 views

Developing for Chrome App/Android?

I have been developing for win7 mobile (XNA/silverlight and will continue to do so, love everything about it) but I wanted to branch a few of my more polished games to google app store online, and ...
6
votes
1answer
676 views

Any Open Source Games That Can Be Ported to Android?

I'm looking for some other open source games out there that I can port (easily or not) to Android. I know that it's possible to port Wolfenstein and Doom and was wondering if there are any others out ...