Could anyone explain why this is?
Code: Select all
ExamineKeyboard()
ExamineMouse()
speed = 10
If KeyboardPushed(#PB_Key_RightShift)
speed = 30
EndIf
If KeyboardPushed(#PB_Key_W)
y = y + speed
EndIf
If KeyboardPushed(#PB_Key_S)
y = y - speed
EndIf
If KeyboardPushed(#PB_Key_D)
x = x - speed
EndIf
If KeyboardPushed(#PB_Key_A)
x = x + speed
EndIf

