Night Animations

Find tutorials, documentation, and resources for creating and using TheoTown plugins.
User avatar
Kulche
Inhabitant of a Continent
Reactions:
Posts: 1194
Joined: 07 Jun 2017, 18:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by Kulche »

...what?
get yoked!!
S
Sharizal zul
Small-town resident
Reactions:
Posts: 28
Joined: 17 Jun 2021, 15:33
Plugins: Showcase Store
Version: Beta

Re: Night Animations

Post by Sharizal zul »

How to take night frame after edit in Animation.dev.tool
User avatar
ian`
Metropolitan
Reactions:
Posts: 117
Joined: 04 Apr 2020, 15:36
Location: ๆ—ฅๆœฌ
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by ian` »

Sharizal zul wrote: 19 Jun 2021, 09:10 How to take night frame after edit in Animation.dev.tool
viewtopic.php?p=171519#p171519 :bc
:bc
User avatar
SolidSleek
Villager
Reactions:
Posts: 11
Joined: 19 Aug 2021, 08:43
Location: Philippines
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by SolidSleek »

How about night animation for cars
:( Not Always Online :(
User avatar
Wepf
Inhabitant of a Megacity
Reactions:
Posts: 257
Joined: 14 Oct 2021, 08:19
Location: Your lucid dream
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by Wepf »

Wth is light switching code
I play music and create theotown plugin (rarely)


Btw I'm from ๐Ÿ‡น๐Ÿ‡ญ and I'm 13
User avatar
CommanderABab
AB
Reactions:
Posts: 11270
Joined: 07 Jun 2016, 19:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by CommanderABab »

Code: Select all

"light":true,//light at night
"light switching":true,//only drawn at night
"light switching":false,//same animation day and night, no dimming at night

Code: Select all ย ย  Reset

[{"light":true,//light at night "light switching":false//same animation day and night, no dimming at night //,... }]
JSON checker
Check

Code: Select all ย ย  Reset

[{"light":true,//light at night "light switching":true,//only drawn at night //,... }]
JSON checker
Check
my avatar:
User avatar
Hadestia
Inhabitant of a Megalopolis
Reactions:
Posts: 722
Joined: 17 Jul 2017, 14:16
Location: Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: Night Animations

Post by Hadestia »

I need a cheat sheet for anim id and how it looks like, for road decoration purpose
ย !ย Message from: Hadestia
Visit my YouTube channel:
https://youtube.com/channel/UC5qG-r8y21036JZbGRClbdQ
User avatar
Player_no_Zero
Metropolitan
Reactions:
Posts: 132
Joined: 06 May 2019, 07:18
Location: Somewhere in Manila, Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: Night Animations

Post by Player_no_Zero »

I need this urgently. Night animations for road deco. Is it the same as other night animations?
๐„๐•๐„๐‘๐˜๐“๐‡๐ˆ๐๐† ๐Œ๐”๐’๐“ ๐†๐Ž ๐๐˜ ๐“๐‡๐„ ๐ƒ๐„๐“๐€๐ˆ๐‹
๐˜๐Ž๐” ๐Œ๐”๐’๐“ ๐‚๐Ž๐๐“๐€๐‚๐“ ๐Œ๐„ ๐…๐ˆ๐‘๐’๐“, ๐๐Ž๐“ ๐€๐‹๐‹ ๐Ž๐… ๐Œ๐˜ ๐’๐๐‘๐ˆ๐“๐„๐’ ๐€๐‘๐„ ๐…๐‘๐„๐„, ๐–๐ˆ๐“๐‡ ๐€๐ ๐„๐—๐‚๐„๐๐“๐ˆ๐Ž๐ ๐“๐Ž ๐†๐‘๐€๐•๐„๐˜๐€๐‘๐ƒ ๐๐Ž๐’๐“๐’.
๏ผฃ๏ผฒ๏ผฅ๏ผค๏ผฉ๏ผด ๏ผญ๏ผฅ ๏ผฉ๏ผฆ ๏ผน๏ผฏ๏ผต ๏ผท๏ผก๏ผฎ๏ผด ๏ผด๏ผฏ ๏ผต๏ผณ๏ผฅ ๏ผญ๏ผน ๏ผณ๏ผฐ๏ผฒ๏ผฉ๏ผด๏ผฅ๏ผณ
User avatar
CommanderABab
AB
Reactions:
Posts: 11270
Joined: 07 Jun 2016, 19:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by CommanderABab »

Yes, you can do the same things with light as you do other animations.
my avatar:
User avatar
Player_no_Zero
Metropolitan
Reactions:
Posts: 132
Joined: 06 May 2019, 07:18
Location: Somewhere in Manila, Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: Night Animations

Post by Player_no_Zero »

I got confused at this
Screenshot_20220216_125238.png
Should I cut the night animation the same way as a road deco does?
You do not have the required permissions to view the files attached to this post.
๐„๐•๐„๐‘๐˜๐“๐‡๐ˆ๐๐† ๐Œ๐”๐’๐“ ๐†๐Ž ๐๐˜ ๐“๐‡๐„ ๐ƒ๐„๐“๐€๐ˆ๐‹
๐˜๐Ž๐” ๐Œ๐”๐’๐“ ๐‚๐Ž๐๐“๐€๐‚๐“ ๐Œ๐„ ๐…๐ˆ๐‘๐’๐“, ๐๐Ž๐“ ๐€๐‹๐‹ ๐Ž๐… ๐Œ๐˜ ๐’๐๐‘๐ˆ๐“๐„๐’ ๐€๐‘๐„ ๐…๐‘๐„๐„, ๐–๐ˆ๐“๐‡ ๐€๐ ๐„๐—๐‚๐„๐๐“๐ˆ๐Ž๐ ๐“๐Ž ๐†๐‘๐€๐•๐„๐˜๐€๐‘๐ƒ ๐๐Ž๐’๐“๐’.
๏ผฃ๏ผฒ๏ผฅ๏ผค๏ผฉ๏ผด ๏ผญ๏ผฅ ๏ผฉ๏ผฆ ๏ผน๏ผฏ๏ผต ๏ผท๏ผก๏ผฎ๏ผด ๏ผด๏ผฏ ๏ผต๏ผณ๏ผฅ ๏ผญ๏ผน ๏ผณ๏ผฐ๏ผฒ๏ผฉ๏ผด๏ผฅ๏ผณ
User avatar
TheFennekin
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2715
Joined: 24 Aug 2017, 09:17
Location: honsing around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by TheFennekin »

Player_no_Zero wrote: 16 Feb 2022, 07:23 I got confused at this
Screenshot_20220216_125238.png
Should I cut the night animation the same way as a road deco does?
Probably I think it just works as how you will put animations to the road deco. Take a look at the streetlights ingame for example.
Last edited by TheFennekin on 28 Feb 2022, 07:56, edited 1 time in total.
Image
User avatar
TheFennekin
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2715
Joined: 24 Aug 2017, 09:17
Location: honsing around
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by TheFennekin »

Naufhal wrote: 28 Feb 2022, 05:28 Kulche. When you crewte custom night animation by non upload plugin. The building lost
Can't understand what you are trying to say
Image
User avatar
Kulche
Inhabitant of a Continent
Reactions:
Posts: 1194
Joined: 07 Jun 2017, 18:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by Kulche »

Yeah, that's pretty much incomprehensible.
get yoked!!
User avatar
Player_no_Zero
Metropolitan
Reactions:
Posts: 132
Joined: 06 May 2019, 07:18
Location: Somewhere in Manila, Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: Night Animations

Post by Player_no_Zero »

Code: Select all ย ย  Reset

[{ "id": "$pnzkabukichoentraarch00_00", "type": "animation", "frames": [{ "bmp": "Kabukicho Entrance Arch.png", "x": 0, "w": 32, "handle y": 24 }] }, { "id": "$pnzkabukichoentraarch00_01", "type": "animation", "frames": [{ "bmp": "Kabukicho Entrance Arch.png", "x": 32, "w": 32, "handle y": 24 }] }, { "id": "$pnzkabukichoentraarch00_02", "type": "animation", "frames": [{ "bmp": "Kabukicho Entrance Arch.png", "x": 64, "w": 32, "handle y": 24 }] }, { "id": "$pnzkabukichoentraarch00_03", "type": "animation", "frames": [{ "bmp": "Kabukicho Entrance Arch.png", "x": 96, "w": 32, "handle y": 24 }] }, { "id": "pnzkn1", "type": "animation", "speed": 1, "light": true, "light switching": true, "frames": [{ "bmp": "keanaA1.png", "w": 9, "h": 20, "count": 3 }] }, { "id": "pnzkn2", "type": "animation", "speed": 1, "light": true, "light switching": true, "frames": [{ "bmp": "keanaA2.png", "w": 10, "h": 21, "count": 3 }] }, { "id": "pnzkn3", "type": "animation", "speed": 1, "light": true, "light switching": true, "frames": [{ "bmp": "keanaB1.png", "w": 9, "h": 25, "count": 3 }] }, { "id": "pnzkn4", "type": "animation", "speed": 1, "light": true, "light switching": true, "frames": [{ "bmp": "keanaB2.png", "w": 9, "h": 25, "count": 3 }] }, { "id": "$playernozerokabukichoentraarch00", "type": "road decoration", "title": "Kabukicho Entrance Arch", "text": "Be careful. Crimes often happen here.", "line tool": false, "rotation aware": true, "price": 100, "animation": [{ "id": "$pnzkabukichoentraarch00_00" }, { "id": "$pnzkabukichoentraarch00_02" }, { "id": "pnzkn1", "x": 16, "y": -20, "frame": 0 }, { "id": "pnzkn3", "x": 71, "y": -19, "frame": 2 } ], "frame animation indices": [ [0, 1], [0, 1], [1], [1], [0], [0], [], [], [0, 1], [0, 1], [1], [1], [0], [0], [], [] ], "animation fg": [{ "id": "$pnzkabukichoentraarch00_01" }, { "id": "$pnzkabukichoentraarch00_03" }, { "id": "pnzkn2", "x": 38, "y": -15, "frame": 1 }, { "id": "pnzkn4", "x": 112, "y": -19, "frame": 3 } ], "frame animation fg indices": [ [0, 1], [0], [0, 1], [0], [0, 1], [0], [0, 1], [0], [1], [], [1], [], [1], [], [1], [] ] } ]
JSON checker
Check
Theoretically this would work. But I don't work why it doesn't!?
Kabukicho_Entrance_Arch.zip
I'm goin to finish other plugins first before returning to this.
You do not have the required permissions to view the files attached to this post.
๐„๐•๐„๐‘๐˜๐“๐‡๐ˆ๐๐† ๐Œ๐”๐’๐“ ๐†๐Ž ๐๐˜ ๐“๐‡๐„ ๐ƒ๐„๐“๐€๐ˆ๐‹
๐˜๐Ž๐” ๐Œ๐”๐’๐“ ๐‚๐Ž๐๐“๐€๐‚๐“ ๐Œ๐„ ๐…๐ˆ๐‘๐’๐“, ๐๐Ž๐“ ๐€๐‹๐‹ ๐Ž๐… ๐Œ๐˜ ๐’๐๐‘๐ˆ๐“๐„๐’ ๐€๐‘๐„ ๐…๐‘๐„๐„, ๐–๐ˆ๐“๐‡ ๐€๐ ๐„๐—๐‚๐„๐๐“๐ˆ๐Ž๐ ๐“๐Ž ๐†๐‘๐€๐•๐„๐˜๐€๐‘๐ƒ ๐๐Ž๐’๐“๐’.
๏ผฃ๏ผฒ๏ผฅ๏ผค๏ผฉ๏ผด ๏ผญ๏ผฅ ๏ผฉ๏ผฆ ๏ผน๏ผฏ๏ผต ๏ผท๏ผก๏ผฎ๏ผด ๏ผด๏ผฏ ๏ผต๏ผณ๏ผฅ ๏ผญ๏ผน ๏ผณ๏ผฐ๏ผฒ๏ผฉ๏ผด๏ผฅ๏ผณ
User avatar
Kulche
Inhabitant of a Continent
Reactions:
Posts: 1194
Joined: 07 Jun 2017, 18:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by Kulche »

oh god frame indices.
get yoked!!
User avatar
Player_no_Zero
Metropolitan
Reactions:
Posts: 132
Joined: 06 May 2019, 07:18
Location: Somewhere in Manila, Philippines
Plugins: Showcase Store

Plugin Creator

Platform

Re: Night Animations

Post by Player_no_Zero »

Kulche wrote: 01 Mar 2022, 13:44 oh god frame indices.
I just copy and paste it on jsonlint and expect this to work.
๐„๐•๐„๐‘๐˜๐“๐‡๐ˆ๐๐† ๐Œ๐”๐’๐“ ๐†๐Ž ๐๐˜ ๐“๐‡๐„ ๐ƒ๐„๐“๐€๐ˆ๐‹
๐˜๐Ž๐” ๐Œ๐”๐’๐“ ๐‚๐Ž๐๐“๐€๐‚๐“ ๐Œ๐„ ๐…๐ˆ๐‘๐’๐“, ๐๐Ž๐“ ๐€๐‹๐‹ ๐Ž๐… ๐Œ๐˜ ๐’๐๐‘๐ˆ๐“๐„๐’ ๐€๐‘๐„ ๐…๐‘๐„๐„, ๐–๐ˆ๐“๐‡ ๐€๐ ๐„๐—๐‚๐„๐๐“๐ˆ๐Ž๐ ๐“๐Ž ๐†๐‘๐€๐•๐„๐˜๐€๐‘๐ƒ ๐๐Ž๐’๐“๐’.
๏ผฃ๏ผฒ๏ผฅ๏ผค๏ผฉ๏ผด ๏ผญ๏ผฅ ๏ผฉ๏ผฆ ๏ผน๏ผฏ๏ผต ๏ผท๏ผก๏ผฎ๏ผด ๏ผด๏ผฏ ๏ผต๏ผณ๏ผฅ ๏ผญ๏ผน ๏ผณ๏ผฐ๏ผฒ๏ผฉ๏ผด๏ผฅ๏ผณ
User avatar
OMDGDeveloper
Townsman
Reactions:
Posts: 90
Joined: 06 Mar 2022, 21:28
Location: Rio de Janeiro, Brazil
Plugins: Showcase Store

Plugin Creator

Platform

Re: Night Animations

Post by OMDGDeveloper »

A Question: You can do night animations in phones. Right? Yeah, i'm stupid lol
Greetings, TheoTown citizens! ๐Ÿข I am OMDG, your friendly neighborhood plugin artist. Ohh, TheoTown - A gem that has a special place in my heart. In my opinion, it needs even more recognition by the world :fire
User avatar
CommanderABab
AB
Reactions:
Posts: 11270
Joined: 07 Jun 2016, 19:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Night Animations

Post by CommanderABab »

Yes
my avatar:
User avatar
OMDGDeveloper
Townsman
Reactions:
Posts: 90
Joined: 06 Mar 2022, 21:28
Location: Rio de Janeiro, Brazil
Plugins: Showcase Store

Plugin Creator

Platform

Re: Plugin Pack, on Mobile

Post by OMDGDeveloper »

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.
Greetings, TheoTown citizens! ๐Ÿข I am OMDG, your friendly neighborhood plugin artist. Ohh, TheoTown - A gem that has a special place in my heart. In my opinion, it needs even more recognition by the world :fire
User avatar
FVI
Inhabitant of a Galaxy Cluster
Reactions:
Posts: 2442
Joined: 22 Feb 2022, 16:00
Location: The largest island in Europe
Plugins: Showcase Store
Version: Beta

Platform

Re: Night Animations

Post by FVI »

But can you create animated night animations? For example, you want to make a disco and you want the lights to change color every second. Canst? Thank you!
Last edited by FVI on 27 Jun 2022, 15:05, edited 1 time in total.
My YT channel! https://www.youtube.com/@FVI297

(Changed the location writing, the old one sounded bad)