Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how to do field of vision
- jvpjvp5454
-
Scratcher
44 posts
how to do field of vision
I want the player in my project to have a cone of vision and not be able to see of it, so far i have had a sprite that hides/shows things inside the cone but that allows the player to see through walls which i dont want
- Jlerpy
-
Scratcher
1000+ posts
how to do field of vision
You could have a set of projectiles that clone and launch from the player, and get stopped by walls, then the other things can set their Ghost effect to 0 if they're touching those projectiles, or to 100 if they're not?
- Jlerpy
-
Scratcher
1000+ posts
how to do field of vision
Here's a quick mockup: https://scratch.mit.edu/projects/1048303132/
- Discussion Forums
- » Help with Scripts
-
» how to do field of vision