Change follow request to "F" button, use nes-css buttons
This commit is contained in:
parent
5c385c520a
commit
2cd088c049
3 changed files with 15 additions and 20 deletions
|
@ -16,6 +16,7 @@ export enum UserInputEvent {
|
|||
MoveDown,
|
||||
SpeedUp,
|
||||
Interact,
|
||||
Follow,
|
||||
Shout,
|
||||
JoystickMove,
|
||||
}
|
||||
|
@ -147,6 +148,10 @@ export class UserInputManager {
|
|||
event: UserInputEvent.Interact,
|
||||
keyInstance: this.Scene.input.keyboard.addKey(Phaser.Input.Keyboard.KeyCodes.SPACE, false),
|
||||
},
|
||||
{
|
||||
event: UserInputEvent.Follow,
|
||||
keyInstance: this.Scene.input.keyboard.addKey(Phaser.Input.Keyboard.KeyCodes.F, false),
|
||||
},
|
||||
{
|
||||
event: UserInputEvent.Shout,
|
||||
keyInstance: this.Scene.input.keyboard.addKey(Phaser.Input.Keyboard.KeyCodes.F, false),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue