Zareth wrote: ↑12 May 2025, 16:36
I've been following the documentation and haven't been able to reproduce the animation I made for my farm building.
Does anyone know why nothing happens?
Code: Select all
[
{
"id" : "Farm.Animation.Mo.Plugin.unique.id.res00",
"type" : "animation",
"handle interpolation" : 5,
"loop" : true,
"frames" : [
{
"bmp" : "CowAnimation_0001_bmp.png",
"move x" : 0,
"move y" : 0
},
{
"bmp" : "CowAnimation_0002_bmp.png",
"move x" : 0,
"move y" : 0
},
{
"bmp" : "CowAnimation_0003_bmp.png",
"move x" : 0,
"move y" : 0
},
{
"bmp" : "CowAnimation_0004_bmp.png",
"move x" : 0,
"move y" : 0
}
]
},
{
"id" : "$Farm.Animals.Mo.Plugin.unique.id.res00",
"type" : "farm",
"title" : "Cow Farm",
"text" : "A farm that produces milk and meat. It requires a lot of space and workers, but it is worth it. It is a great source of food and income for the city.",
"author" : "Zareth",
"width" : 3,
"height" : 3,
"frames" : [
{
"bmp" : "FarmMo_bmp.png"
}
],
"animated" : [
{
"id" : "Farm.Animation.Mo.Plugin.unique.id.res00"
}
],
"level" : 3,
"build time" : 31,
"price" : 1000,
"workers" : 150,
"sound click" : {"file" : "Farm.ogg"},
"influense noise" : 1,
"influense nature" : 10,
"influence polution" : -1
}
]
Maybe you could show us these files to see what they look like:
"bmp" : "CowAnimation_0001_bmp.png",
"bmp" : "CowAnimation_0002_bmp.png",
"bmp" : "CowAnimation_0003_bmp.png",
"bmp" : "CowAnimation_0004_bmp.png",
Things to try (1 for sure):
1.
animated should be
animation.
2
loop - I am unaware of this tag.
(Unused tags are basically ignored.)
3. "handle interpolation" : 5, won't do anything if you are intending to move cows around the field and all your (x and y)s are 0.