- Added swimming functionality
- The player can now swim in bodies of water
- The player can swim up and down with corresponding action keys/buttons, and when underwater the camera's vertical angle affects the vertical swim direction
- When underwater the player can hold the charge the surge action, and when released they'll be propelled forward in the direction they're facing
- Updated the touchscreen control icons
- Updated the player model with the newer version which has swimming animations
- Fixed an issue that allowed the player to jump once more than intended
- Improved camera positioning to better fit the player in the screen
- Resized the player's collision shape to better fit the player model
- Replaced the character "body" with a simple 3D model
- Added movement animations
- Added a simple VFX that is played when the player dashes
- Updated virtual buttons to display another color when tapped
- Updated the preview in the README to display the new model and virtual button interactions
- Refactored movement system using state machines
- Added new movement types
- Dashing
- Allows player to slingshot themselves in the current movement direction
- Key binding: Q
- Sprinting
- Allows player to run faster
- Key binding: Shift
- Crouching
- Allows player to crouch and move slowly
- While crouching the player cannot dash or sprint
- Key binding: Ctrl
- Dashing
- Implemented touch screen controls
- Touchscreen mode is automatically enabled on Android and iOS devices
- Move thumb stick to move
- Screen drag to rotate camera
- Press button to jump
- Pinch with two fingers to zoom in and out
- Implemented a controllable camera and replaced the old camera with it
- Camera is controlled by moving the mouse
- Camera can be zoomed in and out via mouse wheel
- Player can toggle between captured and visible mouse modes; trapping it inside the game window or just letting it loose
- The camera is a
ClippedCamera
which prevents it from clipping through the environment (though it's not really perfect)
- Added the initial project version with the following features:
- A simple scene with platforms and slopes to test the movement system
- Basic horizontal movement
- Ability to jump multiple times