rework input to be in line with rendering semantics
This commit is contained in:
@@ -11,6 +11,13 @@
|
||||
static void ingame_tick(State *state) {
|
||||
SceneIngame *scn = (SceneIngame *)state->scene;
|
||||
|
||||
input_bind_action_control("player_left", CONTROL_A);
|
||||
input_bind_action_control("player_right", CONTROL_D);
|
||||
input_bind_action_control("player_forward", CONTROL_W);
|
||||
input_bind_action_control("player_backward", CONTROL_S);
|
||||
input_bind_action_control("player_jump", CONTROL_SPACE);
|
||||
input_bind_action_control("player_run", CONTROL_LSHIFT);
|
||||
|
||||
world_drawdef(scn->world);
|
||||
player_calc(scn->player);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user