source: Studio/Dead_Popup.tscn@ ef2ca13

sandbox
Last change on this file since ef2ca13 was 994b0da, checked in by Kevin Chapman <victory2b@…>, 3 years ago

(WIP) Got dead menu to show up, but it does not show the mouse even though the code is the same as other menus that work.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1[gd_scene load_steps=3 format=2]
2
3[ext_resource path="res://assets/Titillium-Regular.otf" type="DynamicFontData" id=1]
4
5[sub_resource type="DynamicFont" id=1]
6size = 32
7use_filter = true
8font_data = ExtResource( 1 )
9
10[node name="Dead_Popup" type="WindowDialog"]
11pause_mode = 2
12anchor_left = 0.5
13anchor_top = 0.5
14anchor_right = 0.5
15anchor_bottom = 0.5
16margin_left = -140.0
17margin_top = -115.0
18margin_right = 140.0
19margin_bottom = 115.0
20rect_min_size = Vector2( 280, 230 )
21custom_fonts/title_font = SubResource( 1 )
22__meta__ = {
23"_edit_use_anchors_": false
24}
25
26[node name="Button_respawn" type="Button" parent="."]
27anchor_left = 0.5
28anchor_top = 1.0
29anchor_right = 0.5
30anchor_bottom = 1.0
31margin_left = -128.0
32margin_top = -134.0
33margin_right = 132.0
34margin_bottom = -74.0
35custom_fonts/font = SubResource( 1 )
36text = "Respawn"
37__meta__ = {
38"_edit_use_anchors_": false
39}
40
41[node name="Button_quit" type="Button" parent="."]
42anchor_left = 0.5
43anchor_top = 1.0
44anchor_right = 0.5
45anchor_bottom = 1.0
46margin_left = -130.0
47margin_top = -69.0
48margin_right = 130.0
49margin_bottom = -9.0
50custom_fonts/font = SubResource( 1 )
51text = "Quit to title"
52
53[node name="Label" type="Label" parent="."]
54anchor_left = 0.5
55anchor_right = 0.5
56margin_left = -140.0
57margin_right = 140.0
58margin_bottom = 80.0
59custom_fonts/font = SubResource( 1 )
60custom_colors/font_color = Color( 0.767365, 0.753906, 1, 1 )
61custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
62custom_constants/shadow_offset_x = 2
63custom_constants/shadow_offset_y = 2
64text = "You Are Dead"
65align = 1
66valign = 1
67__meta__ = {
68"_edit_use_anchors_": false
69}
70[connection signal="hide" from="." to="." method="_on_Dead_Popup_hide"]
71[connection signal="visibility_changed" from="." to="." method="_on_Dead_Popup_visibility_changed"]
Note: See TracBrowser for help on using the repository browser.