From 08f42c2aea7a6d7e6bc50a672c748b47028cbf52 Mon Sep 17 00:00:00 2001 From: David Bloomin Date: Wed, 5 Jun 2024 16:45:18 -0700 Subject: [PATCH] add new js action bindings --- .../src/renderer/level_player/scenes/HumanPlayerScene.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/js/griddlyjs-app/src/renderer/level_player/scenes/HumanPlayerScene.js b/js/griddlyjs-app/src/renderer/level_player/scenes/HumanPlayerScene.js index 6189df36..53cd29ae 100644 --- a/js/griddlyjs-app/src/renderer/level_player/scenes/HumanPlayerScene.js +++ b/js/griddlyjs-app/src/renderer/level_player/scenes/HumanPlayerScene.js @@ -471,8 +471,12 @@ class HumanPlayerScene extends Phaser.Scene { "move": [ Phaser.Input.Keyboard.KeyCodes.E, Phaser.Input.Keyboard.KeyCodes.R ], "rotate": [ Phaser.Input.Keyboard.KeyCodes.S, Phaser.Input.Keyboard.KeyCodes.A, Phaser.Input.Keyboard.KeyCodes.D, Phaser.Input.Keyboard.KeyCodes.W ], - "pickup": [ Phaser.Input.Keyboard.KeyCodes.Y ], "use": [ Phaser.Input.Keyboard.KeyCodes.U ], + "transfer": [ + Phaser.Input.Keyboard.KeyCodes.B, + Phaser.Input.Keyboard.KeyCodes.N, + Phaser.Input.Keyboard.KeyCodes.M, + ], "shield": [ Phaser.Input.Keyboard.KeyCodes.O ], "prestige": [ Phaser.Input.Keyboard.KeyCodes.PLUS ], "attack": [ Phaser.Input.Keyboard.KeyCodes.NUMPAD_ONE,