Question by
gallantandre · Aug 15, 2019 at 12:45 AM ·
texture2d2d sprites
2D mask that is modified every frame
Hello,
I am trying to make a feature in my 2D platformer where there is a "light" that follows the player. Now the twist is that wherever the player has been in the past, that area should stay permanently lit.
I have tried many things:
1. shaders though I can't say I know what I'm doing
2. sprites and SetPixel, but the performance is atrocious
3. other things that I can't remember
Basically, what I want to do is "paint" a circle every frame (when the player is moving) without using all the system resources.
Any guidance would be greatly appreciated,
Comment
Your answer
