From 97cd918f519d40977f7ec4a4e3abe3c161c46d7d Mon Sep 17 00:00:00 2001 From: Harmony Honey Date: Mon, 27 Nov 2023 01:06:40 -0500 Subject: [PATCH] death counter wip (: --- media/image/skull.png | Bin 0 -> 133 bytes src/menu/select.tscn | 33 ++++++++++++++++++++++++++++----- 2 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 media/image/skull.png diff --git a/media/image/skull.png b/media/image/skull.png new file mode 100644 index 0000000000000000000000000000000000000000..322b22f4b2e9993ff2f498b3d94adc4d37330edb GIT binary patch literal 133 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=$1|-8uW1a&k#^NA%Cx&(BWL^R}_MR?|AsQ3U z_F3~WC~!D;fBY9-=O^XDtR3s&TpwgTL!BXh;?0YZs(s65+A`McQt8e5Ed0#VOxrB> e#<7aoNsKSo$uRw}ZvGE6iow&>&t;ucLK6VmL@4wC literal 0 HcmV?d00001 diff --git a/src/menu/select.tscn b/src/menu/select.tscn index 3968f7b..46d194b 100644 --- a/src/menu/select.tscn +++ b/src/menu/select.tscn @@ -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 +}