is there any way to make 2d BFS-based lighting propagation system, now i have world hundreds of blocks each block outside no block blocking light or on top will have highest brightness, the more blocks around the block the less light the block, my original idea is to give the top block maximum light, each block like that will check 4 blocks around it, if it has light >0 then it will be equal to max light - 1, but this is really complicated to do in gdevelop,
question: is there any way to make BFS-based lighting propagation system based on above way or other way, thanks
