vfx update with working lights for some machines

This commit is contained in:
PreLeyZero 2022-05-03 22:38:52 +02:00
parent cd0621a731
commit 42571627cb
22 changed files with 90 additions and 154 deletions

View file

@ -114,46 +114,29 @@ data:extend({
}, },
--animation --animation
animation = { animation = {
north = { filename = sprite('entity_base.png'),
filename = sprite('entity_animation.png'), size = {512,512},
size = {512,512}, scale = 0.54,
scale = 0.54, line_length = 1,
line_length = 3, --lines_per_file = 2,
lines_per_file = 3, frame_count = 1,
frame_count = 9, --animation_speed = 0.2,
animation_speed = 0.2, shift = {0,-0.3}
shift = {0,-0.3} },
}, working_visualisations = {
east = { {
filename = sprite('entity_animation.png'), animation =
size = {512,512}, {
scale = 0.54, filename = sprite('entity_overlay.png'),
line_length = 3, size = {512,512},
lines_per_file = 3, scale = 0.54,
frame_count = 9, line_length = 3,
animation_speed = 0.2, lines_per_file = 3,
shift = {0,-0.3} frame_count = 9,
}, animation_speed = 0.2,
south = { shift = {0,-0.3}
filename = sprite('entity_animation.png'), }
size = {512,512}, }
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.3}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.3}
},
}, },
working_sound = working_sound =
{ {

View file

@ -114,42 +114,29 @@ data:extend({
}, },
--animation --animation
animation = { animation = {
north = { filename = sprite('entity_base.png'),
filename = sprite('entity_animation.png'), size = {512,512},
size = {512,512}, scale = 0.54,
scale = 0.54, line_length = 1,
line_length = 3, --lines_per_file = 2,
frame_count = 3, frame_count = 1,
animation_speed = 0.2, --animation_speed = 0.2,
shift = {0,-0.3} shift = {0,-0.3}
}, },
east = { working_visualisations = {
filename = sprite('entity_animation.png'), {
size = {512,512}, animation =
scale = 0.54, {
line_length = 3, filename = sprite('entity_overlay.png'),
frame_count = 3, size = {512,512},
animation_speed = 0.2, scale = 0.54,
shift = {0,-0.3} line_length = 3,
}, lines_per_file = 3,
south = { frame_count = 9,
filename = sprite('entity_animation.png'), animation_speed = 0.2,
size = {512,512}, shift = {0,-0.3}
scale = 0.54, }
line_length = 3, }
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.3}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.2,
shift = {0,-0.3}
},
}, },
working_sound = working_sound =
{ {

View file

@ -113,43 +113,29 @@ data:extend({
}, },
--animation --animation
animation = { animation = {
north = { filename = sprite('entity_base.png'),
filename = sprite('entity_animation.png'), size = {512,512},
size = {512,512}, scale = 0.54,
scale = 0.54, line_length = 1,
line_length = 3, --lines_per_file = 2,
frame_count = 3, frame_count = 1,
animation_speed = 0.5, --animation_speed = 0.2,
shift = {0,-0.3} shift = {0,-0.3}
}, },
east = { working_visualisations = {
filename = sprite('entity_animation.png'), {
size = {512,512}, animation =
scale = 0.54, {
line_length = 3, filename = sprite('entity_overlay.png'),
--lines_per_file = 3, size = {512,512},
frame_count = 3, scale = 0.54,
animation_speed = 0.5, line_length = 3,
shift = {0,-0.3} lines_per_file = 3,
}, frame_count = 9,
south = { animation_speed = 0.2,
filename = sprite('entity_animation.png'), shift = {0,-0.3}
size = {512,512}, }
scale = 0.54, }
line_length = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.3}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
frame_count = 3,
animation_speed = 0.5,
shift = {0,-0.3}
},
}, },
working_sound = working_sound =
{ {

View file

@ -106,49 +106,29 @@ data:extend({
}, },
--animation --animation
animation = { animation = {
north = { filename = sprite('entity_base.png'),
filename = sprite('entity_animation.png'), size = {512,512},
size = {512,512}, scale = 0.54,
scale = 0.54, line_length = 1,
line_length = 3, --lines_per_file = 2,
lines_per_file = 3, frame_count = 1,
frame_count = 9, --animation_speed = 0.2,
animation_speed = 0.2, shift = {0,-0.3}
shift = {0,-0.3}
},
east = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.3}
},
south = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.3}
},
west = {
filename = sprite('entity_animation.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.3}
},
}, },
working_visualisations = { working_visualisations = {
{
animation =
{
filename = sprite('entity_overlay.png'),
size = {512,512},
scale = 0.54,
line_length = 3,
lines_per_file = 3,
frame_count = 9,
animation_speed = 0.2,
shift = {0,-0.3}
}
},
{ {
light = { light = {
type = "basic", type = "basic",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 327 KiB

After

Width:  |  Height:  |  Size: 336 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 391 KiB

After

Width:  |  Height:  |  Size: 394 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 231 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 978 KiB

After

Width:  |  Height:  |  Size: 966 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 397 KiB

After

Width:  |  Height:  |  Size: 399 KiB

Before After
Before After