Interaction from the player that corresponds to action in the game. Or in simpler terms - pushing buttons!
15
votes
2answers
3k views
How to make a character jump?
I am currently making a game in C# using Direct X 9.0. The game remake is Donkey Kong NES. I have nearly everything completed, but I am having problems with the physics of Mario's jump. I have ...
49
votes
5answers
14k views
Good 2D Platformer Physics
I have a basic character controller set up for a 2D platformer with Box2D, and I'm starting to tweak it to try to make it feel good. Physics engines have a lot of knobs to tweak, and it's not clear to ...
10
votes
5answers
2k views
Keyboard input system handling
Note: I have to poll, rather than do callbacks because of API limitations (SFML). I also apologize for the lack of a 'decent' title.
I think I have two questions here; how to register the input I'm ...
11
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 ...
14
votes
3answers
2k views
Polling vs event driven input
I'm developing a game using polling for the input method. However, now that I'm delving deeper into the game menus and other UI components, I'm finding that I'd probably like to have event driven ...
2
votes
2answers
271 views
Voice input in games beyond voip chat
Is there any cross platform libraries available for handling input from a microphone?
I am thinking beyond voice chat to noise / voice recognition.
I am putting together a plan for a role playing ...
9
votes
1answer
362 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 ...
8
votes
2answers
378 views
Correct way to abstract an XBox Controller
I've got a XBox360 controller which I'd like to use as input for an application.
What I can't work out is the best-practice way to expose this via an interface.
Behind the scenes, the class which ...
4
votes
3answers
2k views
How can I stop looking for keyboard input for a length of time?
I'm pretty new to programming, and even newer to C# and XNA. I currently call a method that looks for keyboard input in my Update method. This method has if statements for doing what needs to be done ...
6
votes
3answers
3k views
How do I simulate the mouse and keyboard using C# or C++?
I want to start develop for Kinect, but hardest theme for it - how to send keyboard and mouse input to any application. In previous question I got an advice to develop my own driver for this devices, ...
3
votes
1answer
944 views
XNA mouse position in windows forms
I am using this code in Update method in XNA RenderControl in Windows Forms:
...
Mouse.WindowHandle = renderControl1.Handle;
MouseState stat=Mouse.GetState();
...
Everything works fine but when I ...