Open erikwatson opened 3 years ago
Bramble should provide a way to set input mappings, so we can do things like define a bunch of inputs that we group as "Jump" or whatever.
Example - something like this? Not entirely convinced.
input.define('jump', [ { key: keyboard.Z, state: 'justDown' }, { key: keyboard.X, state: 'down' }, { key: keyboard.SPACE, state: 'released' }, ]) if (input.isFiring('jump')) { // ... }
Bramble should provide a way to set input mappings, so we can do things like define a bunch of inputs that we group as "Jump" or whatever.
Example - something like this? Not entirely convinced.