Forum > ButtonBash - Game Reset
ugg sheepskin cuff boots
ugg delaine tall boots
ugg classic short boots
ugg classic winter boots
ugg classic mini 5854
ugg classic short 5825
ugg classic tall 5815
Wholesale Green Bay Packers jerseys
ugg classic chocolate
ugg classic tall boots grey
ugg short boots chocolate
ugg classic boot grey
ugg bailey button triplet boot
UGG Tasmina
December 14, 2011 |
fsag



Hello Everyone,
Looking at the code for "03 Button Bash Test" I discovered an issue with the game reset (pressing the start button on controller 1). If you use the code as-is from the download, it will only zero out the counts for the first pad, not the other three. Here is the fix for the other 3 controllers.
if (pad1.Buttons.Start == ButtonState.Pressed)
{
acount1 = 0;
bcount1 = 0;
xcount1 = 0;
ycount1 = 0;
acount2 = 0;
bcount2 = 0;
xcount2 = 0;
ycount2 = 0;
acount3 = 0;
bcount3 = 0;
xcount3 = 0;
ycount3 = 0;
acount4 = 0;
bcount4 = 0;
xcount4 = 0;
ycount4 = 0;
}