WIP floor prototype

This commit is contained in:
yyc12345 2020-10-09 12:53:00 +08:00
parent e2949708e6
commit 112b63319f
2 changed files with 223 additions and 0 deletions

View File

@ -190,5 +190,197 @@
}
]
}
},
{
"Type": "NormalBorder",
"BindingDisplayTexture": "NormalBorder.png",
"UnitSize": "Small",
"ExpandType": "Column",
"InitColumnDirection": "PositiveX",
"DefaultSideConfig": {
"UseTwoDTop": false,
"UseTwoDRight": false,
"UseTwoDBottom": false,
"UseTwoDLeft": true,
"UseThreeDTop": true,
"UseThreeDBottom": false
},
"ThreeDTopFace": {
"Vertices": [
"0,0,0;;;",
"2.5,0,0;+d1;;",
"2.5,2.5,0;+d1;;",
"0,2.5,0;;;"
],
"UVs": [
"0,0.5;;",
"0,0;;-d1",
"0.5,0;;-d1",
"0.5,0.5;;"
],
"Faces": [
{
"P1": 0,
"P2": 1,
"P3": 2,
"P4": 3,
"Textures": "FloorTopFlat"
}
]
},
"ThreeDBottomFace": {
"Vertices": [
"2.5,0,-5;+d1;;-d3",
"2.5,2.5,-5;+d1;;-d3",
"0,2.5,-5;;;-d3",
"0,0,-5;;;-d3"
],
"UVs": [
"0,0.5;;",
"0.5,0.5;;",
"0.5,0;;-d1",
"0,0;;-d1"
],
"Faces": [
{
"P1": 3,
"P2": 2,
"P3": 1,
"P4": 0,
"Textures": "FloorTopBorderless"
}
]
},
"TwoDTopSide": {
"Vertices": [
"0,0,-5;;;-d3",
"0,2.5,-5;;;-d3",
"0,2.5,0;;;",
"0,0,0;;;"
],
"UVs": [
"0,0.5;;",
"0,0;;",
"1,0;+d3;",
"1,0.5;+d3;"
],
"Faces": [
{
"P1": 3,
"P2": 2,
"P3": 1,
"P4": 0,
"Textures": "FloorTopBorderless"
}
]
},
"TwoDRightSide": {
"Vertices": [
"2.5,2.5,0;+d1;;",
"2.5,2.5,-5;+d1;;-d3",
"0,2.5,-5;;;-d3",
"0,2.5,0;;;"
],
"UVs": [
"0,0;;-d1",
"1,0;+d3;-d1",
"1,0.5;+d3;",
"0,0.5;;"
],
"Faces": [
{
"P1": 0,
"P2": 1,
"P3": 2,
"P4": 3,
"Textures": "FloorTopBorderless"
}
]
},
"TwoDBottomSide": {
"Vertices": [
"2.5,0,-5;+d1;;-d3",
"2.5,2.5,-5;+d1;;-d3",
"2.5,2.5,0;+d1;;",
"2.5,0,0;+d1;;"
],
"UVs": [
"1,0.5;+d3;",
"1,0;+d3;",
"0,0;;",
"0,0.5;;"
],
"Faces": [
{
"P1": 0,
"P2": 1,
"P3": 2,
"P4": 3,
"Textures": "FloorTopBorderless"
}
]
},
"TwoDLeftSide": {
"Vertices": [
"2.5,0,0;+d1;;",
"2.5,0,-5;+d1;;-d3",
"0,0,-5;;;-d3",
"0,0,0;;;"
],
"UVs": [
"0,0.5;;",
"1,0.5;+d3;",
"1,0;+d3;-d1",
"0,0;;-d1"
],
"Faces": [
{
"P1": 3,
"P2": 2,
"P3": 1,
"P4": 0,
"Textures": "FloorSide"
}
]
},
"TwoDTopSideExpand": null,
"TwoDRightSideExpand": null,
"TwoDBottomSideExpand": null,
"TwoDLeftSideExpand": {
"Vertices": [
"2.5,0,-5;+d1;;-d3",
"0,0,-5;;;-d3",
"0,0,-2.5;;;",
"2.5,0,-2.5;+d1;;",
"2.5,0,0;+d1;;",
"0,0,0;;;"
],
"UVs": [
"0.5,0.5;;",
"0.5,0;;-d1",
"0,0;;-d1",
"0,0.5;;",
"0,0;;-d1",
"0,0.5;;",
"0.5,0.5;+d3;",
"0.5,0;+d3;-d1"
],
"Faces": [
{
"P1": 2,
"P2": 3,
"P3": 4,
"P4": 5,
"Textures": "FloorTopBorder"
},
{
"P1": 3,
"P2": 2,
"P3": 1,
"P4": 0,
"Textures": "FloorTopBorderless"
}
]
}
}
]

View File

@ -29,5 +29,36 @@
"SideSync": "2dBottom;False;2dTop;2dRight;3dTop;3dBottom"
}
]
},
{
"Type": "NormalFloor",
"BindingDisplayTexture": "NormalFloor.png",
"UnitSize": "Small",
"ExpandType": "Column",
"InitColumnDirection": "PositiveX",
"DefaultSideConfig": {
"UseTwoDTop": false,
"UseTwoDRight": true,
"UseTwoDBottom": false,
"UseTwoDLeft": true,
"UseThreeDTop": true,
"UseThreeDBottom": false
},
"SmashedBlocks": [
{
"Type": "NormalBorder",
"StartPosition": "0,0;,,,",
"ExpandPosition": "0,0;,d1,,",
"Rotation": "R0",
"SideSync": "2dTop;False;2dBottom;2dLeft;3dTop;3dBottom"
},
{
"Type": "NormalBorder",
"StartPosition": "0,1;,d1,,",
"ExpandPosition": "0,0;,d1,,",
"Rotation": "R180",
"SideSync": "2dBottom;False;2dTop;2dRight;3dTop;3dBottom"
}
]
}
]