This is the first of a series of updates that will be posted
as the project moves along. I’ve done quite a bit of work so I won’t go into too
much detail.
First of all, I’ve been familiarizing myself with Unity by
following a pretty cool tutorial which you can find here: platformer tutorial. This allowed me to get used to the interface as well as learn how Unity uses components and scripts.
Once I was familiar with the editor and scripts, I started
working on the actual project. The first thing I did was implement a basic framework
for my project which consisted of a floor, a few obstacles (green objects), a basic camera to
view the scene and an actor (orange block) that could move to a given position.
The next step was to start implementing pathfinding functionalities.
I started by creating a waypoint script which allows the user to place waypoints
on the scene in editor mode and then created a pathfinder script that linked
those waypoints together. In order to have those working in editor mode, I
had to end up writting a custom inspector for the pathfinder (you can find more information about this on another post I wrote).
I am now working on implemenating the A* algorithm into the pathfinder as well as creating a path script who will be used by the actor to get from one place to another.


No comments:
Post a Comment