- [NEW] Torxes implementades
This commit is contained in:
@@ -53,6 +53,15 @@ palfade = {
|
||||
|
||||
end,
|
||||
|
||||
fade_white = function(f)
|
||||
for i=1,32 do
|
||||
local r = math.floor(palfade.reddish[i].r + (255-palfade.reddish[i].r)*f)
|
||||
local g = math.floor(palfade.reddish[i].g + (255-palfade.reddish[i].g)*f)
|
||||
local b = math.floor(palfade.reddish[i].b + (255-palfade.reddish[i].b)*f)
|
||||
pal.color(i-1,r,g,b)
|
||||
end
|
||||
end,
|
||||
|
||||
restore = function()
|
||||
pal.set(palfade.original)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user