Tagged Questions
2
votes
1answer
97 views
Moving sprites based on Delta time - consistent movement across all devices with different resolutions
This is the formula I am currently using to move my sprites across the screen:
Examples below only deal with X coordinates to keeps things as short as possible.
Initial variable declarations:
float ...
1
vote
0answers
66 views
How to change/modify or animate an existing OpenGL object on Android?
I maybe know understand it all a little bit better so i thoug i make a new shorter question to eventually get an answer.
Get back or delete an existing OpenGL object, then change it and draw at new. ...
2
votes
2answers
113 views
How can I control the frame update rate of a thread?
I'm building a small game for a college project. It's quite a simple game. There are a number of dots on the screen and the player has to select them in a specific order. It's kind of a "join the ...
-3
votes
1answer
137 views
java app goes too slow in android os [closed]
The problem is that my java app contains too many animated sprites and it runs very slowly on android system.
Does the usage of .gif animation instead of sprite animation will improve the speed?
I ...
1
vote
2answers
211 views
Make a 2D character stop moving and going back when encounter an obstacle
I am using a 2d character who is sliding infinite ( huge incrementation of the X or Y value ) when moving.
He can only move up, down, left, right inside a virtual grid, made of multiple squares.
Now ...
1
vote
3answers
277 views
Moving a 2D character on a straight line
I am trying to create an Android Game and I am facing my first big problem.
After reading blogs, tutos ... I am able to easily move a character with a drag and drop, make it move move to a touched ...
6
votes
4answers
1k views
Sprite Animation in Android with OpenGL ES
How to do a sprite animation in android using OpenGL ES?
What i have done :
Now I am able to draw a rectangle and apply my texture(Spritesheet) to it
What I need to know :
Now the rectangle shows ...
4
votes
4answers
255 views
Playing a death anim on an enemy that I want to remove
I've been trying to find a tutorial on how to best make animations in Android. I already have some animations for my enemies and my character that are controlled by rectangles and changing ...
2
votes
1answer
601 views
Android 2D game, shooting and getting animation to stop
I'm developing a game as a learning-process, and since everything I do is new to me, I have alot of problems, usually I can fix it myself but right now I'm stuck and need help.
Link to a recording of ...
2
votes
2answers
337 views
Changing sprite animation depending on direction
I'm working on an android game where my sprite is controlled by a joystick. I just added an animation to my sprite with 4 rows and 3 columns:
Now I want to change the animation of my sprite ...
0
votes
2answers
255 views
Android Game Development problem with Speed = Distance / Time
I have been coding speed for an object. I have made it so the object will move from one end of the screen to another at a speed depending on the screen size, at the monemt I have made it so it will ...
0
votes
2answers
866 views
Libgdx Animation Timing
I'm having a small issue with libgdx animation.
I'm using getKeyFrame() to get the current frame of the animation and I'm updating the state time by adding on deltaTime in my update function for the ...
2
votes
1answer
1k views
Open GL Android frame-by-frame animation tutorial/example code
My first question was asked wrong, so I need to ask again :)
I found out, that I will have to do an OpenGL animation for my Android game. The closest (known) example is Talking Tom (but I don't know ...
1
vote
1answer
996 views
Android frame by frame PNG animation
I am new at Android game development. I have done some apps before, but none of them are games :)
So, I wanted to do a frame-by-frame animation of PNGs. I tried with AnimationDrawable, but ...
-1
votes
3answers
433 views
How to create solid human characters in MAYA, so that their hands do not cut into bodies while signaling hand sign?
How to create solid human characters in MAYA, so that their hands do not cut into bodies while signaling hand signs? Or can I make the characters solid in Unity? I create animations in MAYA and import ...