3
votes
0answers
408 views

Use “Google Play Game Services” (Multiplayer feature) with LibGDX

i'm developing a simple game (for Android, using LibGDX Framework) and i would like to implement multiplayer feature to it. So, since the main project with the logic of the game in LibGDX is separated ...
2
votes
0answers
369 views

How to make the background of an OpenGL object transparent?

It sounds so simple but i didn't get it to work. The Background of my FrameLayout where i add the GLSurfaceView in is colored blue but there is only black. So here is my method to initiate the ...
2
votes
0answers
886 views

AndEngine Making Chase Camera Follow Player

I am playing around with the AndEngine Race Game example. I am trying to make the camera follow the car as the player moves around. The Tile Map is larger than the player's screen but the camera ...
1
vote
0answers
14 views

Trying to implement fling events on an object

I have a game object, well a bitmap, which I'd like to "fling". I'm struggling to get it to fling ontouchlistener due to it being a bitmap and not sure how to proceed and I'm struggling to find the ...
1
vote
0answers
67 views

How to space actors in scene uniformly?

I have a Array data structure right now, which contains 10 soldiers in my army. They can setup initially in various formations - e.g. o o o o o o o o o o The user can move one of the ...
1
vote
0answers
64 views

Rotating around a bitmap

I can't figure this out, how do I make my bullets spawn where I want them to? :P I want them to be shot out infront of my character-sprite(happy). But the rotation is all off and the bullet spawn ...
1
vote
0answers
65 views

Accessing variables from non-neighbouring classes specifically in game development (Android)

Edit Using direct access while breaking the law of demeter looks like this: res.sprite.drawQuad(res.sprite.xScreen,res.sprite.yScreen, mMVPMatrix); Using proxy methods / getters / setter looks ...
1
vote
0answers
126 views

How to implement a multi-platform Java 2D game engine's graphics?

I'm not sure whether this question should be posted here. I'm trying to make a basic generic game engine in Java. Here's what I have so far. public abstract class Device { public abstract void ...
1
vote
0answers
342 views

libGDX using Stage and Actor produces different camera angles on desktop and Android Phone

libGDX using Stage and Actor produces different camera angles on desktop and Android Phone. Here are pictures demonstrating the problem: http://brandonyuh.minus.com/mFpdTSgN17VUq On the desktop ...
1
vote
0answers
449 views

How to create a collidable map with tiled for cocos2d (Android)?

I am using cocos2d to create a game for Android. I am making a map in Tiled Map Editor and added a property to the ground tiles. The property name is Collidable and its value is True. Now I have ...
0
votes
0answers
39 views

How to load, draw and scale Bitmap from other class in Android?

I have been thinking of how i could solve the problem of having a lot of loading, drawing and scaling of Bitmaps in only the class of GameView (extends SurfaceView). So far it was fine to do it only ...
0
votes
0answers
61 views

Box2D revoluteJoint Motor speed,Max torque scaling for diff Devices

Hi i am using Box2d Revolute Joint as a joint for wheel it's connect to Wheel and Body of my Car i am using RUBE for creating the Box2D world Prob. i am using a scaling floating point number to scale ...
0
votes
0answers
82 views

Are rendering exception due to device or engine?

While developing games/simulations for android using jMonkey, I have noticed whatever that runs on PC doesn’t many times run on android and displays various kinds of exceptions one of them is ...
0
votes
0answers
56 views

How to handle Null Pointer Exception in libGDX's Box2D ContactListener?

What's up everyone, I am heuristically producing a Pong clone in Box2D via libGDX. The Null Pointer Exception is originating in the ContactListener's beginContact() method in which I am trying to ...
0
votes
0answers
92 views

pause or freezing game screen

I have a question regarding the pausing/freezing a game while a window/pausemenu will appear at center of the screen. I've already created a pausescreen class which will be called each time the back ...

15 30 50 per page