Discuss Scratch

nintendoboy05
Scratcher
67 posts

How do i do the light trick

Now lets just say you were playing a game were the screen is pitch black but wherever the player goes you can see how do i do that in scratch.
drmcw
Scratcher
1000+ posts

How do i do the light trick

Have a sprite that is black apart from a transparent area that represents what the player sees.
nintendoboy05
Scratcher
67 posts

How do i do the light trick

drmcw wrote:

Have a sprite that is black apart from a transparent area that represents what the player sees.
Can you make a project with that so i know how to do it?

Last edited by nintendoboy05 (Jan. 13, 2017 17:13:56)

asivi
Scratcher
1000+ posts

How do i do the light trick

Make a big black costume with an transparent hole in its center and do it so that it goes forever to your character
gotofrontforevergotocharacter Sprite

Too late

Last edited by asivi (Jan. 13, 2017 17:14:58)

drmcw
Scratcher
1000+ posts

How do i do the light trick

nintendoboy05
Scratcher
67 posts

How do i do the light trick

drmcw wrote:

https://scratch.mit.edu/projects/139955652/
Um i want someone to move with a flash light but i dont know how to do that
nintendoboy05
Scratcher
67 posts

How do i do the light trick

asivi wrote:

Make a big black costume with an transparent hole in its center and do it so that it goes forever to your character
gotofrontforevergotocharacter Sprite

Too late
What do you mean too late?
drmcw
Scratcher
1000+ posts

How do i do the light trick

nintendoboy05 wrote:

drmcw wrote:

https://scratch.mit.edu/projects/139955652/
Um i want someone to move with a flash light but i dont know how to do that
It's a sprite so like asivi has already mentioned use
goto Player
asivi
Scratcher
1000+ posts

How do i do the light trick

nintendoboy05 wrote:

asivi wrote:

Make a big black costume with an transparent hole in its center and do it so that it goes forever to your character
gotofrontforevergotocharacter Sprite

Too late
What do you mean too late?
It means that i posted my response when already @drmcw post was published.
Creepera55a55in
Scratcher
11 posts

How do i do the light trick

if u want a circle with everything black, do this:

whenclickedswitchcostumetoblanksetsizeto800%switchcostumetolightforevergotoplayer

NOTE u need costume light to be fully black with a transparent circle in the middle. Also, costume blank needs to be completely transparent

I made an example
Click me to see example

Last edited by Creepera55a55in (Jan. 13, 2017 22:36:02)

gtoal
Scratcher
1000+ posts

How do i do the light trick

Is this what you're trying to do?

https://scratch.mit.edu/projects/90713988/

Powered by DjangoBB