Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com

learn more… | top users | synonyms

0
votes
0answers
9 views

Making Puzzle Bubble type game in AndEngine

I want to make Puzzle Bubble clone game and I need some serious help. Can you please tell me using physics what should I start with? I mean how can I make addictive levels and How can I reflect the ...
0
votes
1answer
407 views

Making body(box2d) a spite(andengine) in android

I can't make body(box2d) a spite(andengine) and at the same time i wanna apply MoveModifier to sprite which is body.if i can make just body,it works namely the srites can collide.if i can apply just ...
0
votes
0answers
11 views

Accessing variables from non-neighbouring classes specifically in game development (Android)

I've read a few questions on this subject but my question relates specifically to game development (and even more specifically, use of these methods within a game-loop). I have the following classes ...
1
vote
1answer
142 views

How do I make a scrolling background a la “Temple Run”?

I am looking to create a scrolling background much like "Temple Run" so that it may appear as though you are running down a hallway. Would someone please be able to point me in the right direction? I ...
0
votes
1answer
15 views

Android cocos2d getting a sprite to continuously move to a dynamic position

I tried using the MoveTo method in cocos2d to get a sprite to continuously follow my player sprite: CCMoveTo actionMove = CCMoveTo.action(actualDuration, player.getPosition()); CCSequence actions = ...
-2
votes
0answers
58 views

andengine Tower Defence game - Enemy<-Weapon interaction [migrated]

What is the most correct from the performance point of view - algorithm of interaction between Enemy and Weapon(bullet maybe more correct here) ? Should every sprite every single bullet check for ...
0
votes
1answer
32 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 ...
0
votes
0answers
12 views

How to get sprites react to touches in cocos2d-android

i have 1 gun when tap on any area on the screen bullets fires out, but according to my requirement there are 3 guns(sprites) when touched on any of the sprites bullets must fire up, when googled i ...
3
votes
1answer
939 views

How to move gameobject with touch on Android

I'm trying to make a game where you control a character via touch on Android devices. The player will have two degrees of movement. When you touch the touch screen and move your finger, the game ...
0
votes
1answer
30 views

How do you implement Libgdx touchDragged?

I'm a beginner in Java and in Game Development too. I was following some tutorials, but now I'm stuck on implementing a touchDragged listener using libgdx, Can anyone suggest how to drag the image ...
1
vote
1answer
82 views

How do I convert my XNA game to Android without using MonoGame?

I want to convert my XNA Game to Android, but I don't want to use MonoGame or ExEn. How can I do this?
-1
votes
0answers
20 views

Skins for libGDX user interface [closed]

I am making a user interface in libGDX using the scene2d.ui portion of the library. To make a button, however, I need to have a skin. I was wondering if there is some sample premade skins available by ...
-2
votes
0answers
63 views

getting “lag” in my game

I'm having some lag problems. It's not because the amount of processes on my cellphone. I guess it's the timing of sending and receiving information from my server. My game consists of moving around ...
-1
votes
0answers
66 views

Should I use Java, HTML5, or Unity 3D for my Game? [closed]

I am developing a game and I would like the game to be available on the iPad, Android Tablets, Mac, and Windows. I've already began developing the game in Java, which will ensure support for the ...
0
votes
0answers
14 views

improving performance of NME for Android

I'm still new to NME and I'm making a game for Android. I'm using FlashDevelop to build and testing on a Galaxy S Advance. But I'm not getting the performance I want. Is the phone too slow to handle ...
1
vote
1answer
26 views

How to check default axis orientation on device?

I am developing a game which uses the accelerometer to move the character. It works fine on all the mobile phones tested on. However when testing on a tablet, it seems the y and x axis are reversed I ...
0
votes
0answers
12 views

Android cocos2d getting collision detection to work only on some frames of animation

