Do appreciate thatBlackBulletIV wrote:Thanks for catching that problem guys. I've updated the library and credited you, Roland.
Thanks pointing that out, fixed.BlackBulletIV wrote: By the way, your website in your signature should use HTTP not HTTPS, since the latter doesn't go anywhere.
That could be a solution. Well I'm not experienced that much in love.physics, hence I can't state on the possible inconveniences of doing this.BlackBulletIV wrote: As for path finding, or, collision avoidance, that's a tricky thing. The only way I can see it being done in Lua is by checking everything unit with every other unit, which is obviously a very inefficient thing to do when you get larger numbers of units. You might be able to use a quad tree or something, but I've no idea how they work. I might have to resort to love.physics to resolve the collision between units. We'll see what happens.
However, I do remember a couple of very inetresting lectures I found while (back in the days) I was working on it. Seems that these algorithms can be implemented, but I didn't even tried, as I found them too complex. Anyway, you may catch something from these links:
- Coordinated Unit movements (by Dave Pottinger)
- Implementing coordinated unit movements (by Dave Pottinger)
- Cooperative pathfinding (collection of papers)
- WHCA
- Steering behaviours
I'll check the repo, once github is back, thanks.BlackBulletIV wrote: I've created a new repository which you can find here: https://github.com/BlackBulletIV/rts-prototype