BrainBlitz.org

September 24, 2009

AS3 A* pathfinding demo

Filed under: Programming — Anthony @ 4:11 am

Space to step the algorithm, r to reset, and click a square to toggle it’s “walkable” status.

I created this as I worked through the excellent A* Pathfinding for Beginners tutorial by Patrick Lester, bless his heart. My app is actually not 100% done, in a way that will make it sometimes not take quite the shortest path.

Note that this demo, as opposed to Patrick’s tutorial, does not allow for diagnol movement (as my final application will use a more zelda-esque movement).

Here’s the code.

September 2, 2009

Meta-Lifehack

Filed under: Blogorrhoea — Anthony @ 2:59 pm

Stop reading inspirational blogs; stop reading about how to be more efficient; stop reading “20 lifehacks you can’t live without.”

Nike says it best: Just Do It.

I wonder how many would-be successful people will never BE successful, because they spend so much time READING about how to be successful.

D.eval() Reloaded

Filed under: Programming, Uncategorized — Anthony @ 12:48 am

An evolved version of the simple D.eval() app in the previous post can be found on this page. Yes, it’s so cool I had to make a page just for it.

Again, it’s really a simple application, and uses rather little of the API’s capability. Even so, its raises exciting possibilities.

Powered by WordPress