• Left Click: Cast Fishing Line
  • Right Click: Reel in

After reeling in a fish, drag your cursor in the opposite direction of the fish to lower its health. Catch 5 fish to win!

Fishing Sequence:

  1. Click water to cast line (puts player in fishing idle state)
  2. Wait for fish, then right click once you see it to activate the active fishing state
    1. If you wait too long, it disappears and you lose
  3. Drag cursor in opposite direction of fish to hit it
    1. If you don't hit it within a certain time frame, it disappears and you lose

Creative Stuff:

The thing I was most happy with when creating this cover was how I replicated the weird input-in-opposite-direction-of-fish thing that NieR Replicant had going on. I achieved this by:

  1. Having the mouse cursor position dictate the position of an empty game object along the x and z axis
  2. Generating a ray that starts at the empty game object's transform position and points in the direction of the player gameobject
  3. Checking if this ray has hit any objects with the fish script

I even made a (crappy) diagram to visualize. I was super excited about figuring it out.

Published 14 days ago
StatusReleased
PlatformsHTML5
Authorpapercdisc
Made withUnity

Download

Download
firefox_VcGGRaoGtr.mp4 5.5 MB

Leave a comment

Log in with itch.io to leave a comment.