Done
This commit is contained in:
70
main.tscn
Normal file
70
main.tscn
Normal file
@ -0,0 +1,70 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cqow47bch5ocs"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dt2ofan62emnk" path="res://main.gd" id="1_0xm2m"]
|
||||
[ext_resource type="AudioStream" uid="uid://vegkxr74brv2" path="res://mmm_a_ghoul.mp3" id="2_h2yge"]
|
||||
[ext_resource type="Texture2D" uid="uid://d2ek6888id3jf" path="res://revenant.png" id="3_h2yge"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7dm0k"]
|
||||
bg_color = Color(0.11372549, 0.11372549, 0.11372549, 1)
|
||||
corner_radius_top_left = 7
|
||||
corner_radius_top_right = 7
|
||||
corner_radius_bottom_right = 7
|
||||
corner_radius_bottom_left = 7
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ig7tw"]
|
||||
bg_color = Color(0.11372549, 0.11372549, 0.11372549, 1)
|
||||
corner_radius_top_left = 7
|
||||
corner_radius_top_right = 7
|
||||
corner_radius_bottom_right = 7
|
||||
corner_radius_bottom_left = 7
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_0xm2m"]
|
||||
bg_color = Color(0.20634, 0.20634, 0.20634, 1)
|
||||
corner_radius_top_left = 7
|
||||
corner_radius_top_right = 7
|
||||
corner_radius_bottom_right = 7
|
||||
corner_radius_bottom_left = 7
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_0xm2m")
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 7
|
||||
anchor_left = 0.5
|
||||
anchor_top = 1.0
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -217.5
|
||||
offset_top = -287.745
|
||||
offset_right = 217.5
|
||||
offset_bottom = -33.745605
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
theme_override_colors/font_color = Color(0.875, 0.875, 0.875, 1)
|
||||
theme_override_colors/font_pressed_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_outline_color = Color(0.5990984, 0.48710054, 0.6449705, 1)
|
||||
theme_override_constants/outline_size = 20
|
||||
theme_override_font_sizes/font_size = 90
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_7dm0k")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_ig7tw")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_0xm2m")
|
||||
action_mode = 0
|
||||
text = "Press me"
|
||||
|
||||
[node name="mmm" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("2_h2yge")
|
||||
|
||||
[node name="Ghoul" type="Sprite2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(943.00006, 439)
|
||||
scale = Vector2(0.42384288, 0.42384285)
|
||||
texture = ExtResource("3_h2yge")
|
||||
|
||||
[connection signal="button_down" from="Button" to="." method="_on_button_button_down"]
|
||||
Reference in New Issue
Block a user