public PlayerControls() { MouseLeft = CreatePlayerAction("Mouse Left Click"); MouseRight = CreatePlayerAction("Mouse Right Click"); LookButton = CreatePlayerAction("Mouse look"); ZoomIn = CreatePlayerAction("Zoom in (mouse)"); ZoomOut = CreatePlayerAction("Zoom out (mouse)"); Zoom = CreateOneAxisPlayerAction(ZoomIn, ZoomOut); ZoomKeyboardIn = CreatePlayerAction("Zoom in (keyboard)"); ZoomKeyboardOut = CreatePlayerAction("Zoom out (keyboard)"); ZoomKeyboard = CreateOneAxisPlayerAction(ZoomKeyboardIn, ZoomKeyboardOut); MousePositiveX = CreatePlayerAction("Look positive X (mouse)"); MousePositiveY = CreatePlayerAction("Look positive Y (mouse)"); MouseNegativeX = CreatePlayerAction("Look negative X (mouse)"); MouseNegativeY = CreatePlayerAction("Look negative Y (mouse)"); LookMouse = CreateTwoAxisPlayerAction(MouseNegativeX, MousePositiveX, MouseNegativeY, MousePositiveY); KeyboardPositiveX = CreatePlayerAction("Look positive X (keyboard)"); KeyboardPositiveY = CreatePlayerAction("Look positive Y (keyboard)"); KeyboardNegativeX = CreatePlayerAction("Look negative X (keyboard)"); KeyboardNegativeY = CreatePlayerAction("Look negative Y (keyboard)"); LookKeyboard = CreateTwoAxisPlayerAction(KeyboardNegativeX, KeyboardPositiveX, KeyboardNegativeY, KeyboardPositiveY); }
public PlayerActions() { RotateShipClock = CreatePlayerAction("RotateShipClock"); RotateShipAClock = CreatePlayerAction("RotateShipAClock"); RotateShip = CreateOneAxisPlayerAction(RotateShipClock, RotateShipAClock); PushShip = CreatePlayerAction("PushShip"); RotateCatcherClock = CreatePlayerAction("RotateCatcherClock"); RotateCatcherAClock = CreatePlayerAction("RotateCatcherAClock"); RotateCatcher = CreateOneAxisPlayerAction(RotateCatcherClock, RotateCatcherAClock); PushCatcher = CreatePlayerAction("PushCatcher"); //RotateCatcherClock2 = CreatePlayerAction("RotateCatcherClock2"); //RotateCatcherAClock2 = CreatePlayerAction("RotateCatcherAClock2"); //RotateCatcher2 = CreateOneAxisPlayerAction(RotateCatcherClock2, RotateCatcherAClock2); //PushCatcher2 = CreatePlayerAction("PushCatcher2"); RotateLightClock = CreatePlayerAction("RotateLightClock"); RotateLightAClock = CreatePlayerAction("RotateLightAClock"); RotateLight = CreateOneAxisPlayerAction(RotateLightClock, RotateLightAClock); Left = CreatePlayerAction("Left"); Right = CreatePlayerAction("Right"); Up = CreatePlayerAction("Up"); Down = CreatePlayerAction("Down"); Rotate = CreateTwoAxisPlayerAction(Left, Right, Down, Up); joinGame = CreatePlayerAction("Join"); }
public PlayerControlActions() { // Create the player actions pitchDown = CreatePlayerAction("PitchDown"); pitchUp = CreatePlayerAction("PitchUp"); steerRight = CreatePlayerAction("SteerRight"); steerLeft = CreatePlayerAction("SteerLeft"); speedUp = CreatePlayerAction("SpeedUp"); slowDown = CreatePlayerAction("SlowDown"); stop = CreatePlayerAction("Stop"); accept = CreatePlayerAction("Accept"); decline = CreatePlayerAction("Decline"); cameraXAxisPositive = CreatePlayerAction("CameraxAxisPositive"); cameraXAxisNegative = CreatePlayerAction("CameraXAxisNegative"); cameraYAxisPositive = CreatePlayerAction("CameraYAxisPositive"); cameraYAxisNegative = CreatePlayerAction("CameraYAxisNegative"); // Create menu navigation actions menuUp = CreatePlayerAction("MenuUp"); menuDown = CreatePlayerAction("MenuDown"); pause = CreatePlayerAction("Pause"); // Create the player action axes steer = CreateOneAxisPlayerAction(steerLeft, steerRight); pitch = CreateOneAxisPlayerAction(pitchUp, pitchDown); speedControl = CreateOneAxisPlayerAction(slowDown, speedUp); cameraAxisX = CreateOneAxisPlayerAction(cameraXAxisNegative, cameraXAxisPositive); cameraAxisY = CreateOneAxisPlayerAction(cameraYAxisNegative, cameraYAxisPositive); }
public MMInputActions() { Jump = CreatePlayerAction("Player1_Jump"); Swim = CreatePlayerAction("Player1_Swim"); Glide = CreatePlayerAction("Player1_Glide"); Interact = CreatePlayerAction("Player1_Interact"); Jetpack = CreatePlayerAction("Player1_Jetpack"); Run = CreatePlayerAction("Player1_Run"); Dash = CreatePlayerAction("Player1_Dash"); Roll = CreatePlayerAction("Player1_Roll"); Fly = CreatePlayerAction("Player1_Fly"); Shoot = CreatePlayerAction("Player1_Shoot"); SecondaryShoot = CreatePlayerAction("Player1_SecondaryShoot"); Reload = CreatePlayerAction("Player1_Reload"); SwitchWeapon = CreatePlayerAction("Player1_SwitchWeapon"); Pause = CreatePlayerAction("Player1_Pause"); Push = CreatePlayerAction("Player1_Push"); SwitchCharacter = CreatePlayerAction("Player1_SwitchCharacter"); TimeControl = CreatePlayerAction("Player1_TimeControl"); Grab = CreatePlayerAction("Player1_Grab"); Throw = CreatePlayerAction("Player1_Throw"); Left = CreatePlayerAction("Move Left"); Right = CreatePlayerAction("Move Right"); Up = CreatePlayerAction("Move Up"); Down = CreatePlayerAction("Move Down"); DLeft = CreatePlayerAction("Alt Move Left"); DRight = CreatePlayerAction("Alt Move Right"); DUp = CreatePlayerAction("Alt Move Up"); DDown = CreatePlayerAction("Alt Move Down"); MoveHorizontal = CreateOneAxisPlayerAction(Left, Right); MoveVertical = CreateOneAxisPlayerAction(Down, Up); MoveHorizontalSecondary = CreateOneAxisPlayerAction(DLeft, DRight); MoveVerticalSecondary = CreateOneAxisPlayerAction(DDown, DUp); }
//open catalogue //close catalogue //scroll catalogue public FancyPlayerActions() { StartGame = CreatePlayerAction("Start Game"); Left = CreatePlayerAction("Left"); Right = CreatePlayerAction("Right"); MoveLateral = CreateOneAxisPlayerAction(Left, Right); Escape = CreatePlayerAction("Escape"); }
public PlayerActions() { Left = CreatePlayerAction("Move Left"); Right = CreatePlayerAction("Move Right"); Jump = CreatePlayerAction("Jump"); Shift = CreatePlayerAction("Kinetic Shift"); Move = CreateOneAxisPlayerAction(Left, Right); }
public DrivingPlayerActions() { accelerate = CreatePlayerAction("Accelerate"); brake = CreatePlayerAction("Brake"); steerLeft = CreatePlayerAction("Steer left"); steerRight = CreatePlayerAction("Steer right"); steer = CreateOneAxisPlayerAction(steerLeft, steerRight); handbrake = CreatePlayerAction("Handbrake"); resetCar = CreatePlayerAction("Reset car"); }
public CharacterActions() { Left = CreatePlayerAction("Move Left"); Right = CreatePlayerAction("Move Right"); Up = CreatePlayerAction("Point Up"); Down = CreatePlayerAction("Point Down"); Jump = CreatePlayerAction("Jump"); Run = CreatePlayerAction("Run"); Move = CreateOneAxisPlayerAction(Left, Right); }
public PlayerActions() { Left = CreatePlayerAction("Left"); Right = CreatePlayerAction("Right"); Up = CreatePlayerAction("Up"); Down = CreatePlayerAction("Down"); LeftRight = CreateOneAxisPlayerAction(Left, Right); UpDown = CreateOneAxisPlayerAction(Up, Down); Shoot = CreatePlayerAction("Shoot"); Boost = CreatePlayerAction("Boost"); }
public MyCharacterActions() { Left = CreatePlayerAction("Move Left"); Right = CreatePlayerAction("Move Right"); Up = CreatePlayerAction("Move Up"); Down = CreatePlayerAction("Move Down"); Action = CreatePlayerAction("Action"); Pause = CreatePlayerAction("Pause"); MoveHorizontal = CreateOneAxisPlayerAction(Left, Right); MoveVertical = CreateOneAxisPlayerAction(Up, Down); }
public GamePlayActions() { playerInteract = CreatePlayerAction("PlayerInteract"); playerDodge = CreatePlayerAction("PlayerDodge"); playerSprint = CreatePlayerAction("PlayerSprint"); playerSwapWeapon = CreatePlayerAction("PlayerSwapWeapon"); playerLockOn = CreatePlayerAction("PlayerLockOn"); playerSwitchLockOnTargetLeft = CreatePlayerAction("PlayerSwitchLockOnTargetLeft"); playerSwitchLockOnTargetRight = CreatePlayerAction("PlayerSwitchLockOnTargetRight"); playerSwitchLockOnTargetAxis = CreateOneAxisPlayerAction(playerSwitchLockOnTargetLeft, playerSwitchLockOnTargetRight); playerUp = CreatePlayerAction("PlayerUp"); playerDown = CreatePlayerAction("PlayerDown"); playerLeft = CreatePlayerAction("PlayerLeft"); playerRight = CreatePlayerAction("PlayerRight"); playerMovementAxis = CreateTwoAxisPlayerAction(playerLeft, playerRight, playerDown, playerUp); playerLookUp = CreatePlayerAction("PlayerLookUp"); playerLookDown = CreatePlayerAction("PlayerLookDown"); playerLookLeft = CreatePlayerAction("PlayerLookLeft"); playerLookRight = CreatePlayerAction("PlayerLookRight"); playerLookAxis = CreateTwoAxisPlayerAction(playerLookLeft, playerLookRight, playerLookDown, playerLookUp); playerLeftAttack = CreatePlayerAction("PlayerLeftAttack"); playerRightAttack = CreatePlayerAction("PlayerRightAttack"); playerLeftSpecialAttack = CreatePlayerAction("PlayerLeftSpecialAttack"); playerRightSpecialAttack = CreatePlayerAction("PlayerRightSpecialAttack"); // UI Actions playerInventory = CreatePlayerAction("PlayerInventory"); playerJournal = CreatePlayerAction("PlayerJournal"); playerCharacterMenu = CreatePlayerAction("PlayerCharacterMenu"); menuPause = CreatePlayerAction("MenuPause"); menuSelect = CreatePlayerAction("MenuSelect"); menuContext = CreatePlayerAction("MenuContext"); menuDropItem = CreatePlayerAction("MenuDropItem"); menuLeft = CreatePlayerAction("MenuLeft"); menuRight = CreatePlayerAction("MenuRight"); menuUp = CreatePlayerAction("MenuUp"); menuDown = CreatePlayerAction("MenuDown"); menuContainerTakeAll = CreatePlayerAction("MenuContainerTakeAll"); menuContainerTakeGold = CreatePlayerAction("MenuContainerTakeGold"); menuTakeItem = CreatePlayerAction("MenuTakeItem"); menuUseItem = CreatePlayerAction("MenuUseItem"); // Specific Key Actions leftCtrl = CreatePlayerAction("LeftCtrl"); }
public BallActions() { Left = CreatePlayerAction("Move Left"); Right = CreatePlayerAction("Move Right"); Up = CreatePlayerAction("Move Up"); Down = CreatePlayerAction("Move Down"); Jump = CreatePlayerAction("Jump"); Shift = CreatePlayerAction("Kinetic Shift"); Brake = CreatePlayerAction("Brake"); Move = CreateOneAxisPlayerAction(Left, Right); JumpDirection = CreateTwoAxisPlayerAction(Left, Right, Down, Up); }
public MenuActions() { Left = CreatePlayerAction("Move left"); Right = CreatePlayerAction("move right"); Horizontal = CreateOneAxisPlayerAction(Left, Right); Up = CreatePlayerAction("Move up"); Down = CreatePlayerAction("Move down"); Vertical = CreateOneAxisPlayerAction(Down, Up); Confirm = CreatePlayerAction("Confirm"); Present = CreatePlayerAction("Present item"); CloseInventory = CreatePlayerAction("Switch to/from Key items"); }
public PlayerActions() { Fire = CreatePlayerAction("Fire"); Jump = CreatePlayerAction("Jump"); MoveLeft = CreatePlayerAction("Move Left"); MoveRight = CreatePlayerAction("Move Right"); Move = CreateOneAxisPlayerAction(MoveLeft, MoveRight); AimLeft = CreatePlayerAction("Aim Left"); AimRight = CreatePlayerAction("Aim Right"); AimUp = CreatePlayerAction("Aim Up"); AimDown = CreatePlayerAction("Aim Down"); Aim = CreateTwoAxisPlayerAction(AimLeft, AimRight, AimDown, AimUp); }
public CharacterInputController() { Left = CreatePlayerAction("Move Left"); Right = CreatePlayerAction("Move Right"); Move = CreateOneAxisPlayerAction(Left, Right); Jump = CreatePlayerAction("Jump"); Shoot = CreatePlayerAction("Shoot"); MouseNegativeX = CreatePlayerAction("Mouse Left"); MousePositiveX = CreatePlayerAction("Mouse Right"); MouseX = CreateOneAxisPlayerAction(MouseNegativeX, MousePositiveX); MouseNegativeY = CreatePlayerAction("Mouse Down"); MousePositiveY = CreatePlayerAction("Mouse Up"); MouseY = CreateOneAxisPlayerAction(MouseNegativeY, MousePositiveY); }
public MyCharacterActions() { Left = CreatePlayerAction("Move Left"); Right = CreatePlayerAction("Move Right"); AimLeft = CreatePlayerAction("Aim Left"); AimRight = CreatePlayerAction("Aim Right"); LeftTrigger = CreatePlayerAction("Left Trigger"); Fire = CreatePlayerAction("Right Trigger"); BButton = CreatePlayerAction("B Button"); YButton = CreatePlayerAction("Y Button"); AButton = CreatePlayerAction("A Button"); XButton = CreatePlayerAction("X Button"); Start = CreatePlayerAction("Start"); Back = CreatePlayerAction("Back"); Move = CreateOneAxisPlayerAction(Left, Right); MoveAim = CreateOneAxisPlayerAction(AimLeft, AimRight); }
public ActionSet() { Left = CreatePlayerAction("Move Left"); Right = CreatePlayerAction("Move Right"); Up = CreatePlayerAction("Move Up"); Down = CreatePlayerAction("Move Down"); ActionPrimary = CreatePlayerAction("ActionPrimary"); ActionSecondary = CreatePlayerAction("ActionSecondary"); ActionSecondaryMouse = CreatePlayerAction("ActionSecondaryMouse"); ActivateLight = CreatePlayerAction("ActivateLight"); Grab = CreatePlayerAction("Grab"); MoveX = CreateOneAxisPlayerAction(Left, Right); MoveY = CreateOneAxisPlayerAction(Down, Up); Menu = CreatePlayerAction("OpenMenu"); }
public PlayerActions() { Up = CreatePlayerAction("Move Up"); Down = CreatePlayerAction("Move Down"); Vertical = CreateOneAxisPlayerAction(Down, Up); Left = CreatePlayerAction("Move Left"); Right = CreatePlayerAction("Move Right"); Horizontal = CreateOneAxisPlayerAction(Left, Right); Move = CreateTwoAxisPlayerAction(Left, Right, Down, Up); RowFast = CreatePlayerAction("Row Fast"); TurnLeft = CreatePlayerAction("Turn Left"); TurnRight = CreatePlayerAction("Turn Right"); CallLightning = CreatePlayerAction("Call Lightning"); Inventory = CreatePlayerAction("Inventory"); PauseMenu = CreatePlayerAction("Pause Menu"); }
public PlayerActions() { Left = CreatePlayerAction("Left"); Right = CreatePlayerAction("Right"); Horizontal = CreateOneAxisPlayerAction(Left, Right); Down = CreatePlayerAction("Down"); Up = CreatePlayerAction("Up"); Vertical = CreateOneAxisPlayerAction(Down, Up); Shoot = CreatePlayerAction("Shoot"); Special = CreatePlayerAction("Special"); Dash = CreatePlayerAction("Dash"); Confirm = CreatePlayerAction("Confirm"); Back = CreatePlayerAction("Back"); Pause = CreatePlayerAction("Pause"); }
public RoleActionsInputBindings() { Stick1_Up = CreatePlayerAction("Move Up"); Stick1_Down = CreatePlayerAction("Move Down"); Stick1_Left = CreatePlayerAction("Move Left"); Stick1_Right = CreatePlayerAction("Move Right"); KeyA = CreatePlayerAction("Jump"); LeftBumper = CreatePlayerAction("Change World"); KeyX = CreatePlayerAction("Get Soul"); Left_Trigger = CreatePlayerAction("Switch Preview"); Move = CreateOneAxisPlayerAction(Stick1_Left, Stick1_Right); // 控制相机移动 Stick2_Up = CreatePlayerAction("CameraMove Up"); Stick2_Down = CreatePlayerAction("CameraMove Down"); Stick2_Left = CreatePlayerAction("CameraMove Left"); Stick2_Right = CreatePlayerAction("CameraMove Right"); Camera_Move = CreateTwoAxisPlayerAction(Stick2_Left, Stick2_Right, Stick2_Up, Stick2_Down); }
// Use this for initialization public PlayerControlActions() { Join = CreatePlayerAction("Join"); Back = CreatePlayerAction("Back"); Pause = CreatePlayerAction("Pause"); Ability = CreatePlayerAction("Ability"); LeftLeft = CreatePlayerAction("LeftLeft"); LeftRight = CreatePlayerAction("LeftRight"); LeftUp = CreatePlayerAction("LeftUp"); LeftDown = CreatePlayerAction("LeftDown"); RightLeft = CreatePlayerAction("RightLeft"); RightRight = CreatePlayerAction("RightRight"); RightUp = CreatePlayerAction("RightUp"); RightDown = CreatePlayerAction("RightDown"); //NullAction = CreatePlayerAction("Null"); LeftHorizontal = CreateOneAxisPlayerAction(LeftLeft, LeftRight); LeftVertical = CreateOneAxisPlayerAction(LeftUp, LeftDown); RightHorizontal = CreateOneAxisPlayerAction(RightLeft, RightRight); RightVertical = CreateOneAxisPlayerAction(RightUp, RightDown); }
/// <summary> /// Create the ControlActions with names. /// </summary> public ControlActions() { Left = CreatePlayerAction("Left"); Right = CreatePlayerAction("Right"); Forward = CreatePlayerAction("Forward"); Backward = CreatePlayerAction("Backward"); LookUp = CreatePlayerAction("Look up"); LookDown = CreatePlayerAction("Look down"); LookLeft = CreatePlayerAction("Look left"); LookRight = CreatePlayerAction("Look right"); LookBehind = CreatePlayerAction("Look behind / UI Return"); Run = CreatePlayerAction("Run / UI Select"); MoveX = CreateOneAxisPlayerAction(Left, Right); MoveY = CreateOneAxisPlayerAction(Backward, Forward); LookX = CreateOneAxisPlayerAction(LookLeft, LookRight); LookY = CreateOneAxisPlayerAction(LookDown, LookUp); Move = CreateTwoAxisPlayerAction(Left, Right, Backward, Forward); ListenOptions = DefaultListenOptions; }
public CharacterControlActions() { this.Forward = CreatePlayerAction("Move Forward"); this.Backward = CreatePlayerAction("Move Backward"); this.Left = CreatePlayerAction("Move Left"); this.Right = CreatePlayerAction("Move Right"); this.Vertical = CreateOneAxisPlayerAction(Backward, Forward); this.Horizontal = CreateOneAxisPlayerAction(Left, Right); this.LookUp = CreatePlayerAction("Look Up"); this.LookDown = CreatePlayerAction("Look Down"); this.LookLeft = CreatePlayerAction("Look Left"); this.LookRight = CreatePlayerAction("Look Right"); this.LookVertical = CreateOneAxisPlayerAction(LookDown, LookUp); this.LookHorizontal = CreateOneAxisPlayerAction(LookLeft, LookRight); this.Pickup = CreatePlayerAction("Pickup Item"); this.Interact = CreatePlayerAction("Interact"); this.Fire = CreatePlayerAction("Fire Weapon"); }
public MyCharacterActions() { throwAction = CreatePlayerAction("Throw"); catchAction = CreatePlayerAction("Catch"); jumpAction = CreatePlayerAction("Jump"); lockMovementAction = CreatePlayerAction("LockMovement"); resetAction = CreatePlayerAction("Reset"); switchAction = CreatePlayerAction("Switch"); left = CreatePlayerAction("Left"); right = CreatePlayerAction("Right"); up = CreatePlayerAction("Up"); down = CreatePlayerAction("Down"); altLeft = CreatePlayerAction("AltLeft"); altRight = CreatePlayerAction("AltRight"); altUp = CreatePlayerAction("AltUp"); altDown = CreatePlayerAction("AltDown"); horizontalAxis = CreateOneAxisPlayerAction(left, right); verticalAxis = CreateOneAxisPlayerAction(down, up); altHorizontalAxis = CreateOneAxisPlayerAction(altLeft, altRight); altVerticalAxis = CreateOneAxisPlayerAction(altDown, altUp); confirmAction = CreatePlayerAction("Confirm"); lockThrowAction = CreatePlayerAction("LockThrow"); }
public JoystickInput() { MoveUp = CreatePlayerAction("Move Up"); MoveDown = CreatePlayerAction("Move Down"); MoveLeft = CreatePlayerAction("Move Left"); MoveRight = CreatePlayerAction("Move Right"); MoveVertical = CreateOneAxisPlayerAction(MoveDown, MoveUp); MoveHorizontal = CreateOneAxisPlayerAction(MoveLeft, MoveRight); Movement = CreateTwoAxisPlayerAction(MoveLeft, MoveRight, MoveDown, MoveUp); LookUp = CreatePlayerAction("Look Up"); LookDown = CreatePlayerAction("Look Down"); LookLeft = CreatePlayerAction("Look Left"); LookRight = CreatePlayerAction("Look Right"); LookVertical = CreateOneAxisPlayerAction(LookDown, LookUp); LookHorizontal = CreateOneAxisPlayerAction(LookLeft, LookRight); Look = CreateTwoAxisPlayerAction(LookLeft, LookRight, LookDown, LookUp); ActionButton = CreatePlayerAction("Action Button"); Start = CreatePlayerAction("Start"); }