Lighting system
This commit is contained in:
@@ -18,7 +18,11 @@ Kupo = Entity:New(x,y)
|
||||
o.bow_speed = 1/10
|
||||
o.bow_frames = 6
|
||||
o.bow_extraframes = 18
|
||||
o.bow_aim_frames = 8
|
||||
o.bow_aim_frames = 8
|
||||
|
||||
o.lightRange = o.range
|
||||
o.light = CreateLight(o.pos.x,o.pos.y,o.lightRange)
|
||||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
|
||||
|
||||
Reference in New Issue
Block a user