Creating smooth lighting transitions using tiles in HTML5/JavaScript game
- by user12098
I am trying to implement a lighting effect in an HTML5/JavaScript game using tile replacement. What I have now is kind of working, but the transitions do not look smooth/natural enough as the light source moves around. Here's where I am now:
Right now I have a background map that has a light/shadow spectrum PNG tilesheet applied to it - going…