|
@@ -1,4 +1,4 @@
|
1
|
|
-[gd_scene load_steps=25 format=2]
|
|
1
|
+[gd_scene load_steps=26 format=2]
|
2
|
2
|
|
3
|
3
|
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run7.png" type="Texture" id=1]
|
4
|
4
|
[ext_resource path="res://mini-game/ressources/sprites/player/dino/dino_run5.png" type="Texture" id=2]
|
|
@@ -21,6 +21,7 @@
|
21
|
21
|
[ext_resource path="res://mini-game/ressources/sprites/player/man/6.png" type="Texture" id=19]
|
22
|
22
|
[ext_resource path="res://mini-game/ressources/sprites/player/man/7.png" type="Texture" id=20]
|
23
|
23
|
[ext_resource path="res://mini-game/ressources/sprites/player/man/9_1.png" type="Texture" id=21]
|
|
24
|
+[ext_resource path="res://mini-game/ressources/sprites/plus1.png" type="Texture" id=22]
|
24
|
25
|
|
25
|
26
|
[sub_resource type="SpriteFrames" id=1]
|
26
|
27
|
animations = [ {
|
|
@@ -72,5 +73,30 @@ position = Vector2( -0.0400658, 9.23466 )
|
72
|
73
|
scale = Vector2( 0.609429, 0.281311 )
|
73
|
74
|
shape = SubResource( 3 )
|
74
|
75
|
|
|
76
|
+[node name="BonusControl" type="Control" parent="."]
|
|
77
|
+margin_right = 40.0
|
|
78
|
+margin_bottom = 40.0
|
|
79
|
+__meta__ = {
|
|
80
|
+"_edit_use_anchors_": false
|
|
81
|
+}
|
|
82
|
+
|
|
83
|
+[node name="TextureRect" type="TextureRect" parent="BonusControl"]
|
|
84
|
+margin_left = -10.7864
|
|
85
|
+margin_top = -26.3001
|
|
86
|
+margin_right = 10.2136
|
|
87
|
+margin_bottom = -11.3001
|
|
88
|
+texture = ExtResource( 22 )
|
|
89
|
+expand = true
|
|
90
|
+stretch_mode = 6
|
|
91
|
+__meta__ = {
|
|
92
|
+"_edit_use_anchors_": false
|
|
93
|
+}
|
|
94
|
+
|
|
95
|
+[node name="Tween" type="Tween" parent="BonusControl"]
|
|
96
|
+
|
|
97
|
+[node name="Timer" type="Timer" parent="BonusControl"]
|
|
98
|
+wait_time = 1.5
|
|
99
|
+
|
75
|
100
|
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
|
76
|
101
|
[connection signal="body_exited" from="Area2D" to="." method="_on_Area2D_body_exited"]
|
|
102
|
+[connection signal="timeout" from="BonusControl/Timer" to="." method="_on_Timer_timeout"]
|