Input Handling
Introduction
Axis simplifies input management through its AxisInput component. This powerful tool allows developers to seamlessly integrate and configure various input options, such as gamepads, touchscreens, and keyboards. With AxisInput, you can easily set up and manage input controls, ensuring that your game responds accurately to player actions. This approach saves time and effort, enabling you to focus on creating engaging gameplay experiences without the hassle of complex input configurations.
Mouse & Keyboard
Axis makes it simple to integrate mouse and keyboard controls into your game. The mouse acts as both a pointer and gesture control, allowing for precise interactions and smooth navigation. The keyboard is used for dispatching button triggers, enabling players to perform various actions.
AxisInput component ensures seamless handling of these inputs, providing a responsive and intuitive experience for the player. With Axis, setting up mouse and keyboard controls is straightforward, enhancing the overall gameplay experience and making it easier for developers to create engaging and interactive games.
Multiple Gamepads
Axis seamlessly supports multiple gamepads, making it ideal for local multiplayer and co-op games. With the AxisInput component, managing input from multiple controllers becomes effortless.
Axis automatically recognizes and maps gamepad inputs, ensuring that each player. Whether you're developing a local multiplayer platformer or a competitive sports game.
OnScreen Gamepad
Axis includes a straightforward ready-to-use, integrated optimized UI for an onscreen gamepad, perfect for touch devices. This feature allows developers to easily implement intuitive and responsive controls for mobile games. The onscreen gamepad can handle various input types, such as virtual joystick movements, providing a seamless and immersive experience for players.
Pointer Gestures
Axis supports pointer gestures, enabling more dynamic and interactive input options for your game. Pointer gestures allow players to use touch or mouse inputs to perform specific actions, such as swiping or dragging, pinching and rotating.
These gestures can be easily configured and recognized within the Axis framework, enhancing the user experience by providing intuitive controls. Whether it's for navigating menus, controlling characters, or interacting with game elements, pointer gestures add a layer of sophistication and responsiveness to your game's input system, making it more engaging and user-friendly.
NavCamera has default gesture response options for controlling the camera.
UI Navigation Flow
Easily make animated UI navigation that seamless support all devices and button hotkeys.