Re-implement E/R controls, add toggle UI button for debugging

This commit is contained in:
Anuken
2017-12-12 14:28:51 -05:00
parent c7c7021699
commit de6ccbbc88
11 changed files with 42 additions and 16 deletions

View File

@@ -33,6 +33,14 @@ public class Input{
player.rotation += Inputs.scroll();
}
if(Inputs.keyUp("rotate_right")){
player.rotation --;
}
if(Inputs.keyUp("rotate_left")){
player.rotation ++;
}
player.rotation = Mathf.mod(player.rotation, 4);
for(int i = 0; i < 9; i ++){