Commands:
You can call the plugin with A-Z, 0-9 and F1-F12
Also using Javascript KeyCodes up to 256 is also allowed
Here are some examples, call them from a script command
- Input.keyTriggered
- check if any key has been activated
- Input.keyPressed
- check if any key has been pressed down
- Input.keyReleased
- check if any key has been released
You can call the plugin with A-Z, 0-9 and F1-F12
Also using Javascript KeyCodes up to 256 is also allowed
Here are some examples, call them from a script command
JavaScript:
if(Input.keyTriggered("Y")){
$gamePlayer.requestBalloon(1);
console.log("You pressed Y");
}
if(Input.keyTriggered(219)){
$gamePlayer.requestBalloon(10);
console.log("You pressed [");
}