-
Notifications
You must be signed in to change notification settings - Fork 2
/
World.tscn
38 lines (31 loc) · 1.26 KB
/
World.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Assets/GUI/StatusBar/StatusBar.tscn" type="PackedScene" id=2]
[ext_resource path="res://Assets/GUI/ActionIcon/Arrow.png" type="Texture" id=3]
[ext_resource path="res://Assets/GUI/GUI.gd" type="Script" id=4]
[ext_resource path="res://World.gd" type="Script" id=6]
[ext_resource path="res://GUI.gd" type="Script" id=7]
[node name="World" type="Node"]
script = ExtResource( 6 )
[node name="GUI" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Action" type="MarginContainer" parent="GUI"]
margin_left = 100.0
margin_top = 100.0
margin_right = 140.0
margin_bottom = 140.0
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Proposed Action" type="Sprite" parent="GUI/Action"]
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 3 )
[node name="StatusBar" parent="GUI" instance=ExtResource( 2 )]
[connection signal="set_status_bars" from="GUI" to="GUI/StatusBar" method="_on_GUI_set_status_bars"]
[connection signal="update_health_bar" from="GUI" to="GUI/StatusBar" method="_on_GUI_update_health_bar"]
[connection signal="update_mana_bar" from="GUI" to="GUI/StatusBar" method="_on_GUI_update_mana_bar"]