given sprite rectangle outside actual sprite size??
Posted: Fri May 22, 2020 4:44 pm
So I'm making a glorified loader with a large size, the sprite size is exactly 300x100.
This is rotator.png (placeholder)
This is my code for the entity
This is rotator.png (placeholder)
This is my code for the entity
Code: Select all
{
name="cargo-rotator",
type="loader-1x1",
filter_count=1,
structure={
direction_in={filename="__QwrtMod__/graphics/entity/rotator.png",size={300,100}},
direction_out={filename="__QwrtMod__/graphics/entity/rotator.png",size={300,100}},
},
belt_animation_set={
animation_set={direction_count=20,frame_count=1,filename="__QwrtMod__/graphics/entity/rotator.png",size={300,100}},
},
speed=8,
icon="__QwrtMod__/graphics/placeholder.png",
icon_size=64,
collision_box={{-2.4,-0.4},{2.4,0.4}},
selection_box={{-2.4,-0.4},{2.4,0.4}},
placeable_by={item="cargo-rotator",count=1},
flags={"placeable-neutral","player-creation"},
minable={hardness=0.2,mining_time=0.5,result="cargo-rotator"},
}