0
votes
0answers
17 views

OpenGL ES 1.0 Create a Trapezoidal perspective scaling on a texture while using Ortho

I am using an Ortho projection to do most of my stuff and i am happy with it since i basically do everything on the same plane, now however i need to create a simple "flip card" effect on an object ...
1
vote
1answer
56 views

Move an object up while touch is active

I'm trying to move an object towards the top of the screen while the touch is active. This is my current code. When I am touching the screen, the object I'm trying to move just keeps it's place (and ...
3
votes
2answers
124 views

Why are my Box2D wheels slipping on ground?

I have a car, set up in Box2D as a rectangle connected with two wheels using WheelJoints: The wheels are defined as follows: FixtureDef wheelFixtureDef = new FixtureDef(); ...
1
vote
1answer
114 views

Tiles touching all of same color check

I'm currently having a problem that has stopped my productivity for quite a while. I need to check if all tiles of a color is touching each other for each color like this: I have all my code for ...
0
votes
1answer
102 views

Resolution independent physics

I'm making a game like Doodlejump but don't know how to make the physics scale on multiple resolutions. I also can't find anything related to this on Google. Right now I'm scaling the game using ...
0
votes
1answer
412 views

Unity3D : Pause Menu - Android

I am making a 2D game for Android. Almost completed the game but now I need a pause game option. I added a pause icon on the top right side of the screen. The icon is a GUI texture. What I did so far ...
0
votes
0answers
116 views

SurfaceView.Callback.surfaceDestroyed is called too early in Android

I'm making a simple animation application. Everything works as planned, except one little detail: About 50% of the time, exiting the application (Home or Lock button), makes the Logic throw a ...
1
vote
1answer
43 views

How to make the images appear in a specific location? [closed]

How can I draw a sprite in a specific location of the screen using native Android 2D graphics API? The image should stay in the location specified.
-3
votes
1answer
177 views

Games with simple graphics like Dots or 2048? [closed]

I want to try making an Android game, but I'm bad at making graphics. I want to make a game with very simple graphics and I'm looking for inspiration. What are some games like Dots or 2048?
1
vote
5answers
152 views

How to reduce a rectangle without problems?

I'm developing an asteroids' game and I'm needing to reduce the rectangle of the spacecraft because when I use the method intersect() of Rect class to detect a collision with an asteroid they are far. ...
11
votes
2answers
977 views

How do I create a World Healing Wave effect?

I want to change my dark and depressing background to a happy grassy background, in real-time, such that the happy background is shown in a radius around a game character. A forcefield of happiness, ...
0
votes
1answer
118 views

Game states vs calling new activities

I am trying to decide what the best method is to call "level complete-screen" and "game over-screen" in my real-time android 2d game. Currently I am using game-states and only updating my game when ...
0
votes
2answers
299 views

translating canvas for rotating sprites that shoot

