That's a good example, but what I meant is that the player should be able to switch it on and off. I can't get that to work.
[Edit]: Nvm I already got it working with your example. Thanks.
Develop games in your browser. Powerful, performant & highly capable.
Hi!
I've been making a top down horror game, and the character is supposed to have a toggle able flashlight with on and off, but because the flashlight spawns on the player every tick with the default opaquacy set to 0 setting it on and of won't work. Any examples?
Member since 20 Feb, 2013