So what I'm trying to do is Have an entirely Black screen with a flash light, Once The flash light is turned on I want it to illimunate The "Black Area" but only the portion in which the light beam is touching.
Through out the black area, there will be many different objects which you can only see when the light is shining on them.
So how should I go about doing this?
Offline
Ralfiyell wrote:
So what I'm trying to do is Have an entirely Black screen with a flash light, Once The flash light is turned on I want it to illimunate The "Black Area" but only the portion in which the light beam is touching.
Through out the black area, there will be many different objects which you can only see when the light is shining on them.
So how should I go about doing this?
I'm guessing something with pens.
No idea though.
Offline
You use ghost effect, and some clever programming. People have done it before, use the magical search feature in the top right.
Offline
Or, your background could be simply a black sprite with a hole in the middle that always follows the mouse. Then you could "glue" four other black sprites to the edges. Tell me if it works!
Google it.
Offline
I tried the idea with black sprite that follows the mouse, but for some reason i couldn't get it big enough and if i moved over to far it would go off the edge and show everything behind it.
thanks though for the idea
Offline
Hmmm... many Scratchers have done this successfully before.
If you don't mind having black scenery, I'd just do a black background (with black scenery) and have a flashlight set to a ghost 50 which follows the mouse (this time, in yellow).
This means that everything under the range of the flashlight will be seen, because it's black against yellow, and everything else won't.
If you do mind having a black scenery, then follow Jwosty's suggestion. I'm sure it works: instead of trying to resize the one sprite enormously, try having other sprites around it completely black.
Offline
What I use is simple, first left click the stage, select grab screen region for new sprite, now select the WHOLE screen, from the VERY top left (above the scratch logo) to the VERY bottom right. (make sure scratch is on maximize) Wait for the new sprite to load. Go to the sprites costumes and make a new costume, try to scroll to the closest to the middle as you can and use the circle tool to make a hollow block circle, now fill outside of the circle black, now use the fill, switch to color black, now switch the foreground color with the background color. Now use the fading circle fill tool and click in the middle of the tool. Make the sprite ghost effect to 30, and make it always go to the mouse pointer. Thats all!
Last edited by Pecola1 (2011-05-14 20:46:21)
Offline
Yeah, that's the better way. I found a not-so-smart solution with the help of my friend, block hacking. It's incredibly laggy, and the detail isn't that good, but it is more straightforward (in a bad way) You use 1728 black squares that change ghost effect according to the distance from a light source. It's more configurable and you can have better stages, but it's HUGE. I can't even upload it. At least it's better than 172,800 individual pixels or something.
Last edited by lalala3 (2011-08-18 00:58:59)
Offline
Jwosty wrote:
Or, your background could be simply a black sprite with a hole in the middle that always follows the mouse. Then you could "glue" four other black sprites to the edges. Tell me if it works! ;)
I made one and it worked great! thanks! Here's the link http://scratch.mit.edu/projects/jcsgoff/2290907 :)
Offline
Ralfiyell wrote:
I tried the idea with black sprite that follows the mouse, but for some reason i couldn't get it big enough and if i moved over to far it would go off the edge and show everything behind it.
thanks though for the idea
Try increasing the sprite's size.
Offline
Black background.
Black sprite.
50% Ghost sprite that follows mouse.
Used successfully by many Scratchers.
Offline
http://scratch.mit.edu/projects/Brass45/646132 — Brass45's perfect tutorial.
Offline
Here is an example I made for you :3 http://scratch.mit.edu/projects/slinger_2/2291461
Offline
Offline