Fix static poses calculation

This commit is contained in:
Insality
2020-11-09 01:11:22 +03:00
parent e038d70039
commit 834d0714e0
4 changed files with 358 additions and 105 deletions

View File

@@ -11793,7 +11793,7 @@ nodes {
}
nodes {
position {
x: 0.0
x: -150.0
y: -644.0
z: 0.0
w: 1.0
@@ -11811,7 +11811,7 @@ nodes {
w: 1.0
}
size {
x: 400.0
x: 250.0
y: 250.0
z: 0.0
w: 1.0
@@ -11866,7 +11866,7 @@ nodes {
w: 1.0
}
size {
x: 400.0
x: 250.0
y: 250.0
z: 0.0
w: 1.0
@@ -11879,7 +11879,7 @@ nodes {
}
type: TYPE_BOX
blend_mode: BLEND_MODE_ALPHA
texture: "kenney/empty"
texture: ""
id: "infinity_scroll_content"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE
@@ -11903,8 +11903,8 @@ nodes {
}
nodes {
position {
x: 0.0
y: -684.0
x: 150.0
y: -644.0
z: 0.0
w: 1.0
}
@@ -11921,35 +11921,35 @@ nodes {
w: 1.0
}
size {
x: 300.0
y: 60.0
x: 250.0
y: 100.0
z: 0.0
w: 1.0
}
color {
x: 1.0
x: 0.8
y: 1.0
z: 1.0
w: 1.0
}
type: TYPE_BOX
blend_mode: BLEND_MODE_ALPHA
texture: "kenney/button_blue"
id: "infinity_prefab"
texture: ""
id: "infinity_scroll_stencil_hor"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE
pivot: PIVOT_CENTER
pivot: PIVOT_N
adjust_mode: ADJUST_MODE_FIT
parent: "infinity_page_content"
layer: ""
inherit_alpha: true
slice9 {
x: 20.0
x: 0.0
y: 0.0
z: 20.0
z: 0.0
w: 0.0
}
clipping_mode: CLIPPING_MODE_NONE
clipping_mode: CLIPPING_MODE_STENCIL
clipping_visible: true
clipping_inverted: false
alpha: 1.0
@@ -11958,8 +11958,8 @@ nodes {
}
nodes {
position {
x: 0.0
y: 4.0
x: -125.0
y: -50.0
z: 0.0
w: 1.0
}
@@ -11970,54 +11970,46 @@ nodes {
w: 1.0
}
scale {
x: 0.75
y: 0.75
x: 1.0
y: 1.0
z: 1.0
w: 1.0
}
size {
x: 380.0
y: 50.0
x: 250.0
y: 100.0
z: 0.0
w: 1.0
}
color {
x: 1.0
x: 0.8
y: 1.0
z: 1.0
w: 1.0
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "Infinity element 1"
font: "game"
id: "infinity_text"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE
pivot: PIVOT_CENTER
outline {
x: 0.3019608
y: 0.4
z: 0.8
w: 1.0
}
shadow {
x: 1.0
y: 1.0
z: 1.0
w: 1.0
}
type: TYPE_BOX
blend_mode: BLEND_MODE_ALPHA
texture: ""
id: "infinity_scroll_content_hor"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE
pivot: PIVOT_W
adjust_mode: ADJUST_MODE_FIT
line_break: false
parent: "infinity_prefab"
parent: "infinity_scroll_stencil_hor"
layer: ""
inherit_alpha: true
slice9 {
x: 0.0
y: 0.0
z: 0.0
w: 0.0
}
clipping_mode: CLIPPING_MODE_NONE
clipping_visible: true
clipping_inverted: false
alpha: 1.0
outline_alpha: 1.0
shadow_alpha: 0.0
template_node_child: false
text_leading: 1.0
text_tracking: 0.0
size_mode: SIZE_MODE_MANUAL
}
nodes {
position {
@@ -12204,7 +12196,7 @@ nodes {
w: 1.0
}
size {
x: 380.0
x: 60.0
y: 50.0
z: 0.0
w: 1.0
@@ -12249,7 +12241,7 @@ nodes {
}
nodes {
position {
x: 0.0
x: -150.0
y: -176.0
z: 0.0
w: 1.0
@@ -12267,8 +12259,8 @@ nodes {
w: 1.0
}
size {
x: 400.0
y: 400.0
x: 250.0
y: 350.0
z: 0.0
w: 1.0
}
@@ -12322,8 +12314,8 @@ nodes {
w: 1.0
}
size {
x: 400.0
y: 400.0
x: 250.0
y: 350.0
z: 0.0
w: 1.0
}
@@ -12359,8 +12351,8 @@ nodes {
}
nodes {
position {
x: 0.0
y: -216.0
x: 150.0
y: -176.0
z: 0.0
w: 1.0
}
@@ -12377,7 +12369,117 @@ nodes {
w: 1.0
}
size {
x: 300.0
x: 250.0
y: 100.0
z: 0.0
w: 1.0
}
color {
x: 0.8
y: 1.0
z: 1.0
w: 1.0
}
type: TYPE_BOX
blend_mode: BLEND_MODE_ALPHA
texture: ""
id: "infinity_scroll_stencil_dynamic_hor"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE
pivot: PIVOT_N
adjust_mode: ADJUST_MODE_FIT
parent: "infinity_page_content"
layer: ""
inherit_alpha: true
slice9 {
x: 0.0
y: 0.0
z: 0.0
w: 0.0
}
clipping_mode: CLIPPING_MODE_STENCIL
clipping_visible: true
clipping_inverted: false
alpha: 1.0
template_node_child: false
size_mode: SIZE_MODE_MANUAL
}
nodes {
position {
x: -125.0
y: -50.0
z: 0.0
w: 1.0
}
rotation {
x: 0.0
y: 0.0
z: 0.0
w: 1.0
}
scale {
x: 1.0
y: 1.0
z: 1.0
w: 1.0
}
size {
x: 250.0
y: 100.0
z: 0.0
w: 1.0
}
color {
x: 0.8
y: 1.0
z: 0.8
w: 1.0
}
type: TYPE_BOX
blend_mode: BLEND_MODE_ALPHA
texture: "kenney/empty"
id: "infinity_scroll_content_dynamic_hor"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE
pivot: PIVOT_W
adjust_mode: ADJUST_MODE_FIT
parent: "infinity_scroll_stencil_dynamic_hor"
layer: ""
inherit_alpha: true
slice9 {
x: 0.0
y: 0.0
z: 0.0
w: 0.0
}
clipping_mode: CLIPPING_MODE_NONE
clipping_visible: true
clipping_inverted: false
alpha: 1.0
template_node_child: false
size_mode: SIZE_MODE_MANUAL
}
nodes {
position {
x: 150.0
y: -820.0
z: 0.0
w: 1.0
}
rotation {
x: 0.0
y: 0.0
z: 0.0
w: 1.0
}
scale {
x: 1.0
y: 1.0
z: 1.0
w: 1.0
}
size {
x: 200.0
y: 60.0
z: 0.0
w: 1.0
@@ -12391,7 +12493,7 @@ nodes {
type: TYPE_BOX
blend_mode: BLEND_MODE_ALPHA
texture: "kenney/button_blue"
id: "infinity_prefab_dynamic"
id: "infinity_prefab"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE
pivot: PIVOT_CENTER
@@ -12432,7 +12534,7 @@ nodes {
w: 1.0
}
size {
x: 380.0
x: 200.0
y: 50.0
z: 0.0
w: 1.0
@@ -12445,7 +12547,125 @@ nodes {
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "Dynamic element 1"
text: "Record 1"
font: "game"
id: "infinity_text"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE
pivot: PIVOT_CENTER
outline {
x: 0.3019608
y: 0.4
z: 0.8
w: 1.0
}
shadow {
x: 1.0
y: 1.0
z: 1.0
w: 1.0
}
adjust_mode: ADJUST_MODE_FIT
line_break: false
parent: "infinity_prefab"
layer: ""
inherit_alpha: true
alpha: 1.0
outline_alpha: 1.0
shadow_alpha: 0.0
template_node_child: false
text_leading: 1.0
text_tracking: 0.0
}
nodes {
position {
x: 151.0
y: -356.0
z: 0.0
w: 1.0
}
rotation {
x: 0.0
y: 0.0
z: 0.0
w: 1.0
}
scale {
x: 1.0
y: 1.0
z: 1.0
w: 1.0
}
size {
x: 200.0
y: 60.0
z: 0.0
w: 1.0
}
color {
x: 1.0
y: 1.0
z: 1.0
w: 1.0
}
type: TYPE_BOX
blend_mode: BLEND_MODE_ALPHA
texture: "kenney/button_blue"
id: "infinity_prefab_dynamic"
xanchor: XANCHOR_NONE
yanchor: YANCHOR_NONE
pivot: PIVOT_CENTER
adjust_mode: ADJUST_MODE_FIT
parent: "infinity_page_content"
layer: ""
inherit_alpha: true
slice9 {
x: 20.0
y: 10.0
z: 20.0
w: 20.0
}
clipping_mode: CLIPPING_MODE_NONE
clipping_visible: true
clipping_inverted: false
alpha: 1.0
template_node_child: false
size_mode: SIZE_MODE_MANUAL
}
nodes {
position {
x: 0.0
y: 4.0
z: 0.0
w: 1.0
}
rotation {
x: 0.0
y: 0.0
z: 0.0
w: 1.0
}
scale {
x: 0.75
y: 0.75
z: 1.0
w: 1.0
}
size {
x: 200.0
y: 50.0
z: 0.0
w: 1.0
}
color {
x: 1.0
y: 1.0
z: 1.0
w: 1.0
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "Dynamic 1"
font: "game"
id: "infinity_text_dynamic"
xanchor: XANCHOR_NONE