Animation in building rotation?
Moderator: Plugin Moderators
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
- MXD77
- Inhabitant of a Megacity
- Reactions:
- Posts: 255
- Joined: 15 May 2017, 00:05
- Location: Gdańsk
- Plugins: Showcase Store
-
Platform
Re: Animation in building rotation?
So how code was look?
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Animation in building rotation?
Code: Select all
[{
"id": "helevatoranim.01",
"type" : "animation",
"speed": .5,
"frames": [
{"bmp":"upanimorn.png","w":1, "h":5,"count":32}
]
},
{
"id": "hbcanimat.01",
"type":"animation",
"speed":1,
"frames":[
{"bmp":"bcgrndflrallorn.png"}
]
},{
"id": "hbcanimat.00",
"type":"animation",
"speed":1,
"frames":[
{"bmp":"bcwallsorn.png"}
]
},{
"id":"harborres48",
"type": "harbor ind",
"author": "CommanderABab",
"width": 1,
"height": 1,
"speed": 1,
"draw ground": true,
"rotation aware":true,
"need water":true,
"frames": [
{
"x": 0,
"y": 0,
"w": 0,
"h": 56,
"count": 4
}
],
"animation": [
{"id":"hbcanimat.01","x":0,"y":-7},
{"id":"helevatoranim.01","x":22,"y":-2},
{"id":"hbcanimat.00","x":0,"y":-7},
{"id":"helevatoranim.01","x":22,"y":-2},
{"id":"hbcanimat.00","x":0,"y":-14},
{"id":"helevatoranim.01","x":22,"y":-9},
{"id":"hbcanimat.00","x":0,"y":-21},
{"id":"helevatoranim.01","x":22,"y":-16},
{"id":"hbcanimat.00","x":0,"y":-28},
{"id":"helevatoranim.01","x":22,"y":-23},
{"id":"hbcanimat.00","x":0,"y":-35},
{"id":"helevatoranim.01","x":22,"y":-30},
{"id":"hbcanimat.00","x":0,"y":-42},
{"id":"helevatoranim.01","x":22,"y":-37},
{"id":"hbcanimat.00","x":0,"y":-49},
{"id":"helevatoranim.01","x":22,"y":-44},
{"id":"hbcanimat.00","x":0,"y":-56},
{"id":"helevatoranim.01","x":22,"y":-51}
],
"power": -20,
"water": -10,
"level": 2
}]
- Attachments
-
- Not used. It messed up the elevator animation.
- bcrooforn.png (173 Bytes) Viewed 4146 times
- MXD77
- Inhabitant of a Megacity
- Reactions:
- Posts: 255
- Joined: 15 May 2017, 00:05
- Location: Gdańsk
- Plugins: Showcase Store
-
Platform
Re: Animation in building rotation?
Ok thanksCommanderABab wrote: ↑05 Aug 2017, 16:02bcgrndflrallorn.png
upanimorn.png
bcwallsorn.png
Code: Select all
[{ "id": "helevatoranim.01", "type" : "animation", "speed": .5, "frames": [ {"bmp":"upanimorn.png","w":1, "h":5,"count":32} ] }, { "id": "hbcanimat.01", "type":"animation", "speed":1, "frames":[ {"bmp":"bcgrndflrallorn.png"} ] },{ "id": "hbcanimat.00", "type":"animation", "speed":1, "frames":[ {"bmp":"bcwallsorn.png"} ] },{ "id":"harborres48", "type": "harbor ind", "author": "CommanderABab", "width": 1, "height": 1, "speed": 1, "draw ground": true, "rotation aware":true, "need water":true, "frames": [ { "x": 0, "y": 0, "w": 0, "h": 56, "count": 4 } ], "animation": [ {"id":"hbcanimat.01","x":0,"y":-7}, {"id":"helevatoranim.01","x":22,"y":-2}, {"id":"hbcanimat.00","x":0,"y":-7}, {"id":"helevatoranim.01","x":22,"y":-2}, {"id":"hbcanimat.00","x":0,"y":-14}, {"id":"helevatoranim.01","x":22,"y":-9}, {"id":"hbcanimat.00","x":0,"y":-21}, {"id":"helevatoranim.01","x":22,"y":-16}, {"id":"hbcanimat.00","x":0,"y":-28}, {"id":"helevatoranim.01","x":22,"y":-23}, {"id":"hbcanimat.00","x":0,"y":-35}, {"id":"helevatoranim.01","x":22,"y":-30}, {"id":"hbcanimat.00","x":0,"y":-42}, {"id":"helevatoranim.01","x":22,"y":-37}, {"id":"hbcanimat.00","x":0,"y":-49}, {"id":"helevatoranim.01","x":22,"y":-44}, {"id":"hbcanimat.00","x":0,"y":-56}, {"id":"helevatoranim.01","x":22,"y":-51} ], "power": -20, "water": -10, "level": 2 }]
- CommanderABab
- AB
- Reactions:
- Posts: 11107
- Joined: 07 Jun 2016, 21:12
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Animation in building rotation?
Updated what you quoted.
- Hadestia
- Inhabitant of a Megalopolis
- Reactions:
- Posts: 727
- Joined: 17 Jul 2017, 16:16
- Location: Philippines
- Plugins: Showcase Store
- Contact:
-
Plugin Creator
Platform
Re: Animation in building rotation?
more writings my mind wanna blow up to understand
Re: Animation in building rotation?
Do you need four frames to make rotation aware work? If less, will it still work?
- The_Real_Michael_1
- Black Hole
- Reactions:
- Posts: 1511
- Joined: 23 Mar 2020, 15:16
- Location: Bing Chilling
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Animation in building rotation?
Bruh.Designer Anthony wrote: ↑24 Feb 2021, 22:51Do you need four frames to make rotation aware work? If less, will it still work?
This topic is over three years old.