Search
  • svcoyle

Star Commander Progress 4/18

After creating the new art for the first room of the VGA version. I figured the best way to get started was to get the character walking around. So using Roger Wilco from the Space Quest I remake as a base, I got a quick character with animations made up fairly quickly.


The next step was to get the guy to walk around the screen, avoiding obstacles, and being confined to a walkable area. To do this I needed to implement Pathfinding. I did a bit of research and found an article that was exactly what I was looking for. https://www.groebelsloot.com/2016/03/13/pathfinding-part-2/ So using a polygon collider object inside of unity and implementing some of the code from the article along with the A* algorithm, I was able to get Mr. Cade walking around the room and staying within the walkable area I set for him.

I then decided to not use the the default Unity animation system (too much overhead for what this game requires), and so I wrote my own, simpler animation system using Scriptable Objects that just holds the loops and frames for each animation that get swapped out as needed.


After all that was implemented I was pretty satisfied with the final result and feel of clicking around and watching him walk.




19 views0 comments

Recent Posts

See All