Just taking a break from putting pathing into yet another thread, I thought I would try some real textures. The yellow box is a light. I'm only using 4 static lights for performance.
What the thread does is both refresh the lookup tables (used for determine pathing between hexagons) when the terrain in modified and also perform any path searches. It is a lockless design so this pathing thread has it's own view of the world that it keeps up to date as frequently as possible. The pathing is harder since I have ramps, but ramps are necessary. I really need to implement a nav mesh solution. This is not so much for performance, but so that the AIs don't move in a dog leg fashion.
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
One Liner...Strange Orbitz is a voxel, multiplayer, building rpg set in a space environment. Archives
June 2017
CategoriesCopyright © 2016-2017 Graham Chow
|