Tagged Questions
-2
votes
0answers
24 views
Android Divide height evenly into tiles
I am writing a simple Sudoku app. I am overwriting onDraw to create the main grid of the sudoku game. The layout basically is :
Parent/Main Activity -> Contains 2 child views
-> SudokuBoard view - ...
-2
votes
1answer
122 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
159 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
68 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
93 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
381 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
315 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
0answers
293 views
Dynamic 2D (1D) map generation in libgdx
I'm currently brainstorming a game idea and I have stuck in one place. I'd like to dynamically generate endless map which looks pretty much like the one in game Hill Climb Racing (Android) or like ...
0
votes
6answers
460 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
0answers
60 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
210 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
468 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 ...
5
votes
2answers
516 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
139 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 ...
5
votes
4answers
1k 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
326 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
278 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
371 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
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 ...
-6
votes
1answer
327 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
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 ...
1
vote
1answer
1k 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
339 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
76 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
618 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
431 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
1k 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
vote
1answer
505 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
194 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 ...
4
votes
2answers
2k views
How to calculate shot angle and velocity to hit a moving target?
I am developing a 2D Android game and I am making an aiming algorithm for AI projectiles to hit enemies either following a path, or free moving. At the moment it just calculates where the target will ...