- [CHG] Fa us de push i pop en surfaces
This commit is contained in:
@@ -131,13 +131,13 @@ game = {
|
||||
end,
|
||||
|
||||
draw_light = function(x,y,size)
|
||||
surf.target(game.circ_buf)
|
||||
surf.target.push(game.circ_buf)
|
||||
local s = size+(game.light_strobe_value/2)
|
||||
draw.mode(draw.OR)
|
||||
draw.circf(x,y,s,1)
|
||||
draw.circf(x,y,2*(s/3),2)
|
||||
draw.mode(draw.NORMAL)
|
||||
surf.target(game.back_buf)
|
||||
surf.target.pop()
|
||||
end,
|
||||
|
||||
apply_water = function()
|
||||
|
||||
Reference in New Issue
Block a user