Hi, I get howtoconstructdemos.com/visible-field-of-view-fov-in-a-top-down-game-like-a-flashlight-beam-capx source and it work for one enemy(or friend) character in layout. but when I want to create 2 ShadowLight(Clone It) or create with System->create Object , it confused ! Please Help.
I'm afraid the only way is to make another layer for the second player.
Add Player+FOV+ShadowLight objects to a container. Create another layer, copy-paste all 3 objects to that layer. Set "Force own texture=yes" in layer properties.
dop2000 thanks, it's work, but how? Is it bad to do like this for performance?
Develop games in your browser. Powerful, performant & highly capable.
Yes, it's bad for performance. Should be ok on PC, but it may be quite bad on mobile.