Waypoint System


While a lot of code changes have happened recently, the project pretty much looks the same. One workflow issue that I have been running into is creating waypoints for objects like moving platforms. In previous versions, I created empty game objects that represented the path that moving platforms would follow. This was time-consuming and it made it difficult to accurately place waypoints.

Over the past week, I built out a waypoint system with a custom editor. Now, I can just attach a Waypoints component to an object that should follow waypoints. Once the component is attached I can add and edit waypoints in a way that provides visual feedback.

After implementing the waypoint system, I refactored my existing moving platforms to use the waypoint system instead of an array of game objects. The waypoint system also allows me to apply rotation to waypoints which will be used to implement a few upcoming platform mechanics.

After the initial waypoint system was implemented I also went back and did a pass at refactoring the project code.

Files

vaults-and-vampires-webgl.zip Play in browser
Version 2024-01-13-fa7f209 Jan 13, 2024

Leave a comment

Log in with itch.io to leave a comment.