2
votes
0answers
47 views

Adding touch/click event to a bitmap in android

In my android game, there is a surfaceview which has 36 bitmaps drawn on it. I want to change the bitmaps when they are touched. Is there a way implement touch or click event to the bitmaps ? Adding ...
0
votes
0answers
75 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 ...
10
votes
5answers
648 views

What is a suitable input method to use for a 2D platformer on a touch device?

I am creating a 2d platformer game like Super Meat Boy in which precision of movement of my lead character matters. I am using libgdx. The keyboard controls on the PC work precisely, but when it comes ...
1
vote
2answers
157 views

What is the best way to funnel input to the correct entities?

I have an input pipeline that stores InputObjects into a queue, which I then iterate through once every frame. while(!inputQueue.isEmpty()) { InputObject inp = inputQueue.pop(); boolean ...
5
votes
4answers
621 views

Optimal touch controls for a twin-stick shoot 'em up?

So we recently launched a shoot 'em up arcade-type game (think Smash TV or I Made a Game with Zombies in It!). You can move in one direction and fire in another, so the ideal control scheme is ...
9
votes
1answer
401 views

Is there a gold standard for touch controls in scrolling shoot-em-ups?

Is there currently a "standard" for touch controls in shooters on platforms such as iPhone or Android? I've noticed that many of them enable auto-fire by default, or control the character via direct ...
12
votes
6answers
4k views

Making (or emulating) a “D-Pad” on a touch-screen; virtual d-pad

With the proliferation of touch based devices, many lacking a true D-Pad, I'm wondering if anyone has any resources on how to emulate a D-Pad on a touch screen? I'm specifically interested in XNA ...