Sunday, February 11, 2018

ROMERO - Dev Video #4 - Reach to the Radio Tower!

Here's I've tweaked up the level layout a lot!  

Note It's hard!  This video shows two failed attempts.  :D

OBJECTIVE: "Reach the Radio Tower to win the level!"

Lots of little fixes and improvements:

  • Improved "grounded" check:  I now use four spaced raycasts near your feet, to check if you're grounded, even when near an edge.  It now reliably jumps all the time, allowing for much more control!
  • Prevent the player from pushing through walls:  I use a raycast to check in the direction that you are trying to move, and scale down the movement if something is in the way.
  • Tumbling death: Player falls over / tumbles when killed (detach camera, add force and torque, and have it bounce around).

No comments:

Post a Comment