-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/mindty-kollektiv/tdme2
- Loading branch information
Showing
9 changed files
with
144 additions
and
152 deletions.
There are no files selected for viewing
42 changes: 18 additions & 24 deletions
42
resources/engine/gui/template_animationgraph_node_animation.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,33 @@ | ||
<template> | ||
|
||
<template> | ||
|
||
<template id="{$id}" src="resources/engine/gui/template_visualcode_node.xml" node-name="Animation" node-type-color="{$node-type-color}"> | ||
|
||
<!-- input container --> | ||
<layout alignment="horizontal" width="100%" height="auto"> | ||
|
||
<!-- input container --> | ||
<layout id="{$id}_input_container" alignment="vertical" width="85%" height="auto"> | ||
|
||
<layout alignment="vertical" width="85%" height="auto"> | ||
<template | ||
id="dropdown_animation" | ||
id="{$id}_dropdown" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
on-initialize="dropdown_animation_input_type_panel.condition=dropdown" | ||
on-initialize="{$id}_dropdown_input_type_panel.condition=dropdown" | ||
/> | ||
|
||
<template | ||
id="progressbar_animation" | ||
id="{$id}_progressbar" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
on-initialize="progressbar_animation_input_type_panel.condition=progressbar" | ||
on-initialize="{$id}_progressbar_input_type_panel.condition=progressbar" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
<!-- output container --> | ||
<layout id="{$id}_output_container" alignment="vertical" width="15%" height="auto"> | ||
|
||
</layout> | ||
<layout alignment="vertical" width="15%" height="auto"> | ||
<template | ||
id="output1" | ||
id="{$id}_output" | ||
src="resources/engine/gui/template_visualcode_output.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
</layout> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
</template> | ||
|
||
</template> |
42 changes: 23 additions & 19 deletions
42
resources/engine/gui/template_animationgraph_node_blend.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
<template> | ||
|
||
<template id="{$id}" src="resources/engine/gui/template_visualcode_node.xml" node-name="Blend" node-type-color="{$node-type-color}"> | ||
|
||
<!-- base --> | ||
<layout alignment="horizontal" width="100%" height="auto"> | ||
|
||
<!-- input container --> | ||
<layout id="{$id}_input_container" alignment="vertical" width="85%" height="auto"> | ||
|
||
<layout alignment="vertical" width="85%" height="auto"> | ||
<template | ||
id="base" | ||
id="{$id}_input" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
|
||
text="Base" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
<!-- output container --> | ||
<layout id="{$id}_output_container" alignment="vertical" width="15%" height="auto"> | ||
|
||
/> | ||
</layout> | ||
<layout alignment="vertical" width="15%" height="auto"> | ||
<template | ||
id="output" | ||
id="{$id}_output" | ||
src="resources/engine/gui/template_visualcode_output.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
/> | ||
|
||
/> | ||
</layout> | ||
<!-- --------------- --> | ||
|
||
</layout> | ||
</layout> | ||
<!-- --------------- --> | ||
|
||
<!-- first blend input --> | ||
<template | ||
id="{$id}_blendinput1" | ||
src="resources/engine/gui/template_animationgraph_blendinput.xml" | ||
|
||
text="Blend 1" | ||
/> | ||
<!-- --------------- --> | ||
|
||
</template> | ||
|
||
</template> |
40 changes: 17 additions & 23 deletions
40
resources/engine/gui/template_animationgraph_node_blendspace.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,45 @@ | ||
<template> | ||
|
||
<layout alignment="horizontal" width="100%" height="auto"> | ||
|
||
<!-- input container --> | ||
<layout id="{$id}_input_container" alignment="vertical" width="85%" height="auto"> | ||
|
||
<template id="{$id}" src="resources/engine/gui/template_visualcode_node.xml" node-name="Blend Space 2D" node-type-color="{$node-type-color}"> | ||
|
||
<!-- ----------- --> | ||
<layout alignment="horizontal" width="100%" height="auto"> | ||
<layout alignment="vertical" width="85%" height="auto"> | ||
<template | ||
id="input_x" | ||
id="{$id}_inputx" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
on-initialize="input_x_input_type_panel.condition=input" | ||
on-initialize="{$id}_inputx_input_type_panel.condition=input" | ||
|
||
text="X" | ||
|
||
input_text="1" | ||
input_unit="" | ||
input_options="" | ||
/> | ||
|
||
<template | ||
id="input_y" | ||
id="{$id}_inputy" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
on-initialize="input_y_input_type_panel.condition=input" | ||
on-initialize="{$id}_inputy_input_type_panel.condition=input" | ||
|
||
text="Y" | ||
|
||
input_text="1" | ||
input_unit="" | ||
input_options="" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
<!-- output container --> | ||
<layout id="{$id}_output_container" alignment="vertical" width="15%" height="auto"> | ||
|
||
</layout> | ||
<layout alignment="vertical" width="15%" height="auto"> | ||
<template | ||
id="output1" | ||
id="{$id}_output" | ||
src="resources/engine/gui/template_visualcode_output.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
</layout> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
</template> | ||
|
||
</template> |
23 changes: 23 additions & 0 deletions
23
resources/engine/gui/template_animationgraph_node_output.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<template> | ||
|
||
<template id="{$id}" src="resources/engine/gui/template_visualcode_node.xml" node-name="Output" node-type-color="{$node-type-color}"> | ||
|
||
<!-- base --> | ||
<layout alignment="horizontal" width="100%" height="auto"> | ||
<layout alignment="vertical" width="85%" height="auto"> | ||
<template | ||
id="{$id}_input" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
|
||
text="In" | ||
/> | ||
</layout> | ||
</layout> | ||
<!-- --------------- --> | ||
|
||
</template> | ||
|
||
</template> |
38 changes: 16 additions & 22 deletions
38
resources/engine/gui/template_animationgraph_node_speedscale.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,43 @@ | ||
<template> | ||
|
||
|
||
<template id="{$id}" src="resources/engine/gui/template_visualcode_node.xml" node-name="Speed Scale" node-type-color="{$node-type-color}"> | ||
|
||
<!-- ----------- --> | ||
<layout alignment="horizontal" width="100%" height="auto"> | ||
|
||
<!-- input container --> | ||
<layout id="{$id}_input_container" alignment="vertical" width="85%" height="auto"> | ||
|
||
<layout alignment="vertical" width="85%" height="auto"> | ||
<template | ||
id="base" | ||
id="{$id}_input" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
|
||
text="In" | ||
/> | ||
|
||
<template | ||
id="speed" | ||
id="{$id}_speed" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
on-initialize="speed_input_type_panel.condition=input" | ||
on-initialize="{$id}_speed_input_type_panel.condition=input" | ||
|
||
text="Scale" | ||
|
||
input_text="1.00" | ||
input_options="type=float,,step=0.01,decimals=2" | ||
input_image="resources/engine/images/inputslider.png" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
<!-- output container --> | ||
<layout id="{$id}_output_container" alignment="vertical" width="15%" height="auto"> | ||
|
||
</layout> | ||
<layout alignment="vertical" width="15%" height="auto"> | ||
<template | ||
id="output1" | ||
id="{$id}_output" | ||
src="resources/engine/gui/template_visualcode_output.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
</layout> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
</template> | ||
|
||
</template> |
40 changes: 17 additions & 23 deletions
40
resources/engine/gui/template_animationgraph_node_statemachine.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,33 @@ | ||
<template> | ||
|
||
|
||
<template id="{$id}" src="resources/engine/gui/template_visualcode_node.xml" node-name="State Machine" node-type-color="{$node-type-color}"> | ||
|
||
<!-- ----------- --> | ||
<layout alignment="horizontal" width="100%" height="auto"> | ||
|
||
<!-- input container --> | ||
<layout id="{$id}_input_container" alignment="vertical" width="85%" height="auto"> | ||
|
||
<layout alignment="vertical" width="85%" height="auto"> | ||
<template | ||
id="dropdown_state" | ||
id="{$id}_dropdown" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
on-initialize="dropdown_state_input_type_panel.condition=dropdown" | ||
on-initialize="{$id}_dropdown_input_type_panel.condition=dropdown" | ||
/> | ||
|
||
<template | ||
id="progressbar_state" | ||
id="{$id}_progressbar" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
on-initialize="progressbar_state_input_type_panel.condition=progressbar" | ||
on-initialize="{$id}_progressbar_input_type_panel.condition=progressbar" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
<!-- output container --> | ||
<layout id="{$id}_output_container" alignment="vertical" width="15%" height="auto"> | ||
|
||
</layout> | ||
<layout alignment="vertical" width="15%" height="auto"> | ||
<template | ||
id="output1" | ||
id="{$id}_output" | ||
src="resources/engine/gui/template_visualcode_output.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
</layout> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
</template> | ||
|
||
</template> |
47 changes: 27 additions & 20 deletions
47
resources/engine/gui/template_animationgraph_node_transition.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,42 @@ | ||
<template> | ||
|
||
|
||
<template id="{$id}" src="resources/engine/gui/template_visualcode_node.xml" node-name="Transition" node-type-color="{$node-type-color}"> | ||
|
||
<!-- base --> | ||
<layout alignment="horizontal" width="100%" height="auto"> | ||
|
||
<!-- input container --> | ||
<layout id="{$id}_input_container" alignment="vertical" width="85%" height="auto"> | ||
|
||
<layout alignment="vertical" width="85%" height="auto"> | ||
<template | ||
id="dropdown_state" | ||
id="{$id}_dropdown" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
on-initialize="dropdown_state_input_type_panel.condition=dropdown" | ||
on-initialize="{$id}_dropdown_input_type_panel.condition=dropdown" | ||
|
||
text="Current" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
<!-- output container --> | ||
<layout id="{$id}_output_container" alignment="vertical" width="15%" height="auto"> | ||
|
||
</layout> | ||
<layout alignment="vertical" width="15%" height="auto"> | ||
<template | ||
id="output1" | ||
id="{$id}_output" | ||
src="resources/engine/gui/template_visualcode_output.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
/> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
</layout> | ||
|
||
</layout> | ||
<!-- --------------- --> | ||
|
||
<!-- first state input --> | ||
<template | ||
id="{$id}_state1" | ||
src="resources/engine/gui/template_visualcode_input.xml" | ||
|
||
pin_type_connected="resources/engine/images/visualcode_flow_connected.png" | ||
pin_type_unconnected="resources/engine/images/visualcode_flow_unconnected.png" | ||
|
||
text="State 1" | ||
/> | ||
<!-- --------------- --> | ||
|
||
</template> | ||
|
||
</template> |
Oops, something went wrong.