Changes

Jump to: navigation, search

GAM666/DPS901 Victorious Secret

898 bytes added, 23:19, 6 November 2011
Controls
** 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. (vvtran)
** From my understanding of the engine, what's implemented for the controllers should be enough as it is. Would I need to create a seperate Joystick class like it's done in the notes? If I want to do the controller button up/released, is this what is required to do so?
** <s>Axis of the controller also don't seem to be implemented either. Or at least I can't seem to pinpoint where. I just see that axis are detected and setup, but I can't seem to find where to actually call up their status and see if they're being changed. ... although somehow the camera rotates when I use them...</s>*** Figured it out. I also had to include a "dead-zone," which means that the user has to push the analog a certain amount before it does anything. Really it's just restricting a range greater than 50 and -50. Having no dead zone makes it a tad too sensitive, so that even moving in various directions it would register.**** Because we're using the right thumbstick for control, we need to figure out how to always include the right thumbstick instead of having to check off the box in the dialogue box. Probably the best behavior for this would be to check to see if a Z-axis exists in code, if it does, use it, if it doesn't, default to the left thumbstick's up and down.**** For future reference: ***** GT_CT_POSX = Left Thumbstick, Left/Right***** GT_CT_POSY = Left Thumbstick, Up/Down***** GT_CT_DSPZ = Right Thumbstick, Left/Right***** GT_CT_ROTZ = Right Thumbstick, Up/Down
=== GUI Elements ===
1
edit

Navigation menu