Operating system for mobile devices. For non-developer questions, see http://android.stackexchange.com
0
votes
0answers
7 views
Time on touch events?
Whats the best way to have a touch even cause an action for a specific period of time or deltaTime?
It seems like it should be simple, but I have tried while and for loops based on int counts for ...
0
votes
0answers
17 views
Flickering GUI on Android
New version of Unity is causing rather weird problems on Galaxy S device. The GUI starts to flicker, tear and disappear altogether at random in different screens. But this only happens on the second ...
-1
votes
1answer
40 views
Android TCG structural design [closed]
I started developing tcg for android, using ADT bundle.
What is the right approach/way for making/storing cards/game info, local sqlite, some kind of data file? some service? or something else?
0
votes
1answer
17 views
Problem with Widget Event Reporting in Libgdx
So I'm trying to test an ImageButton on an Android device. I can get the button to appear on the screen, but when I press it nothing happens or appears on the log. Here is what I have in the Show() ...
-1
votes
1answer
70 views
Will Google Play Game Services allow asynchronous gameplay
Will the Google Play Game Services multiplayer allow asynchronous (turn-by-turn) gameplay like DrawSomething?
I've checked the docs but cannot find anything except a few mentions via a separate ...
0
votes
0answers
38 views
Making Puzzle Bubble type game in AndEngine [closed]
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 ...
1
vote
0answers
40 views
Accessing variables from non-neighbouring classes specifically in game development (Android)
Edit
Using direct access while breaking the law of demeter looks like this:
res.sprite.drawQuad(res.sprite.xScreen,res.sprite.yScreen, mMVPMatrix);
Using proxy methods / getters / setter looks ...
0
votes
0answers
15 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 ...
0
votes
1answer
37 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
96 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
26 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
76 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
83 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 ...
-1
votes
0answers
18 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 ...
0
votes
0answers
18 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 * ...
0
votes
1answer
18 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
42 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
25 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
29 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
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 ...
-2
votes
2answers
96 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..
7
votes
3answers
216 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
1answer
127 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 ...
0
votes
1answer
55 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 ...
-2
votes
0answers
26 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
107 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
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 ...
4
votes
1answer
165 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 ...
2
votes
0answers
30 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 ...
1
vote
0answers
76 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
29 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 =)
2
votes
2answers
121 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
2answers
110 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
1answer
44 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 ...
-1
votes
1answer
95 views
Using Unity3D from within Eclipse
Is it possible to use Unity3D from within Eclipse? I've seen that I can import a Unity3D project into Eclipse, but I cannot seem to be able to access classes such as Terrain or Ray. I don't know if ...
0
votes
0answers
71 views
Android OpenGL ES 2.0 gameloop problems
I implemented a gameloop found here: http://www.koonsolo.com/news/dewitters-gameloop/ into my OpenGL ES 2.0 Android game. The tutorial was written with the canvas API in mind, not OpenGL so I made a ...
-2
votes
0answers
134 views
Unable to launch cygpath. Is Cygwin on the path? - cocos2d-x [closed]
I am new to cocos2d-x. I configure cocos2d-x in Windows 8 / Eclipse and I use android-ndk-r8b.
First of all, before I get this error of cygpath, I had the following error:
"Program bash not found in ...
8
votes
1answer
317 views
How to reduce image size without pixelation?
I see lots of games with smooth edges characters and high res images, however when I try to reduce images to say 64x64 for my character I just get a pixelated mess. even if I start with a 64x64 canvas ...
3
votes
1answer
56 views
Saving data across same game in multiple devices [closed]
Is there any library or something that works like iCloud but for different operating systems (Android, IOS, Windows Phone) that allow me to save game data to cloud and open the game data from another ...
3
votes
2answers
79 views
Formula for converting ratio of current device to target device
I am designing my (Android/OpenGL ES 2.0) app on one device and want it to run all all other devices while keeping the screen ratio of the development device (so the image doesn't stretch / squash), ...
7
votes
1answer
268 views
When and why is a Pool class needed to hold objects?
I've been studying opengl es and an example I saw was using a "Pool" class to keep track of touch and keyboard events.
Could someone please explain how and why a pool class is needed. From what I was ...
-1
votes
0answers
40 views
Animation in timelines [closed]
Im using MAYA 3D and adobe flash. I was wondering how I can make an animation of an animal birth, its for an app. So within a 24 hr period you can view the egg growing with the little critter inside ...
5
votes
1answer
132 views
How can I get pre-release reviews of my mobile game?
My iOS and Android game is at its last stage of development. Is there a way for me to get pre-release reviews from people? Or maybe from the press? How should I proceed?
1
vote
1answer
58 views
Centering GLViewport position within physical screen
I'm developing my app on one device and want it to display at the same ratio on all other devices.
Currently what I have is 'image 1' in my image below - the game fits perfectly onto my development ...
1
vote
1answer
154 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 ...
-3
votes
0answers
51 views
How to animate the Tilemap object in Libgdx? [closed]
I am facing problem to animate or move the object(Cell) of Tilemap??? Is there any solution for this???
-1
votes
1answer
240 views
Android 2D game engine [closed]
I'm looking to make my first 2D sidescroller for android, and would prefer an open source engine good for 2d games. I might eventually have 3d backgrounds too, so if it can handle those that would ...
1
vote
0answers
55 views
sharing preferences between two apps on android with libgdx
I am making an android game with both a demo version and a paid version. I want users who decide to buy the paid version to continue from where they left off, with all their old data and settings.
...

