# Compress Plasma Animations

Reduced the plasma animations from 64x64 to 48x48 each. Updated the aspect ratios in the .lua files referencing them.

Total Reduction:
This commit is contained in:
ExeVirus 2021-01-23 09:48:17 -05:00
parent 4b05c86486
commit 9ab3cb361f
3 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ for brightness_level = 0, 14 do
lighttex = {
name="homedecor_plasma_storm.png"..brightened,
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0},
animation={type="vertical_frames", aspect_w=48, aspect_h=48, length=2.0},
}
else
lighttex = "homedecor_plasma_lamp_off.png"
@ -771,7 +771,7 @@ for _, light_brightn_name in ipairs({"off", "on"}) do
if onflag then
lighttex = {
name = "homedecor_plasma_ball_streamers.png",
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0},
animation={type="vertical_frames", aspect_w=48, aspect_h=48, length=2.0},
}
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 KiB

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 KiB

After

Width:  |  Height:  |  Size: 134 KiB