hi there!
i have been working on my project and its more of a night time dark game.
i need to know how i can make a see distance, like a circle around the player and that's all they can see.
If you know how i would really appreciate it.
thanks
The easiest way is with a big black sprite with a hole in the middle... : )
..set position to player.X
player.Y
For a hide-ish effect, you could try maybe setting object visibility to initially be hidden, and when the objects are within the player's field of vision (using the LineofSight behaviour) to set the seen object to Visible. I'm not sure how to accomplish the field of vision effect, sorry. Maybe because it's 1:46am here, .
Better way..
[attachment=0:fu4bw8xq][/attachment:fu4bw8xq]
Develop games in your browser. Powerful, performant & highly capable.
Depends on how big your level is, for smaller games it'd work alright, but also note for performance reasons using a rather large sprite like that isn't recommended.