752

Plays

4

Reviews

100%

Like It

1

Comments

Directional Dynamic Lighting Test

by merrak


Sign in to rate this game.

To play this game, install Adobe Flash Player.

Get Adobe Flash player

If Flash is already installed, enable JavaScript.



Description

Move the (light) ball around to light the pillars from various angles and distances. This is a simpler implementation of dynamic lighting than used in the isometric game. It handle shadows and arbitrary angles.

It does not handle shadows that cut light from half of the side of a tile. Either the entire side of a tile is lit, or it is not. Higher precision can be achieved by using smaller tiles.

This simple test was put together using the Image API and about 30 code blocks.



1 Comment

fatpants
Brilliant! This works perfectly!!
1 2 years, 9 months ago

Sign In to Comment