Wednesday, January 16, 2013

Buffered Lighting System In

[ UPDATE: 2013.07.28: SWF FILE REMOVED. Have decided to keep game off internet until it is finished and copyrighted. ]
TODO NOTES:
Light todo simple:
A dark yellow tile will direct us to stamp a certain type of light at that coordinate.


Light todo ADVANCED:
Make it auto-project based on where it was set on the tile-map:
1. If tile directly below EXISTS:
 Project LIGHT THROUGH ALL TILES BELOW TILL YOU REACH FIRST EMPTY TILE

2. If tile NO TILE directly below:
        Project LIGHT till you hit a tile. Make light COVER that last tile that was hit.

3. If you have a HORIZONTAL row of CONNECTED light tiles, make all lights the SAME length.
   
4. If you have VERTICLE column of connected lights,
   DO step #3, but also make the lights project LEFT or RIGHT rather than DOWN.
   
 Deciding which way to project:
        Whichever side has the most empty space.

        Deciding how LONG the light is:
        Steps 1-3 still apply here. But on x-axis instead of y-axis.

No comments:

Post a Comment