hi every one <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />
how can i set lighting for my character like this game ?
scirra.com/arcade/puzzle-ga ... d-end-6013
borken link ^^
oops
Dead End game in arcade
scirra.com
arcade/puzzle-games/dead-end-6013
Like this:
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
Develop games in your browser. Powerful, performant & highly capable.
thanks guys