0
votes
2answers
167 views

Android: How to create fluent animations by using bitmaps and ObjectAnimator?

I want a resized bitmap item to move over the screen into a house. This basically works, but the movement is not fluent and is stuttering. Since I always have to draw both the resized background and ...
0
votes
0answers
32 views

Export Blender 3D animation to be played by Android OpenGLES

Below code snippet shows the way to export coordinate of bones: def export_bone_matrix(armature, bone, label, file_handler): SystemMatrix = Matrix.Scale(-1, 4, Vector((0, 0, 1))) * ...
0
votes
0answers
44 views

How to export blender coordinate to be used in Android OpenGLES

I'd like to create my personal light-weight Android 3D engine to show 3D animation configured by Blender. I have successfully loaded the Blender-created 3D models by OpenGL ES on Android. Now, I'd ...
2
votes
0answers
72 views

Multiple weapons for android game

I am trying to make a 3D game for android using the Rajawali engine to render the 3D graphics and blender for designing my models(exporting as .md2), and I want my character to be able to change ...
0
votes
1answer
64 views

How to animate two interacting objects

I'm not very familiar with animations but as far as I know, most of the animations are done frame by frame. For example animating a character walking etc. However, let's imagine this scene: There's ...
1
vote
0answers
808 views

LibGDX RPG walking animation [closed]

I've been trying to nail down a walking animation with libGDX. I'm making an RPG with the character that can move up, down, left, and right. I have this movement in a spritesheet. I've been ...
0
votes
1answer
173 views

Edge Detection on Screen

I have a edge collision problem with a simple game that i am developing. Its about throwing a coin across the screen. I am using the code below to detect edge collisions so i can make the coin bounce ...
3
votes
3answers
2k views

How to play animations (GIF, SWF… )?

I have many diffrent animations made with flash. I can make it as (1).SWF, (2).GIF or as (3).PNG (every Frame per second). Searched in google... but coudn't find anything usefull. SWF: For SWF i ...
0
votes
1answer
795 views

Android cocos2d removing a sprite after animation

I have an object going across the screen with an animation using the following code: CCSpriteFrameCache.sharedSpriteFrameCache().addSpriteFrames("ninjastar.plist"); CCSpriteSheet projectileSheet = ...
2
votes
1answer
348 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
1answer
229 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
623 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
200 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
333 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
518 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 ...
7
votes
4answers
3k 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
318 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
900 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
807 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
304 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
2k 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
1k 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
507 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 ...
8
votes
1answer
7k views

What's the best way to create animations when doing Android development?

I'm trying to create my first Android game and I'm currently trying to figure out (with someone that will do the drawings and another programmer) what the best way to create animation is. (Animations ...
1
vote
1answer
872 views

Android Fling Gesture, Animation And Collision - Resources?

I'm starting work on a 2D Android game where the player will put their finger on a game piece and do a fling gesture to throw the piece across the gameboard. I've gone through some Android ...
8
votes
2answers
1k views

Sprite sheet or multiple resources

When animating for the Android platform is it a better practice to create a sprite sheet with multiple states for each sprite on a single picture or should I instead export individual images for each ...
3
votes
3answers
11k views

Import a 3D animation into an android game

I want to import a skinned and animated character model built with bender into an android game. The animations can be: idle, walk, run ...etc I've seen a related question but it's only about ...
6
votes
1answer
2k views

Rotation of bitmap using a frame by frame animation

I have one large bitmap that has four frames drawn on it and I only draw one at a time by looping through the bitmap by increments to animate walking. I can get the bitmap to rotate correctly when it ...
1
vote
1answer
1k views

What external 2d animation formats can I use in android?

For an artist who won't be dealing directly with the code, what formats for 2d animation could they use that would be portable into an android game? In my particular case there are no collision ...
82
votes
8answers
119k views

How do I get started making Android games? [closed]

I am new to game development. I am interested in developing 2D games for the Android platform. What is the best place to start with (i.e) What are the basics and how to proceed? I already have ...