Getting Input With CreatorInput

By: W-Buffer

A Game Consist not only graphics, you need the user input!, Creator 7 Comes with CreatorInput from V0.9.

To init Creator Input you just need to call InitNormal Method!

Dim ui as CreatorInput
ui.InitNormal Form.Hwnd

KeyBoard Manage Methods:

GetKBInput.- Returns the number of the key that was pressed, just 1 key at the time, returns a Byte variable.
GetKBKey.- Returs True or False if the selected Key is pressed.

Mouse Manage Methods:

GetMouseButtonPressed.- Returns the number of Mause Button Pressed.
GetMouseButton.- Returns True/False if the selected button is pressed. GetMousePos.- Gets X and Y mouse Position.
CursorStatus.- Hides or Unhides the Cursor.
SetMousePosition.- Sets the Mouse Position!

Yup, that's all for now expect the Advanced Input Handling Tutorial that will include Joystick Support.

Hosted by www.Geocities.ws

1