Skip to content

Commit 755e1e4

Browse files
Merge pull request #3 from murikistudio/leave-animations
Leave animations
2 parents 10e2d8f + d4ef8e6 commit 755e1e4

File tree

4 files changed

+91
-79
lines changed

4 files changed

+91
-79
lines changed

addons/simple-gui-transitions/example/layout_1.tscn

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ script = ExtResource( 1 )
1212

1313
[node name="GuiTransition" type="Node" parent="."]
1414
script = ExtResource( 2 )
15+
animation_enter = 0
16+
animation_leave = 1
1517
layout_id = "Layout1"
16-
animation = 0
17-
duration = 0.5
18-
_layout = NodePath("..")
19-
_group = NodePath("../HBoxContainer/VBoxContainer")
20-
delay = 0.1
18+
layout = NodePath("..")
19+
group = NodePath("../HBoxContainer/VBoxContainer")
2120
center_pivot = true
2221

2322
[node name="HBoxContainer" type="HBoxContainer" parent="."]

addons/simple-gui-transitions/example/layout_2.tscn

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ script = ExtResource( 1 )
1212

1313
[node name="GuiTransition" type="Node" parent="."]
1414
script = ExtResource( 2 )
15+
animation_enter = 6
16+
animation_leave = 7
1517
layout_id = "Layout2"
16-
animation = 6
17-
duration = 0.5
18-
_layout = NodePath("..")
19-
_group = NodePath("../HBoxContainer/VBoxContainer")
20-
delay = 0.1
18+
layout = NodePath("..")
19+
group = NodePath("../HBoxContainer/VBoxContainer")
2120
center_pivot = true
2221

2322
[node name="HBoxContainer" type="HBoxContainer" parent="."]

addons/simple-gui-transitions/plugin.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
name="Simple GUI Transitions"
44
description="Simple GUI transitions to swap between menus elegantly."
55
author="Joel Gomes (joelgomes1994)"
6-
version="0.0.3"
6+
version="0.0.4"
77
script="plugin.gd"

0 commit comments

Comments
 (0)