Interaction from the player that corresponds to action in the game. Or in simpler terms - pushing buttons!

learn more… | top users | synonyms

6
votes
2answers
2k views

How are components properly instantiated and used in XNA 4.0?

I am creating a simple input component to hold on to actions and key states, and a short history of the last ten or so states. The idea is that everything that is interested in input will ask this ...
3
votes
2answers
537 views

How do you test xbox (via PC) input without an xbox on XNA Game Studio?

Is it safe to just hookup a wired Xbox controller to my PC via USB? Do I need to buy a special PC Xbox controller? I've read conflicting reports. Any help is appreciated.
4
votes
11answers
392 views

Varying the strength of attacks by holding down the button

I am preparing a conference session about game design, and a question occurred to me that I haven't been able to answer with Google: In Mario the player varies the height of Mario's jump by holding ...
11
votes
5answers
4k 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 ...
2
votes
2answers
319 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 ...
8
votes
3answers
700 views

How does one separate the acceleration due to gravity from other motion in accelerometer input?

How does one separate the acceleration due to gravity from other motion in accelerometer input?
62
votes
5answers
24k views

Good 2D Platformer Physics [closed]

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 ...
1
vote
4answers
467 views

Compile time error handling for single programmer games?

Hey. My input system has a GetKey() method that returns a key in a map. Simple enough. However, I want to know if the key is not available - be it a typo, or misuse of wording, or something else. I am ...
9
votes
5answers
6k views

Handling keyboard and mouse input (Win API)

There is a number of ways to catch mouse or keyboard under Windows. So I tried some of them, but every of them has some advantages and drawbacks. I want to ask you: Which method do use? I've tried ...
2
votes
3answers
177 views

What determines which key combinations register in a Flash game?

Many times when I'm working on Flash games I'll find that a particular combination of keys held at the same time doesn't register, e.g. LEFT, DOWN and SPACEBAR. I know from my days playing Doom this ...