home subscribe to email updates subscribe to RSS updates

Archive for November, 2005

My Flash Particle Generator

This came out of just wondering if I could do it… and it works… so I guess I could!

It’’s simply a 2D (maybe 2.5D) particle generator with the movement of the particles influenced by the direction and speed of the mouse.It runs a little slow inside the browser, so if you”re interested, you can download the .exe.

Particle Generator

Cheers.

Link: Particle Generator

My A* Pathfinding in Flash

I’ve been wanting to do this for ages!!!

Path Finding

I’ve put together a little Flash program ( Flash 8 ) to demonstrate the A* pathfinding algorithm. Took me a little while to figure it out - Flash is clearly not the best environment for recursive algorithms!

Instructions:

  1. Click on the Baddie or the Flag to select them, then click again to place them. They can’t be placed on top of each other.
  2. Make walls by pressing the LEFT MOUSE BUTTON or obstaces by using the MOUSE WHEEL. The whiter the square, the greater the movement penalty. The most white setting is a wall and cannot be passed through.
  3. Once you’ve got the grid setup, you are ready to go! Press SPACE to find the path to the Flag.
  4. Selecting the Baddie or the Flag again will reset the grid.

Also:

  1. The grid can be resized by using the ARROW KEYS. Warning - this is quite slow.
  2. Keys 1-9 randomise the heights of the cells (0 = flat, 9 = very bumpy).

If you’d like some more information on A* - the site I used to get this up and running is : here.

Enjoy. Maybe the next game I make will have some AI in it?

Link: pathfinding test

Superman Returns

I’m so freaking excited about this movie. I count myself as one of the biggest Superman fans around. This is rumoured to be the most expensive movie ever made (more than Titanic!) - so at least it will look good.

Link: Superman Returns