So due to a change in the amount of free time I have, I have decided to try to work on a commercially viable product. I know, it sounds crazy but unity is pretty awesome so I'm confidant I can get the game running. The art... I'm working on that. Due to intellectual property issues I am not going to talk about what I'm working on right now. I only own half the rights to it so I want to make sure I do this justice :).
So still not super impressive but the agent will now move towards either food or water if it is hungry or thirsty respectively. If it doesn't know where both are it will wander around until it finds them both. Although it will go to water if it is thirsty even if it doesn't know where the food source is of course.
Right now it simple moves directly towards what it wants even if there is something blocking the path. So that will be my next goal, to give it path finding abilities. That will most likely take me longer than this did. Although I have created A* path finding algorithms before so the real challenge will be to create nodes for it to use and the weights to give them. I am going to have the agent dynamically create its own nodes which will definitely make things more challenging. Wish me luck! |