Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Pen Flashlight Help
- epikdude70
- Scratcher
62 posts
Pen Flashlight Help
I decided that I was going to make a 2D, top-view horror game engine on Scratch that could be used as the base for horror games that anyone wants to create off of it, but I've already stumbled into a problem with it, I don't know how to make a Pen flashlight system. What I mean by this is, I want there to be the player sprite, and then a ray of light that cuts through the darkness that surrounds the player, and goes over the background tiles (the map sprites that work sort of like my last two games, Car Builder: Redux, and 2D Flight Simulator that both weirdly work on a similar engine, but not the same one as this). I know that's a weird way of putting it, but that's what I want to create. Does anyone have any ideas as to how I should do that?
Fluttershy:
- The best My Little Pony: Friendship Is Magic character.
- A humble, (not very) assertive, and very shy (obviously) Pegasus.
- Same voice actor as the second best pony, Pinkie Pie.
- deck26
- Scratcher
1000+ posts
Pen Flashlight Help
See if this helps https://scratch.mit.edu/projects/61593394/
Last edited by deck26 (Dec. 18, 2017 19:26:22)
- KookieMonsta37
- Scratcher
11 posts
Pen Flashlight Help
If you want it in pen, try to find a transparent pen engine, if you don't care, go to the project that deck26 said.
- epikdude70
- Scratcher
62 posts
Pen Flashlight Help
I would prefer actually using Pen, but if I have to resort to using well, NOT Pen, I'd be okay with that as well. I think more of the issue is, how do I fill the screen with black and cut a section out with the black portion of the scene being under the player sprite, but above all other sprites? If you want it in pen, try to find a transparent pen engine, if you don't care, go to the project that deck26 said.
Fluttershy:
- The best My Little Pony: Friendship Is Magic character.
- A humble, (not very) assertive, and very shy (obviously) Pegasus.
- Same voice actor as the second best pony, Pinkie Pie.
- deck26
- Scratcher
1000+ posts
Pen Flashlight Help
The same way I did it really but instead of going to the mouse-pointer it goes to the player. The standard blocks for controlling layers should give you all you need.I would prefer actually using Pen, but if I have to resort to using well, NOT Pen, I'd be okay with that as well. I think more of the issue is, how do I fill the screen with black and cut a section out with the black portion of the scene being under the player sprite, but above all other sprites? If you want it in pen, try to find a transparent pen engine, if you don't care, go to the project that deck26 said.
go to front
go back () layers
- Discussion Forums
- » Help with Scripts
- » Pen Flashlight Help