death counter wip (:

This commit is contained in:
Harmony Honey 2023-11-27 01:06:40 -05:00
parent 8dbf257673
commit 97cd918f51
2 changed files with 28 additions and 5 deletions

BIN
media/image/skull.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 B

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=14 format=2]
[gd_scene load_steps=15 format=2]
[ext_resource path="res://media/image/corner.png" type="Texture" id=1]
[ext_resource path="res://media/font/QuinqueFive.ttf" type="DynamicFontData" id=2]
@ -10,6 +10,7 @@
[ext_resource path="res://media/audio/sfx/Randomize104.wav" type="AudioStream" id=8]
[ext_resource path="res://media/audio/sfx/portal7.wav" type="AudioStream" id=9]
[ext_resource path="res://media/image/menu.png" type="Texture" id=10]
[ext_resource path="res://media/image/skull.png" type="Texture" id=11]
[sub_resource type="DynamicFont" id=4]
size = 5
@ -78,8 +79,10 @@ tracks/3/keys = {
}
[node name="Node2D" type="Node2D"]
position = Vector2( 1, 1 )
script = ExtResource( 7 )
__meta__ = {
"_edit_lock_": true
}
[node name="AudioScroll" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
@ -97,13 +100,13 @@ bus = "SFX"
[node name="Control" type="Control" parent="."]
margin_right = 320.0
margin_bottom = 180.0
__meta__ = {
"_edit_lock_": true
}
[node name="Screens" type="Control" parent="Control"]
margin_right = 40.0
margin_bottom = 40.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Screen" type="Control" parent="Control"]
margin_left = 110.0
@ -164,6 +167,23 @@ grow_horizontal = 2
custom_fonts/font = SubResource( 4 )
text = "12:34"
[node name="Death" type="Control" parent="Control/Screen/Overlay"]
[node name="Clock" type="Sprite" parent="Control/Screen/Overlay/Death"]
material = SubResource( 3 )
position = Vector2( 8, 7 )
texture = ExtResource( 11 )
region_rect = Rect2( 15, 7, 10, 10 )
[node name="Label" type="Label" parent="Control/Screen/Overlay/Death"]
margin_left = 15.0
margin_top = 5.0
margin_right = 100.0
margin_bottom = 10.0
grow_horizontal = 2
custom_fonts/font = SubResource( 4 )
text = "75"
[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2( 160, 90 )
current = true
@ -204,3 +224,6 @@ layer = -1
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.160784, 0.678431, 1, 1 )
__meta__ = {
"_edit_lock_": true
}