Jump to content

* * * * -

Resource Gathering

Continuing work on the play mode, I've laid out some groundwork for resource gathering. It's still a bit rough around the edges, a lot of it requires a complete rewrite of the entity system that's long overdue, but the core is working wonderfully. Hopefully we'll all be seeing some actual AI soon! My short term goal is to get some basic resource management working, followed by buildings. Then hopefulness I can start working on the finer details of the villagers, like leveling up, hunger, inventories, sleep, etc. :)

Every baby step brings us a little closer to alpha! yaay!

(From left to right)
Shot 1 - A debug display of the resource values of the terrain
Shot 2 - Experimenting with "exhausted" resource areas (The tree stumps)
Shot 3 and 4 - An example of the gathering priority system, color coded for the user to easily see whats next to be worked on. Entities will do their best to try to gather the first, to last thing you select.

Posted Image Posted Image Posted Image

Posted Image


  • 0


4 Comments

Sexy.

    • 0

Does it delete a resource laying on the ground if you build something on top of it?

    • 0

Does it delete a resource laying on the ground if you build something on top of it?

 

In the latest unstable build (10-11-2014), it pushes them out of the way to the closest open slot.
 

    • 1

In the latest unstable build (10-11-2014), it pushes them out of the way to the closest open slot.
 

 

Nice, good to see you take a lot of things into account.

    • 0