Page 1 of 1

Fences: 8 frames instead of 2

Posted: 22 Nov 2020, 12:10
by 1Code
Deleted
.Image
[json][
{
"id":"$fence00",
"type":"template",
"category":"$cat_fence00",
"build time": 1,
"price": 100,
"removable": true,
"width": 1,
"height": 1
},
{
"id":"$fence01",
"type":"fence",
"template":"$fence00",
"frames": [
//diagonal frames
{
"bmp":"fence.png",
"h":12,
"w":16,
"x":48,
"y":4,
"handle y":4
},
{
"bmp":"fence.png",
"h":16,
"w":16,
"x":64,
"handle y":8
}
],
"allow diagonal":true,
"hidden":true
},
{
"id":"$fence02",
"type":"fence",
"template":"$fence00",
"frames": [
//regular frames
{
"bmp":"fence.png",
"h":12,
"y":4,
"w":16,
"count":2,
"handle y":4
},
//slope frames
{
"bmp":"fence.png",
"h":12,
"y":4,
"x":96,
"w":16,
"count":2,
"handle y":4
}
],
"diagonal fence":"$fence01"
}
][/json]
Sorry, I have no slope frames here

.@JustAnyone[Posts][PM]

Re: Add support to build fences diagonally

Posted: 04 Feb 2021, 01:14
by imajoke
Yeah that would be a good idea

Re: Add support to build fences diagonally

Posted: 04 Feb 2021, 05:40
by RopaSucia
Very useful

Re: Fences: 4 frames instead of 2

Posted: 12 Feb 2021, 08:17
by KingShoot
Totally would agree!

Re: Fences: 4 frames instead of 2

Posted: 12 Feb 2021, 13:18
by Kulche
How would it handle slopes and buildings?

Re: Fences: 4 frames instead of 2

Posted: 12 Feb 2021, 13:55
by The_Real_Michael_1
I really love this idea!