sandbox
Last change
on this file since 49e3bfa 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]
|
---|
6 | size = 32
|
---|
7 | use_filter = true
|
---|
8 | font_data = ExtResource( 1 )
|
---|
9 |
|
---|
10 | [node name="Dead_Popup" type="WindowDialog"]
|
---|
11 | pause_mode = 2
|
---|
12 | anchor_left = 0.5
|
---|
13 | anchor_top = 0.5
|
---|
14 | anchor_right = 0.5
|
---|
15 | anchor_bottom = 0.5
|
---|
16 | margin_left = -140.0
|
---|
17 | margin_top = -115.0
|
---|
18 | margin_right = 140.0
|
---|
19 | margin_bottom = 115.0
|
---|
20 | rect_min_size = Vector2( 280, 230 )
|
---|
21 | custom_fonts/title_font = SubResource( 1 )
|
---|
22 | __meta__ = {
|
---|
23 | "_edit_use_anchors_": false
|
---|
24 | }
|
---|
25 |
|
---|
26 | [node name="Button_respawn" type="Button" parent="."]
|
---|
27 | anchor_left = 0.5
|
---|
28 | anchor_top = 1.0
|
---|
29 | anchor_right = 0.5
|
---|
30 | anchor_bottom = 1.0
|
---|
31 | margin_left = -128.0
|
---|
32 | margin_top = -134.0
|
---|
33 | margin_right = 132.0
|
---|
34 | margin_bottom = -74.0
|
---|
35 | custom_fonts/font = SubResource( 1 )
|
---|
36 | text = "Respawn"
|
---|
37 | __meta__ = {
|
---|
38 | "_edit_use_anchors_": false
|
---|
39 | }
|
---|
40 |
|
---|
41 | [node name="Button_quit" type="Button" parent="."]
|
---|
42 | anchor_left = 0.5
|
---|
43 | anchor_top = 1.0
|
---|
44 | anchor_right = 0.5
|
---|
45 | anchor_bottom = 1.0
|
---|
46 | margin_left = -130.0
|
---|
47 | margin_top = -69.0
|
---|
48 | margin_right = 130.0
|
---|
49 | margin_bottom = -9.0
|
---|
50 | custom_fonts/font = SubResource( 1 )
|
---|
51 | text = "Quit to title"
|
---|
52 |
|
---|
53 | [node name="Label" type="Label" parent="."]
|
---|
54 | anchor_left = 0.5
|
---|
55 | anchor_right = 0.5
|
---|
56 | margin_left = -140.0
|
---|
57 | margin_right = 140.0
|
---|
58 | margin_bottom = 80.0
|
---|
59 | custom_fonts/font = SubResource( 1 )
|
---|
60 | custom_colors/font_color = Color( 0.767365, 0.753906, 1, 1 )
|
---|
61 | custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
|
---|
62 | custom_constants/shadow_offset_x = 2
|
---|
63 | custom_constants/shadow_offset_y = 2
|
---|
64 | text = "You Are Dead"
|
---|
65 | align = 1
|
---|
66 | valign = 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.