I have an animated bomb sprite in my game and use CGRect for collision detection: for (CCSprite bomb : _bombs) { CGRect bombRect = CGRect.make(bomb.getPosition().x - (scaleFactor * ...
5
votes
2answers
741 views

Implementing fog of war in opengl es 2.0 game

Hi game development community, this is my first question here! ;) I'm developing a tactics/strategy real time android game and I've been wondering for some time what's the best way to implement an ...
4
votes
1answer
160 views

Android game loop's effect on cpu/battery usage - unexpected results

I will try to keep this question as concise and as readable as I can. I recently came across an odd problem with my Android game that I'm developing. It's an openGL ES 2.0 game and initially I was ...
0
votes
1answer
52 views

Android Loop : Draw Loop : How to pull off smooth FPS?

I am writing 2D side scrolling bullet hell-like game. I am at a point where I struggle to pull off smooth fps. I have separated loop that manages drawing. However I want update the position of ...
10
votes
4answers
15k views

Where are all the tutorials for libGDX?

I've searched online for help and tutorials on LibGDX but I couldn't really find any, except and the wiki for asking questions on stackexchange. Besides the source (demos) and wiki, is there any other ...
0
votes
0answers
21 views

Adobe Air Mobile AS3 app: challenges and how to overcome them?

I made a PC flash game for LD 26 - minimalism and I am working on porting it to Android. Some questions I'd like to ask: Is it bad to heavily use vector graphics (ie. this.graphics.lineTo()) in ...
0
votes
0answers
46 views

What's the most efficient way to merge two arrays of game sprite objects? [closed]

I've been thinking of using LinkedLists and its list1.addAll(list2); method, but a post on this thread suggests that it's a bad idea and I'd be better off just merging two arrays. What is the best ...
0
votes
1answer
220 views

AndEngine drawing 2D tiled game field

I'm in process of developing simple android puzzle game. I decided to choose andEngine as an engine for my game. In my game I have a gameField [][] array, which represents a game field, where each ...
0
votes
1answer
148 views

GameLoop architecture for local multiplayer

I'm writing a game for Android to which I want to add a mulitplayer mode (local multiplayer via WiFi/Bluetooth, not online multiplayer via server). I stored the exchange-code between the client ...
7
votes
3answers
200 views

Collision detection problems using AABB's

I implemented a simple collision detection routine using AABB's between my main game sprite and various platforms (Please see code below). It works great, but I'm now introducing gravity to make my ...
1
vote
2answers
785 views

AndEngine Sprite position

I had noticed the AndEngine a few days ago, and I tried to create basic game with a few Sprites.Sure, the engine makes the development process much more easier.However I found the sprite lacking a ...
2
votes
2answers
294 views

How do I get the touch event on a body in Box2d(Java)

I have various bodies rotated at some angle with the help of Box2d in libGDX. What I want is to destroy the body when I click on it, but the problem is that I am not able to get the area definition of ...
0
votes
1answer
399 views

Android: Improving surfaceView?

I'm using Surfaceview in my Android app. I have two threads, one for UI and another for rendering and updading the UI. I am limiting my frames per second to 30 fps and have employed frame-skipping ...
0
votes
1answer
25 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 = ...
8
votes
2answers
1k views

Play videos with LibGDX

Is there a way to play videos with LibGDX? I want to put a video as my splash screen in Android, but I dont want to use the Android SDK, because I am using LibGDX and I am almost finished :/
-2
votes
0answers
72 views

Game development update for newbie [closed]

I know many topics been here before but i think mine will be the most updated question. I want to start on game development, my target platform is android. I have experienced in web desktop and ...
0
votes
1answer
105 views

Drawing more that one quad with only one glDrawArray call…?

Edit After initially thinking that my sprite batch test was faster than calling each sprite individually, it appears that is not the case!! :-( With a single set of GL calls for a each sprite, I can ...
2
votes
1answer
168 views

Android Virtual Pet Gameloop

Hello I'm looking for a bit of advice in which way is the best to proceed creating my applications 'gameloop' - It doesn't want to be a game loop in the truest sense since I'm not really rendering any ...
-5
votes
1answer
813 views

Which programming language is used to develop an app in corona?

What is Corona & Which programming language is used to develop an application in corona? What physics Engine is corona using? and any other information that is absent in their site?
-2
votes
2answers
87 views

Cross Platform HTML5 Canvas game engine [closed]

I want to build a puzzle game,I want to develop it for Browsers, Android, iOS, And PC. Please help me and let me know is there any game engine that is useful for making cross platform HTML5 games..
1
vote
1answer
123 views

Optimal FPS for best user experience/battery life

I'm currently developing a game for Android. The "graphics" I'm using is not very CPU/GPU-expensive thus it runs with high FPS. Because on Android devices, saving energy is important, and I want to ...
2
votes
2answers
268 views

Detecting collision between ball (circle) and brick(rectangle)?

Ok so this is for a small uni project. My lecturer provided me with a framework for a simple brickbreaker game. I am currently trying to overcome to problem of detecting a collision between the two ...
2
votes
2answers
113 views

What needs to be done to port a Windows Flash game to Android?

My team has developed a game using Flash (with Lua embeded) that targets Windows. And we want to port that game to Android (also iOS in the future). It's acceptable to rewrite the Flash part of ...
2
votes
1answer
80 views

How can I access bitmaps created in another activity?

I am currently loading my game bitmaps when the user presses 'start' in my animated splash screen activity (the first / launch activity) and the app progresses from my this activity to the main game ...
2
votes
1answer
104 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 ...
-2
votes
0answers
25 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
1k views

Flick Gesture in Unity3D Android

I'm trying to create a football game where the user will make a flick gesture in order to kick the ball. I'm quite new to developing games in unity3d, I have successfully made a moving ball, added ...
0
votes
1answer
162 views

set TouchEvent to every particle in SpriteParticleSystem in andEngine livewallpaper

All I have working on andEngine Live wallpaper and I have use SpriteParticleSystem. I want to add touch event to every Sprite of SpriteParticleSystem and remove that sprite from scene. I have use ...
2
votes
0answers
29 views

Cinema 4D to Android and IOS SDK

how can i convert Cinema 4D animation or models to use in games for android and IOS SDK? or what kind of format is required for SDK games? if i make a dancing character, do i need to make separate ...
2
votes
2answers
107 views

Correct utilisation of gameloop (Android)

When using a gameloop like (much simplified)............ updateLogic(); render(); How does one perform 'single' operations? I mean, things like triggering sounds (which will only be played once), ...
1
vote
0answers
73 views

How to implement a multi-platform Java 2D game engine's graphics?

I'm not sure whether this question should be posted here. I'm trying to make a basic generic game engine in Java. Here's what I have so far. public abstract class Device { public abstract void ...
-1
votes
0answers
26 views

Access music folder on Android using Unity [closed]

have some way, plugin, or code, to select and play musics from android on Unity ? Thanks =)
1
vote
1answer
40 views

Using AdMob with Games that use Open GLES

Can anyone help me integrating Admob to my game. I've used the badlogic framework by MarioZencher ... and My game is like the SuperJumper. I am unable to use AdMob after a lot of my attempts. I am new ...
2
votes
1answer
119 views

How do I eliminate black bar artifacts in AndEngine/TMX plugin?

I used AndEngine gles1 along with the tmx plugin to generate my background maps. The image width is not fit to my virtual device, so I increased the tmx image size. Here is my code for the camera ...

1 2 3 4 5 17