Friday, June 27, 2008

WC Release v.2 - Lights

I've integrated lights into the tile map, and I've allowed the editor/game to place, save, and load lights.

Free Image Hosting at www.ImageShack.us


The yellow dots and the red polygons are there only for debugging purposes only, and I will soon get rid of those as I smooth out the system.

I also ditched the scenegraph system, as it was too complicated for what I wanted to do, and instead resurrected my old Camera class which allows simple transformation of the screen to give a scrolling effect. The new camera extension can be found in my ArcLib svn.

Lights are a really nice way of bringing the detail out in the scene, and prevents it from looking boring and repetitive. Thanks Christian K and OrangyTang!

So, for the lights, it seems like I will be using those for a 'Fog of War' type system for the bots. The bots will have a limited vision range, which the programmer can see by the current area it illuminates.

Now that lights are in, the next big step will be to integrate the lights and tilemap with the excellent Blaze physics system.

Until then...

3 comments:

62316e said...
This comment has been removed by the author.
62316e said...

Yo again! i like ur work!
plz icq me: 159296623 or msn
unorthodoxsoftware@hotmail.com

Anonymous said...

Hey Clay, when will you be updating your blog? I'm new to D and am looking at ArcLib, but I don't want to make a project with a derelict library.

Many in the forums are having trouble using Arc 0.2 with Tango 99.7 and most the "current" packages, you may wish to address this in a post so we know what version it is compatible with.

Well, good luck.