The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
13 views

LibGDX log: MuxOMX ctor

I'm developing a game in Java for Android using LibGDX with Android Studio. I'm using the AssetsManager class and I've noticed weird log when finishLoading() is finished: 10-17 22:15:17.108 31943-...
0
votes
0answers
39 views

libGDX, Android Studio assets not found but linked properly

I used the libGDX setup UI to create a new project, copied sources from my tablet project and fixed all the errors due to libGDX version changes. Finally at the point to test and run, but first I hate ...
0
votes
1answer
16 views

LibGDX touchDown event continues

I'm using libGdx to create a simple platformer. I used a set of images as an onScreen controller for Android, and use this code to fire a shot -> @Override public boolean touchDown(...
0
votes
0answers
80 views

I can't add an android plugin to unity

I have spent a lot of time on this, everything seems to be building correctly, but I can't get my plugin to work. Here is what I made so far : Here is how my hierarchy looks like in Unity : Classes ...
0
votes
0answers
43 views

Getting exception with canvas.drawRGb(int, int, int)

public class MainActivity extends AppCompatActivity implements View.OnTouchListener { MyBringBackSurface ourSurfaceView; float x, y; @Override protected void onCreate(Bundle savedInstanceState) { ...
1
vote
3answers
570 views

Better Way to Detect Line Cross

I am developing a very simple game in libGDX for android devices. Simply, the game is a character who runs and jumps over obstacles, every time the character jumps over one of said obstacles, a ...
0
votes
0answers
49 views

Google Play Services Error, from Android Studio works, signed APK does not

I have a problem with Google Play services. If I start my game from Android Studio, it works well, I can log in and open the leaderboard. My app id in the AndroidManifest is ok. The SHA1 is ok too. ...
0
votes
0answers
22 views

Create a store in android game with libgdx

I've almost finished my android game in libgdx and I would like to create a store where people can use the coins they get in the game to buy powerups or boots (I think I could handle this) and where ...
0
votes
0answers
65 views

Trying to make the character jump in Java

Sorry, but I've got a newbie question here, because I'm new and currently learning the basics of Android Studio. I'm trying to make a character jump from the ground, and fall smoothly. I already ...
0
votes
0answers
34 views

How to deal with low performance from scrolling background in Android Studio?

I've been trying to implement a scrolling background in my 2D game. The background is a PNG asset. When I use this background it greatly reduces the performance of the game. I've seen similar problems ...
1
vote
0answers
78 views

Making use of the Android GPU debugging tools

I tried following the manual to install the Android GPU debugging tools for android Studio 2.0. Unfortunately it has not been very successful. I have been following the instructions of the official ...
1
vote
1answer
96 views

android game change background image at every level?

I want to be able to have a different background image at each level of my game. Presently I have only one. There is no layout folder shown in Android Studio and all info I have searched shows how to ...
1
vote
0answers
133 views

Export UnityProject inside Android Studio's existing project

I am new to the Unity3D, but I have made a small Unity project with a humanoid gameobject. I can move this humanoid with the demo data but I want to move it with the quaternion data which I am already ...
1
vote
1answer
78 views

LibGDx android : Show animation on button click

I am trying to create an application using libgdx where i need an animation to be played on pressing an image button, i've been able to achieve it using this code if(slapBossFlag==true) { ...
1
vote
1answer
89 views

Libgdx black rectangles problem

I'm working on a game for Android using Android Studio with LibGDX in Java. I recently found a weird problem when closing and reopening the game. When I first open the game, it works fine. If I click ...
0
votes
0answers
32 views

Splitting spritesheets and making the background transparent

Is there a quick way of splitting and removing the background of a spritesheet that's taken from the web? I'm fine with downloading software, using a website or making use of any commands that libGDX/...
1
vote
0answers
114 views

Libgdx stops all sounds when there are lots of sounds

I'm making a 2D game for Android using Android Studio with Libgdx in Java. I have a class, called SoundPlayer, which holds an ArrayMap. The key is the name of the sound file and the value is the sound ...
0
votes
1answer
63 views

Simplifying Object Factory

I'm making a game for Android using Libgdx with Android Studio in Java. In my game, I have a class called ObjectFactory which has a method createGameObject(int objectType) which receives an integer ...
5
votes
2answers
652 views

Main game objects as static

I'm making a game for Android using Android Studio with Libgdx in Java. In my game there are main object like Screen, ObjectFactory, SoundPlayer, Painter (Responsible for drawing) and a few more. 'til ...
0
votes
2answers
109 views

Is this how I use activities in android studio?

I'm a student who is just stepping into android game development. I'd like to create a text-based RPG game for android and started to learn about Android Studio (I think Android Studio is enough ...
0
votes
0answers
136 views

Implementing BaseGameUtils with LibGDX for Google Game Services

I'm developing a game for Android in Java using Android Studio and LibGDX. I'm trying to implement the Google Game Services inside my game but I'm having trouble using the BaseGameUtils. Every time I ...
0
votes
1answer
87 views

Make a sprite jump to a certain direction in libGDX

I was wondering how you can make a sprite jump to a certain direction in libGDX just like the brick does in the famous mobile game "Amazing Brick' I want to make my sprite jump up a bit to the right ...
0
votes
0answers
568 views

Surface View show black screen

i need necessary help! please anyone?! My GamePanel's Surface View show black screen (or don't show at all) on testing even though in the code every-thing looks fine!! Am i missing something?! Note: -...
1
vote
0answers
77 views

Image Buttons Have Low Resolution Quality

I'm using Synfig Animator to draw my animations for my android game I'm also using Android Studio to write the code for it, However. On testing, the images that i'm using looks very bad and unfocused ...
0
votes
1answer
87 views

LibGDX: how to implement 2 cameras in a unique stage

I am quite new to LibGDX. I am trying to make a game, where the character is an Actor, and it's controlled by a Touchpad(included in the main Stage as an Actor too). My problem is that I am trying to ...
-2
votes
2answers
81 views

Publishing a Unity game to Android/iPhone

How can I publish a game that I made in Unity onto Android and iPhone? How do I generate the Android/iPhone binaries?
1
vote
0answers
45 views

OpenGL ES 2.0: Highly variable time spent in GLES20.glDrawArrays(). How to find the cause?

How can I debug why the time take to issue exactly the same GL commands to render a frame, especially the call to GLES20.glDrawArrays(), is highly variable even when there is no garbage collection and ...
1
vote
2answers
99 views

How can I exclude my enemies from spawning in certain zones generated at random?

I have a code where I randomly generate enemy spawn position, but I want to exclude some areas since it's colliding with some sprites it shouldn't collide with. This is the code where I generate the ...
1
vote
0answers
22 views

animation of an Actor in libgdx crashes on iphone

I am using a class found here on stackover for the animation of the actors , but I crash on the physical device class AnimatedImage.java: public class AnimatedImage extends Image { protected ...
0
votes
0answers
64 views

SpriteBatch draw does not work on iOS - LibGdx

I have a small problem , in practice if I batch.draw ( ... ) ; It does not work on iOS with robovm . my code.: on the crete() method: texture = new Texture(Gdx.files.internal("background.jpg")); ...
3
votes
0answers
204 views

Getting Image From Android to Unity3D

I am trying to get an image from the user gallery and import it in unity. I have written a native plugin in Android Studio and exported JAR as it’s needed for the native stuff to get working. I am ...
4
votes
2answers
262 views

create ipa without RoboVM in a project libgdx

I am creating an application with libgdx , and I wish I could produce an IPA without using RoboVM , because since version 1.9 became a fee . I saw on the original documentation that you can do with ...
3
votes
1answer
101 views

Setting 4 different enemy spawn zones off screen

This is my first game, so I really appreciate all the help. I want to create four enemy spawn zones for enemies and this areas are off screen. The enemies are coming from left, right, up and down, ...
2
votes
0answers
75 views

Spawning enemies in four different positions with a fixed trajectory in android game

This is my first android game, I appreciate all the help. I want to define 4 spawning zones starting from out of the screen (left, right, up and down). Enemies coming from this areas have a fixed ...
2
votes
1answer
93 views

Sounds make Andengine Scene junky

I have a GameScene which has a character (animated sprite), AutoParallaxBackground background with quite large textures and no more than 3 other items attached to the scene at a time, previous 3 items ...
4
votes
1answer
185 views

Is there an optimal method to implement moving background?

I am trying to develop a little game using libGDX. We have a hero who jumps and world consist of dynamically created moving platforms in an auto side-scrolling manner. I wanted background to scroll at ...
0
votes
2answers
118 views

Why does Intersector.overlaps return false?

I am trying my hand at creating a simple game using libGDX. The idea is: We have a hero who jumps and world consist of dynamically created moving platforms in an auto side-scrolling manner. In order ...
1
vote
1answer
45 views

Why is my Box2D Body only colliding with one type of Object after a new level has been built?

So developing for an android mobile game, using Android Studio and developing for the API 17, with Box2D implemented. FIRST LEVEL For some reason, one the first level everything is running okay: ...
0
votes
2answers
285 views

2D Coordinate Based Game [duplicate]

I want to make a game for Android that has a 10x10 Grid Plane as UI.In this game users going to touch on a grid and tihs grid will be painted. My question is how do I understand which gird or tile ...