Hi all,
I am writing a platform game and would like to implement some night levels. The character will have a flashlight that would light up the space in front of him. This in itself would be quite simple, I could use a black image with a “flashlight” shape cut out that would follow him around. However to complicate things I would also like to add;
1. more lights around the level that would be placed dynamically (not always in the same place),
2. explosions etc that would light up the immediate area when exploded
Has anyone got any pointers on how I could go about doing this?
Thanks,
Craig