CE Input
Input library
Example
// Control characters using keys bound to actions
hspeed = (ce_input_check_down(EAction.MoveRight)
- ce_input_check_down(EAction.MoveLeft));
if (ce_input_check_pressed(EAction.Jump))
{
vspeed = -10;
}
if (ce_input_check_pressed(EAction.Attack))
{
instance_create_layer(x, y, layer, OBullet);
}
Installation
Using Catalyst, the open-source package manager for GameMaker Studio 2:
catalyst require slagtand-org/ce-input
Related
This library is a part of project CE. For more information, please visit the project's repository: https://github.com/slagtand-org/ce