@maxbilbow maxbilbow released this Jun 1, 2015 · 28 commits to v0.12.x since this release

Assets 4

NEW Controls for v0.12.0 on OS X

Shift-S: See scores
Numbers: switch between game modes

To score against another team, you must grab an item, and click on your target. The projectile will then home in on your victim.

At the moment, a normal throw doesn't inflict damage... but it will do.

///Keys  1, 2 and 3 currently switch to three different game modes.
  // Basic Movement
    RMKey(self, action: MOVE_FORWARD, characters: "w", speed: MOVE_SPEED),
    RMKey(self, action: MOVE_BACKWARD, characters: "s", speed: MOVE_SPEED),
    RMKey(self, action: MOVE_LEFT, characters: "a", speed: MOVE_SPEED),
    RMKey(self, action: MOVE_RIGHT, characters: "d", speed: MOVE_SPEED),
    RMKey(self, action: MOVE_UP, characters: "e", speed: MOVE_SPEED),
    RMKey(self, action: MOVE_DOWN, characters: "q", speed: MOVE_SPEED),
    RMKey(self, action: ROLL_LEFT, characters: "z", speed: LOOK_SPEED),
    RMKey(self, action: ROLL_RIGHT, characters: "x", speed: LOOK_SPEED),
    RMKey(self, action: JUMP, characters: " ", speed: ON_KEY_UP),
    RMKey(self, action: ROTATE, characters: MOVE_CURSOR_PASSIVE, isRepeating: false,speed: LOOK_SPEED),

    //Interactions
    RMKey(self, action: GRAB_ITEM, characters: LEFT_CLICK, isRepeating: false, speed: ON_KEY_UP),
    RMKey(self, action: THROW_ITEM, characters: RIGHT_CLICK, isRepeating: true,  speed: (0,5)),
    RMKey(self, action: BOOM, characters: "b", isRepeating: false,  speed: ON_KEY_UP),

    //Environmentals
    RMKey(self, action: TOGGLE_GRAVITY, characters: "g", isRepeating: false,speed: ON_KEY_UP),
    //RMKey(self, action: "toggleGravity", characters: "G", isRepeating: false,speed: ON_KEY_UP),
    RMKey(self, action: TOGGLE_AI, characters: "A", isRepeating: false,speed: ON_KEY_UP),
    RMKey(self, action: RESET, characters: "R", isRepeating: false,speed: ON_KEY_UP),

    //Interface options
    RMKey(self, action: LOCK_CURSOR, characters: "m", isRepeating: false, speed: ON_KEY_UP),
    RMKey(self, action: NEXT_CAMERA, characters: ".", isRepeating: false, speed: ON_KEY_DOWN),
    RMKey(self, action: PREV_CAMERA, characters: ",", isRepeating: false, speed: ON_KEY_DOWN),
    RMKey(self, action: PAUSE_GAME, characters: "p", isRepeating: false, speed: ON_KEY_UP),
    RMKey(self, action: KEYBOARD_LAYOUT, characters: "k", isRepeating: false, speed: ON_KEY_UP),
    RMKey(self, action: NEW_GAME, characters: "N", isRepeating: false, speed: ON_KEY_UP),

    //Misc: generically used for testing
    RMKey(self, action: GET_INFO, characters: "i", isRepeating: false, speed: ON_KEY_DOWN), //Prints to terminal when testing
    RMKey(self, action: TOGGLE_SCORES, characters: "S", isRepeating: false, speed: ON_KEY_UP),
    RMKey(self, action: ZOOM_IN, characters: "=", isRepeating: true, speed: MOVE_SPEED),
    RMKey(self, action: ZOOM_OUT, characters: "-", isRepeating: true, speed: MOVE_SPEED),
    RMKey(self, action: INCREASE, characters: "+", isRepeating: false, speed: ON_KEY_DOWN),
    RMKey(self, action: DECREASE, characters: "_", isRepeating: false, speed: ON_KEY_DOWN)

}

Changes for French Keyboard

case .French:
            inteface.set(action: RMX.MOVE_FORWARD, characters: "z")
            inteface.set(action: RMX.MOVE_LEFT, characters: "q")
            inteface.set(action: RMX.MOVE_DOWN, characters: "a")
            inteface.set(action: RMX.ROLL_LEFT, characters: "w")

            inteface.set(action: RMX.NEXT_CAMERA, characters: "=")
            inteface.set(action: RMX.PREV_CAMERA, characters: ":")

            inteface.set(action: RMX.ZOOM_IN, characters: "-")
            inteface.set(action: RMX.ZOOM_OUT, characters: ")")
            break

Images below are from iOS