VizionEck

Gaming => Game News Discussion => VizionEck Dev Blog => Topic started by: Legend on Oct 18, 2017, 12:28 AM

Title: VizionEck AI progress #2
Post by: Legend on Oct 18, 2017, 12:28 AM
The game AI for VizionEck Cube Royale is just starting to come together. The general structure is:



The first two are very large and complex but mostly straightforward. All possible actions are looped through. If they can't be performed this frame, they get a score of 0. Otherwise a score is calculated by taking the benefits of that action and subtracting the negatives. The action with the highest score is performed.

Movement is a lot harder because multiple actions need to be done each frame. Also I'll need to incorporate a pathfinding algorithm. Not really sure how to handle it yet.
Title: Re: VizionEck AI progress #2
Post by: the-pi-guy on Oct 18, 2017, 01:10 AM
At least path finding is easy.
Title: Re: VizionEck AI progress #2
Post by: Legend on Oct 18, 2017, 01:44 AM
At least path finding is easy.
Well kinda.

It's complex because the maps are very vertical and require a lot of platforming. I also need to factor in velocity since the cube can't follow paths 1 to 1.
Title: Re: VizionEck AI progress #2
Post by: the-pi-guy on Mar 02, 2018, 12:31 AM
Just reading some of your old AI posts.  Don't recall you saying anything about completing pathfinding, just wondering if you've read this:
algorithm - Pathfinding, A-star and velocity inertia - Stack Overflow (https://stackoverflow.com/questions/34248043/pathfinding-a-star-and-velocity-inertia)
Title: Re: VizionEck AI progress #2
Post by: Legend on Mar 02, 2018, 02:57 AM
Just reading some of your old AI posts.  Don't recall you saying anything about completing pathfinding, just wondering if you've read this:
algorithm - Pathfinding, A-star and velocity inertia - Stack Overflow (https://stackoverflow.com/questions/34248043/pathfinding-a-star-and-velocity-inertia)
My maps have large open spaces so I've been mostly ignoring pathfinding until the rest is sorted out. I'll keep this link in mind when I get to it!