I am trying to align bullets to my different sprites guns (top down 2D for android). Right now Im using this method to draw my bullets: public void draw(Canvas canvas){ update(); ...
0
votes
1answer
125 views

Load all bitmaps at once or only when needed?

I am starting to get a pretty hefty amount of bitmaps in my 2d game for android. I load them all in 3 colors to save some memory but the thing is, I load all of them when "Start game" is pressed, even ...
0
votes
1answer
240 views

Feasability of mobile 2D multiplayer RPG game with interactive bitmap background

I'm looking to develop a 2D multiplayer RPG game for Android, with a bird's eye view similar to that of zelda/pokemon. The game is very simple in all ways since my intent is for thousands of players ...
1
vote
1answer
1k views

android: How to apply pinch zoom and pan to 2D GLSurfaceView

I want to apply pinch zoom and panning effect on GLSurfaceView. It is Image editor, so It would not be 3D object. I tried to implement using these following links: ...
0
votes
1answer
300 views

Trouble with a modified parallax scrolling concept

I have a set of layers (each of them being a list of items) moving with different speeds as I mentioned here: http://stackoverflow.com/a/18962019/270197. Layers back in the scene move with slower ...
2
votes
2answers
326 views

Split up a screen into regions

My task: I want to split up a screen into 3 regions for buffs-bar (with picked items), score-info and a game-map. It doesn't matter are regions intersect with each other or not. For example: I have ...
0
votes
0answers
261 views

Android SurfaceView framerate issue

I am using SurfaceView to draw a lot of Bitmaps onto canvas. This causes really variable frame rates depending on how many objects are present. My code below: public class OriginalView extends ...
2
votes
2answers
263 views

Large resolution differences

I want to develop a game on multiple devices such as PC, Android or IOS. Want it to be in 1080p, but that means a massive scale down for the smartphones. I know how to do that, just render everything ...
1
vote
1answer
681 views

Android Dynamic 2D Map

My problem is, I want to create a 2D tiled map. Yes, I know it's been asked a lot. I've seen answers that propose the use of tiled however it only allows (or so it seems to me) to generate static maps ...
0
votes
3answers
397 views

how can we define dynamic Path of ViewObject(Bitmap) On Canvas

I am Currently working on One 2D Android Game, In this game One ViewObject(Bitmap) is moving Across Screen On Parabola Path Like in this Image, But this Path is Static, the Static path is getting ...
0
votes
1answer
200 views

How can I draw a small bitmap on a larger bitmap at a particular position? (Canvas / SurfaceView)

I'm building a game that requires additive blending of colours for certain bitmaps. Say I have 4 different types object, there are maybe ten of each type on the screen with each type having a ...
-2
votes
1answer
179 views

Spawning enemies outside of view [closed]

I'm trying to create a 2d shooter for Android. How do I spawn enemies "above" the screen, so that they "enter" the game screen instead of spawning at the top of it? I think I need to make a game ...
-1
votes
2answers
2k views

Developing a 2D Android game on Unity - Pros and Cons [closed]

Depending on your experiences, if you have created a 2D game on Android using Unity, was it painful? Have you ever said "I wish I have used X instead of Unity!"? Tell me the Pros, Cons and the name ...
-6
votes
1answer
106 views

Android Game an [closed]

I want to develop an android game (3D/2D).. and I don't have any knowledge about android app development. So can you suggest some helpful and understandable resources like video tutorials or head ...
4
votes
2answers
118 views

Should I target a mobile phone or simulation tools are good enough?

I'm starting mobile development, and I would want to know if it's necessary to target a specific smartphone, or nowadays one can run a simulation that will provide accurate data of how the game will ...
-1
votes
2answers
2k views

How to make a map [closed]

For school my group and I are going to make a 2d turn based strategy game on android. We are trying to make a simple version of Advanced Wars(screenshot1 Gameplay). But we don't really know how to ...
0
votes
2answers
805 views

Drawing Sprites in Android OpenGL efficiently?

I want to basically give myself some sprite drawing functions (making use of openGL) such as; draw(Texture,x,y) I want to do this using OpenGL-ES 2.0 on Android. Since the textures can be varying ...
0
votes
6answers
1k views

Can I develop a game on PC in Java and move it to Android?

I have fairly good experience with Java, but new to Android development. I would like to develop a 2D game which would have animations and online play. Can I initially develop this game on my pc ...
1
vote
1answer
291 views

2D map/plane with nodes overlayed that supports panning, scaling and clicking on nodes

I'm trying my hand at Android development and seem to be running into an invisible ceiling in trying to get what I want accomplished. Basically I'm trying to create an app that renders a 2D surface ...
2
votes
1answer
554 views

Rendering multiple squares fast?

so I'm doing my first steps with openGL development on android and I'm kinda stuck at some serious performance issues... What I'm trying to do is render a whole grid of single colored squares on to ...
1
vote
3answers
1k views

Android, how important is deltaTime?

Im making a game that is getting pretty big and sometimes my thread has to skip a frame, so far I'm not using deltaTime for setting the speed of my different objects in the game because it's still not ...
6
votes
2answers
896 views

android multitouch problem

Im aware that there a a couple of posts on this matter, but Ive tried all of them and none of them gets rid of my problem. Im starting to get close to the end of my game so I bought a cabel to try it ...
3
votes
2answers
174 views

Adding delay between damage

I have a bunch of enemies chasing my main-character, and if they intersect I want them to damage him and that's all good. The problem is that right now they damage him as long as they stand around ...
6
votes
4answers
5k views

How to create a Raining Effect(Particles) on Android?

I am developing a 2d android strategy game, it runs on SurfaceView, so I can't(or can I?) use LibGdx's particle system. And I would like to make a raining effect, I am aiming for something like this( ...
0
votes
1answer
460 views

android basic Movement for array-objects

I was adviced to start a seperate question for this so here I go. Been stuck so long with this do if you can help, please do. Lets get to it! Im trying to set the speed for my bullets, but since Im ...
2
votes
1answer
422 views

android game-logic for shooter

Im creating a 2d game for android. I'll just get right to it. I have a sprite controlled by a joystick that needs to shoot, sofar Ive managed to get direction and movement on my bullet, but then I ...
2
votes
2answers
696 views

android 2d bullet-spawn (shooting)

This will be a quick question since Im pretty sure I'm overlooking something small that I for some reason cant see. My sprite is moved using a joystick, and I want my sprite to be able to shoot. I've ...
2
votes
1answer
924 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 ...
-6
votes
1answer
531 views

Choosing the right game engine [closed]

1 down vote favorite I'm trying to create a game in java inspired by a Gameboy Color Zelda game. I'm exprienced in java but not in game programming. I've been doing a lot of research on game engines, ...
2
votes
2answers
849 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 ...
1
vote
1answer
2k views

2D Quads : Translation with OpenGL ES 2.0 on Android [closed]

I have a simple 2D engine that renders 2D textured quads, and right now I can scale the quad or rotate it, but when I try to translate it I have a strange distortion (the quad is squashed in the half ...
0
votes
1answer
408 views

Joystick example problem for android 2D

I've searched all over the web for an answer to this, and there are simular topics but nothing works for me, and I have no Idea why. I just want to move my sprite using a joystick, since I'm useless ...
0
votes
2answers
87 views

Crash when trying to detect touch [closed]

I've got a character in a 2D game using surfaceView that I want to be able to move using a button (eventually a joystick), but my game crashes as soon as I try to move my sprite. This is my ...
0
votes
2answers
1k views

How to draw lines between user draggable points?

I want to create a triangle using three different points on the SurfaceView using OpenGL. Line indications between the points with one color and fill the triangle with different color. I want to pull ...
3
votes
2answers
618 views

What is the appropriate way of placing game objects in a 2d game?

I'm developing a 2d game for Android.It will be an endless game.I have some items like coins ,plants and other special items.How can i place them effectively?Are there any algorithm or any suggestion ...
0
votes
1answer
2k views

Texture displays on Android emulator but not on device

I have written a simple UI which takes an image (256x256) and maps it to a rectangle. This works perfectly on the emulator however on the phone the texture does not show, I see only a white ...
-1
votes
1answer
708 views

Scrolling and Parallax scrolling in 2D game

I'm developing a 2D side-scrolling game.I have a scrollable bitmap for background with size 2400x480.How can i scroll this bitmap?I have searched for algorithms but i can't find any solution. I know ...
4
votes
1answer
210 views

Clicking on clues and other objects in a 2D cluedo like game

I'm a java/android programmer, but I don't have any experience in game programming, I'm already reading proper books, like "Pro Android Games", but my concerns are more about the ideas behind game ...