Tagged Questions
-1
votes
1answer
76 views
My ClanLib based Keyboard Manager not working [closed]
I created a simple Keyboard manager to detect whether buttons are currently pressed, or if where pressed in that frame. It seems like it should work, yet it seems to not read anything. Here is my ...
-2
votes
1answer
188 views
What intuitively meaningful 2D transform can three-finger multitouch represent? [closed]
With two fingers on a touch sensing plane, we can "grab" (control) two points within a section of 2D plane.
It means it is possible, using two fingers, to translate, rotate, and scale a 2D object ...
10
votes
5answers
290 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 ...
2
votes
1answer
2k views
How move sprite in Java 2d (swing) with keyboard?
I'm practicing some simple techniques with Java swing games, to learn the basics. Right now I'm practicing how to move a sprite... but it's not working! whhyyyy
Here is what I've come up with so far ...
2
votes
3answers
354 views
Efficient way of detecting a touched object in a game?
Imagine a Sims-like 2D game for a touch based mobile phone where one can interact with virtually any object in the scene.
How can I efficiently detect which object is being touched by the player?
In ...