obj/spotlight
plane = 2
blend_mode = BLEND_ADD
icon = 'images/spotlight.dmi'
color = list(1,1,1,1,1,1,1,1,1,1,1,1)
pixel_x = 0
pixel_y = 0
var/timer1 = 0
var/timer2 = 0
ex_act()
return
Move()
return
New()
..()
special_processing += src
special_process()
timer1 = timer1 + 1
timer2 = timer2 + 2
pixel_x = (304-sin(timer2)*304)-32
pixel_y = (240-cos(timer1)*240)-32
obj
proc/special_process() //special_processing
return
nice
icon = 'images/nice.png' //A fully black image
plane = 2
color = list(null,null,null,null,"#0030")
blend_mode = BLEND_MULTIPLY
ex_act()
return
Move()
return
Problem description:
The spotlight should make a hole in obj/nice. It doesn't though, how do I do it?