VBGamer |
|
Re: Key Binding... Amorano (0 replies, 0 views) (2001-Jan-11) My bad BTW. I re-read that. Yes, you can do that, but I was saying it is a little obtruse to do so in my main loop.
The old way I never used direct key input, I always used buffered. But with the action map, you can't use buffered, since it fires when an event occurs.
Your way would work fine however. Just , like I said, obstrusive, esp when you have to check button state on the joystick and mouse as well.
All they really need to do is add either buffered input to the action mapper, or to make the action mapper fire events everyframe that it is called and the button is in a state other than the last one. :)
Ok, so I suppose I am lazy. Plus theirs would be optimized in C++ instead of me having to write it in VB or :) C# soon enough. |