Re: Night Animations
Posted: 18 Jun 2021, 20:55
...what?
A feature rich city builder game for Android, iOS and PC
https://www.forum.theotown.com/
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 //,... }]
Code: Select all Reset
[{"light":true,//light at night "light switching":true,//only drawn at night //,... }]
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.Player_no_Zero wrote: ↑16 Feb 2022, 09:23I got confused at this
Screenshot_20220216_125238.png
Should I cut the night animation the same way as a road deco does?
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], [] ] } ]