DarkBASIC Pro Keyboard and Joystick Controls - PowerPoint PPT Presentation

About This Presentation
Title:

DarkBASIC Pro Keyboard and Joystick Controls

Description:

DarkBASIC Pro Keyboard and Joystick Controls Group 3 Neil Dy Zhaoyang Shen Cindy Liu KEYBOARD UP/DOWN/LEFT/RIGHT KEY SYNTAX: RETURN INTEGER = UPKEY() KEYBOARD UP/DOWN ... – PowerPoint PPT presentation

Number of Views:308
Avg rating:3.0/5.0
Slides: 18
Provided by: fdy
Learn more at: https://www.evl.uic.edu
Category:

less

Transcript and Presenter's Notes

Title: DarkBASIC Pro Keyboard and Joystick Controls


1
DarkBASIC ProKeyboard and Joystick Controls
  • Group 3
  • Neil Dy
  • Zhaoyang Shen
  • Cindy Liu

2
KEYBOARD
3
KEYBOARD
UP/DOWN/LEFT/RIGHT KEY SYNTAX RETURN
INTEGER UPKEY()
4
KEYBOARD
  • UP/DOWN/LEFT/RIGHT KEY
  • SYNTAX RETURN INTEGER UPKEY()

CONTROL/SHIFT/RETURN/ESCAPE/SPACE KEY
SYNTAX RETURN INTEGER SPACEKEY()
5
KEYBOARD
  • UP/DOWN/LEFT/RIGHT KEY
  • SYNTAX RETURN INTEGER UPKEY()

CONTROL/SHIFT/RETURN/ESCAPE/SPACE KEY
SYNTAX RETURN INTEGER SPACEKEY()
SCANCODE / KEYSTATE
SYNTAX RETURN INTEGER SCANCODE()
RETURN INTEGER KEYSTATE(SCANCODE)
6
JOYSTICK
7
JOYSTICK
  • JOYSTICK UP/DOWN/LEFT/RIGHT
  • SYNTAX RETURN INTEGER JOYSTICK UP()

8
JOYSTICK
  • JOYSTICK UP/DOWN/LEFT/RIGHT
  • SYNTAX RETURN INTEGER JOYSTICK UP()
  • JOYSTICK X/Y/Z
  • SYNTAX RETURN INTEGER JOYSTICK X()

9
JOYSTICK
  • JOYSTICK UP/DOWN/LEFT/RIGHT
  • SYNTAX RETURN INTEGER JOYSTICK UP()
  • JOYSTICK X/Y/Z
  • SYNTAX RETURN INTEGER JOYSTICK X()
  • JOYSTICK FIRE A/B/C/D/X
  • SYNTAX RETURN INTEGER JOYSTICK FIRE A()
  • JOYSTICK FIRE X(Button Number)

10
JOYSTICK
  • JOYSTICK SLIDER A/B/C/D
  • SYNTAX RETURN INTEGER JOYSTICK SLIDER A()
  • JOYSTICK TWIST X/Y/Z
  • SYNTAX RETURN INTEGER JOYSTICK TWIST X()

11
FORCE FEED BACK
12
FORCE FEED BACK
  • FORCE UP/DOWN/LEFT/RIGHT
  • SYNTAX FORCE UP magnitude value

13
FORCE FEED BACK
  • FORCE UP/DOWN/LEFT/RIGHT
  • SYNTAX FORCE UP magnitude value
  • FORCE ANGLE
  • SYNTAX FORCE ANGLE mag.value, angle value,
    delay value

14
FORCE FEED BACK
  • FORCE UP/DOWN/LEFT/RIGHT
  • SYNTAX FORCE UP magnitude value
  • FORCE ANGLE
  • SYNTAX FORCE ANGLE mag.value, angle value,
    delay value
  • FORCE NO EFFECT
  • SYNTAX AS IS

15
FORCE FEED BACK
  • WATER EFFECT
  • SYNTAX FORCE WATER EFFECT mag. Value,
    Delay value

16
FORCE FEED BACK
  • WATER EFFECT
  • SYNTAX FORCE WATER EFFECT mag. Value,
    Delay value
  • CHAINSAW/ SHOOT/ IMPACT
  • SYNTAX FORCE (NAME) mag. Value, Delay value

17
FORCE FEED BACK
  • WATER EFFECT
  • SYNTAX FORCE WATER EFFECT mag. Value,
    Delay value
  • CHAINSAW/ SHOOT/ IMPACT
  • SYNTAX FORCE (NAME) mag. Value, Delay value
  • AUTO CENTER
  • SYNTAX FORCE AUTO CENTER ON/OFF
Write a Comment
User Comments (0)
About PowerShow.com