My game is a 2d game with top down view, I got an object which represents the fire.
I want to make it's volume depending on distance to the screen center (which is the player character).
Is there a way to do that?
Develop games in your browser. Powerful, performant & highly capable.