hi every one
how can i set lighting for my character like this game ?
borken link ^^
Dead End game in arcade
Develop games in your browser. Powerful, performant & highly capable.
from 8:50min onwards
(not my video)
I know there are better ways to do it but one way to do it would be to have another image that is black everywhere else on the screen but is transparent in the middle... then you could just pin the image to your character.
Another way is to create a layer like this
Inside it you put a sprite like below
Then you put it like that
And you make an event to put it at the position of the player
Like every tick set position Player.X player.y stuff