Jump to: navigation, search

GAM666/DPS901 Victorious Secret

199 bytes added, 23:39, 13 November 2011
* Questions regarding the state of the controller when polled (vvtran)
** How do I allow for use of the "hat" buttons (Up down left right buttons on a controller)?
** How can I detect to see if Z-Axis or the right thumbstick exists instead of using a checkbox to do so?
** <s>I notice that the Controller is pretty much set up in the engine, however it seems to only be able to poll if something is getting pressed. Is there a way to poll for when the button is released? If so how can I do this? I would like for this to work because of the cannon's "charge up" when the player tries to fire something.</s>
*** I realized that by using pressed(BUTTON_1) it returns a boolean, so I can figure out if it's down or up if it's true or false. Since I already have a counter that is counting how much power is going into the shot, I'm reusing that as a check to see if the button had been pressed.

Navigation menu