Just press the flag and hold the mouse to move the torch around the cave. ================================================== Update Log: - v.1 Now shared for all to see! - v.2 now without light variable to make it able to handle more than one light source - v.2.1 added smooth torchlight on backround - v.2.5 added torch sparks!
This lighting engine is planned to be used in an upcoming game about caves. Scripts and artwork by @mkonkoly