A downloadable game for Windows and macOS

This is a prototype where I try to emulate the swimming and camera controls of the game ABZU as described by Giant Squid Studios here https://giantsquidstudios.com/Fluid-Motion-in-ABZU and here https://giantsquidstudios.com/Camera-Control-in-ABZU.


Parts I implemented:

  • Follow player predictively so the player does not need to move the camera while swimming
  • Keeping the camera level, not rolling with the player's movement
  • Applying rotations to unroll the player when facing upside down
  • Making the movement more fluid by slowly accelerating and slowing down to mimic being in water
  • The player's pitch will level out to 0 if the player starts a yaw movement when the player is pitched up or down
  • Applying gravity force when out of the water to allow for jumping out of the water


Controls

  • Mouse wheel to zoom camera in and out
  • Mouse movement to move the camera around the player
  • Esc to quit game

Land controls

  • WASD to move
  • Space to jump
  • Shift to enter "dive" mode controls when at the top of the water

"Dive" Mode controls

  • AD to control player yaw movement left and right
  • WS to control player pitch movement up and down
  • Left Mouse Button to move the player forward by holding down
  • Shift to return to the surface leaving "dive" mode  controls


Mac download may not work I don't have a Mac to test it on

Download

Download
Swimming Prototype PC.zip 29 MB
Download
Swimming Prototype Mac.app.zip 38 MB