I have an example mod that runs the following code in the data stage:
Code: Select all
data:extend({
{
type = "simple-entity-with-owner",
name = "test-entity",
animations = {
{
filename = "__runtime-tint-glow-bug__/graphics/biolab-lights.png",
draw_as_glow = true,
blend_mode = "additive",
width = 326,
height = 362,
frame_count = 32,
line_length = 8,
shift = util.by_pixel(1.0, -6.5),
animation_speed = 0.2,
scale = 0.5,
apply_runtime_tint = true
}
}
}
})