Skip to main content
2 votes
Accepted

LibGDX: Why won't certain actions work on my Actor?

You need to draw you actor with a method that handle rotation ...
Sebastien Servouze's user avatar
1 vote

SurfaceView shows black screen

I have also run into this issue. When my game view would start, I would see the SurfaceView area flash black, then my background graphics would render. I believe this due to the surface view ...
kralvarado's user avatar
1 vote

Error while trying to Build APK, fails when profile option is enabled

You are using a plugin, either a .aar or .jar, that is compiled with the UnityPlayer.jar (or ...
Lotan's user avatar
  • 111
1 vote

Button on click event crashes

It looks like you never assign the game member-variable in your TitleScreen class, so it is null when the click handler is ...
bornander's user avatar
  • 4,686
1 vote
Accepted

How to create an even gamescore?

You could always base the score on the percentage of the starting countdown: ...
Chronocidal's user avatar
1 vote

How to use Glide

glide is used to set the image on an ImageView you need to define an image view in your layout ...
Martin Frank's user avatar
1 vote

In android studio, how can I move ball to point I click?

On the ball object, create a global left button event and create a script with the following: move_towards_point(mouse_x,mouse_y,5); The ball will go at a speed ...
Boneco Sinforoso's user avatar
1 vote
Accepted

How to create activity again in Android?

When you are finished with an Activity you can destroy it. This means that it won't be running in the background. You can then call a new instance of the activity. This avoids creating and running ...
Frenchie's user avatar
1 vote

How To Add Animation Graphics To An Android Game

As it has been already mentioned in the comments, this effect is called "Particle System". What it does, basically, is spawn multiple objects over a period of time, and each object has a small ...
Tom Tsagkatos's user avatar
1 vote
Accepted

Problem getting in adjust the image in drawable canvas

Drawing the ball in the middle should be pretty straight-forward. The pseudocode would look something like this: ...
Applekini's user avatar
  • 8,543
1 vote

How can I make my button do something when clicked?

You need to draw stuff in the rendering loop. Try doing the following: ...
Bálint's user avatar
  • 15.1k
1 vote

Libgdx black rectangles problem

Just had the same issue. Problem was that I had some texture regions as static fields. And to avoid finding texture region over and over for each object I added some extra static variable "...
MilanG's user avatar
  • 121

Only top scored, non community-wiki answers of a minimum length are eligible