Night animations video-tutorial

Learn here how to create and use plugins.

Moderator: Plugin Moderators

User avatar
FVI
Inhabitant of a Planet
Reactions:
Posts: 1453
Joined: 22 Feb 2022, 18:00
Location: That island above France
Plugins: Showcase Store
Version: Beta

Platform

Night animations video-tutorial

#1

Post by FVI »

Hello everyone!

Lately, i have figured out how to make a night animation, and so, I created this new video.

This video both explains how textures and coding works, explaining also how to debug a decentralized night frame, thing that stops many people from making night animations.

Once I understood it, I started to find them relatively easy, and with this video, i hope you will understand it too!

Here is the link to the video
https://youtu.be/1LzUVtXNfsQ?si=Xo9GsSWVcsoY8Dq7

If you want the code I used, feel free to take, study or edit it!
Do not worry for the red dots, they are just spaces and they should not ruin the code.

Code: Select all    Reset

[   { "id": "$nightanimation123", "type": "animation", "light": true, "light switching": true, "frames": [ { "bmp": "HTHLM1.png", "count": 1, "h": 32, "w": 32 } ], "rotation aware": false},   {     "type": "residential",     "id": "$greenhalftimbredhouse",     "text": "A house",     "author": "FVI",     "ordinal": 1,     "meta": {       "pca": {         "version": "4.0.3"       }     },     "frames": [       {         "bmp": "HTH5.png"       }     ],     "width": 1,     "height": 1,     "needs road": false,     "draw ground": true,     "animation": [{"id": "$nightanimation123", "x":0,"y":-25}]   } ]
JSON checker
Check
Good luck! ;)

User avatar
DGYT
Orange Astronaut
Reactions:
Posts: 57
Joined: 23 Aug 2023, 13:55
Location: Afterlife
Plugins: Showcase Store
Contact:

Plugin Creator

Platform

Re: Night animations video-tutorial

#2

Post by DGYT »

What does the Rotation Aware do?

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night animations video-tutorial

#3

Post by CommanderABab »

DGYT wrote:
02 Feb 2024, 18:19
What does the Rotation Aware do?
If you provide two or four frames and set "rotation aware": true, the image changes to the next frame when the map rotates.

User avatar
Indobaol
Settler
Reactions:
Posts: 1
Joined: 28 Sep 2022, 06:36

Re: Night animations video-tutorial

#4

Post by Indobaol »

still struggling to make a night animaton for my plugin XD

User avatar
FVI
Inhabitant of a Planet
Reactions:
Posts: 1453
Joined: 22 Feb 2022, 18:00
Location: That island above France
Plugins: Showcase Store
Version: Beta

Platform

Re: Night animations video-tutorial

#5

Post by FVI »

Indobaol wrote:
15 Feb 2024, 14:31
still struggling to make a night animaton for my plugin XD
I am sorry for that. What in particular do you struggle in? Maybe I can help you.

Post Reply Previous topicNext topic

Return to “Tutorials and Documentation”