Hey!
This is my first blog post, I’m Sparkky the programmer for Eh’ Plus Flash and I thought I’d just a quick once over on the implementation of Path-finding in our upcoming game.
Let me start by saying I love the Flixel framework. It has a really well put together blitting system, handles animations, collisions and sound very well.
Furthermore it’s been a great starting point for most of my personal flash game projects over the last couple years.
One feature recently added (as of this writing) was Flixel’s path finding, which was a little less than stellar…
Our game had a few requirements:
- Path finding would not lag the game
- Path finding could navigate the world and factor in certain NPC’s abilities to manipulate the world
Criteria Number 2
I’m going to discuss #2 today as understanding how the A* algorithm works is important to improving performance. Flixel’s native implementation lacks the ability to traverse walls due to its lack of a cost function. This had to change. Read more »
Recent Comments