This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-05-20 11:31:27

Severus14
Scratcher
Registered: 2011-02-03
Posts: 62

Need lighting help!

I'm trying to make a game where, if a small circle of light hits a particular black area, that exact black area would disappear. Not the whole black background! Just the area of black that the small circle of light was touching. Please help!

Offline

 

#2 2011-05-20 19:57:28

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: Need lighting help!

Use a sprite for the small circle of light
whenever it it hits the right area, stamp it


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

#3 2011-05-22 15:15:57

emboar30
Scratcher
Registered: 2011-05-03
Posts: 100+

Re: Need lighting help!

Locomule wrote:

Use a sprite for the small circle of light
whenever it it hits the right area, stamp it

Alternatively, you could have two backgrounds: one with the circle, one without. Whenever you want the circle to disappear, use the switch background block to change the background.


http://scratch.mit.edu/static/icons/buddy/788987_med.png?t=2011-05-02+15%3A14%3A41
I is epiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiic!     See my stuff here!!!!!

Offline

 

Board footer