Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Android is an operating system for mobile devices developed and maintained by Google, Inc. This tag should contain specific programming questions about Android.
1
vote
GameLoop architecture for local multiplayer
It depends on your architecture, but I think you're thinking about this too hard.
In general, if you're going to thread something it should be worthwhile to spawn that thread and keep it running (the …
14
votes
Accepted
Max texture size Android : which settings for 2048x2048?
You'll be okay to ship your game to majority of your users with a configuration like that. Even the fairly old (nearly 3 years now) old Samsung Galaxy Captivate will run with a texture resolution of t …
5
votes
Accepted
Libgdx. Converting Screen Click Coordinates into World Coordinates for 2D Game
Sure.
Take your camera matrix and unproject it (or invert it). This can be done in libgdx like so:
Vector3 worldCoordinates = new Vector3(screenX, screenY, 0);
camera.unproject(worldCoordinates);
…
7
votes
Programatically find out which app store install came from?
I'm going to assume you're writing in Java as you're writing for Android, but if you're not you can look up methods in your language of choice to get the same sort of result. …
1
vote
As an Android dev, what should I keep in mind for porting to iPhone?
Going to add my two cents to this thread - consider writing your game in a cross platform language like many of the others have said here... but consider C#! It's a powerful language that is managed a …
4
votes
Accepted
Drawing Sprites in Android OpenGL efficiently?
You'll want to look at SpriteBatch then which basically involves deferring any actual GPU draw calls until all the drawing has been completed and ready to be flushed to the GPU bugger. This is a very …
6
votes
How to make a map
You've noted down Android on your answer, so I'm going to centralize certain aspects of this answer according to that but it's universally applicable despite your platform. …
1
vote
Converting a 2D curve into points for data storage
Take a look at curve interpolation - there's a few different types you can implement that will help smooth your curve. The more points you can get on that circle, the better. Storage is pretty cheap - …
2
votes
How do I store level-data in Android?
You most definitely want to use something like XML or JSON if a plist if what you're familiar with. Take a look at some of the available libraries you can use to parse either and store your data like …
3
votes
Accepted
Cost of changing scene in andengine
The AndEngine documentation states that a Scene is nothing more than a mere container for a specific game state. Logically, if it makes sense for each "level" to be a state - (they are distinicntly di …