Page 5 of 5
Re: Night Animations
Posted: 13 May 2022, 09:52
by TheFennekin
OMDGDeveloper wrote: ↑14 Apr 2022, 22:59
Hey, i want to know how to make a pack of my plugin. Yes you know, i'm on mobile. But, if it haves an link from saying how to make an pack. Could someone send here? Please? Thanks.
Just put all drafts of the json you need into one json
Code:
Select all Reset
[
{
First building draft
},
{
Second building draft
}....
]
Re: Night Animations
Posted: 29 May 2022, 10:33
by FVI
I saw the forum and some videos but I don't understand how to put night animations
Re: Night Animations
Posted: 27 Jun 2022, 10:17
by Lukasbeenhere
How to add a different night frame to modular buildings?
Re: Night Animations
Posted: 27 Jun 2022, 10:23
by Naufhal
Lukasbeenhere wrote: ↑27 Jun 2022, 10:17
How to add a different night frame to modular buildings?
Just Make Your Own Night Animation. Or Use Night Animation Tool By
Ian.
Re: Night Animations
Posted: 27 Jun 2022, 11:24
by Lukasbeenhere
Naufhal wrote: ↑27 Jun 2022, 10:23
Lukasbeenhere wrote: ↑27 Jun 2022, 10:17
How to add a different night frame to modular buildings?
Just Make Your Own Night Animation. Or Use Night Animation Tool By
Ian.
No thats not what i meant also i already figured it out
Re: Night Animations
Posted: 12 Jul 2022, 20:58
by FVI
@Kulche ? I'm sorry to have to say but this tutorial is a bit approximate. I would like to create night animations myself but I am a beginner in creating plugins so I would need something like a step-by-step tutorial that explains how to do it.

Re: Night Animations
Posted: 25 Jan 2023, 22:28
by KRGames
And for this do you need a picture with the lighting of the building?
Re: Night Animations
Posted: 19 Nov 2024, 09:55
by FVI
KRGames wrote: ↑25 Jan 2023, 22:28
And for this do you need a picture with the lighting of the building?
Yes. You need the building's frame for the main code and
just the lights, nothing else, for the night animation
Re: Night Animations
Posted: 28 Jan 2025, 19:16
by Adone201212
I'm not sure what's wrong with my code:
Code: Select all
[
{
"id": "nightanimation",
"type": "animation",
"light": true,
"light switching": true,
"frames":[
{
"bmp": "123456789.png",
"count": 1,
"h": 1,
"w": 1
}
],
"rotation aware":
false),
},
"id": "$adone201212.residential.2025-01-28-15:51",
"title": "Hotel",
"author": "Adone201212",
"meta": {
"pca": {
"version": "4.4.1"
}
},
"frames": [
{
"bmp": "1000012464.png"
}
],
"power": 50,
"water": 60,
"build time": 10,
"width": 1,
"height": 1,
"level": 2,
"people": 55,
"type": "residential"
"animation":[{"id":"nightanimation",
"x":0,"y":-25}]
}
]
Re: Night Animations
Posted: 29 Jan 2025, 18:56
by FVI
Adone201212 wrote: ↑28 Jan 2025, 19:16
I'm not sure what's wrong with my code:
Code: Select all
[
{
"id": "nightanimation",
"type": "animation",
"light": true,
"light switching": true,
"frames":[
{
"bmp": "123456789.png",
"count": 1,
"h": 1,
"w": 1
}
],
"rotation aware":
false),
},
"id": "$adone201212.residential.2025-01-28-15:51",
"title": "Hotel",
"author": "Adone201212",
"meta": {
"pca": {
"version": "4.4.1"
}
},
"frames": [
{
"bmp": "1000012464.png"
}
],
"power": 50,
"water": 60,
"build time": 10,
"width": 1,
"height": 1,
"level": 2,
"people": 55,
"type": "residential"
"animation":[{"id":"nightanimation",
"x":0,"y":-25}]
}
]
If you try using the code in the game what type of error does it give?
Re: Night Animations
Posted: 30 Jan 2025, 18:23
by Adone201212
FVI wrote: ↑29 Jan 2025, 18:56
Adone201212 wrote: ↑28 Jan 2025, 19:16
I'm not sure what's wrong with my code:
Code: Select all
[
{
"id": "nightanimation",
"type": "animation",
"light": true,
"light switching": true,
"frames":[
{
"bmp": "123456789.png",
"count": 1,
"h": 1,
"w": 1
}
],
"rotation aware":
false),
},
"id": "$adone201212.residential.2025-01-28-15:51",
"title": "Hotel",
"author": "Adone201212",
"meta": {
"pca": {
"version": "4.4.1"
}
},
"frames": [
{
"bmp": "1000012464.png"
}
],
"power": 50,
"water": 60,
"build time": 10,
"width": 1,
"height": 1,
"level": 2,
"people": 55,
"type": "residential"
"animation":[{"id":"nightanimation",
"x":0,"y":-25}]
}
]
If you try using the code in the game what type of error does it give?
It says: Expected literal value at line 8, char 7. Excerpt:
"frames":[
--ERROR->>> },
I deactivated the plugin so the error screen is gone but still I have the error.log file in my data app