small ui update

main
Just Dzhi 2023-10-02 22:02:06 +04:00
parent 7ef466397a
commit d11bfe5d22
2 changed files with 27 additions and 4 deletions

View File

@ -10,7 +10,8 @@ config_version=4
[application] [application]
config/name="LD54" config/name="Long Night"
config/description="Game made for Ludum Dare 54 by iLunaiLuna, Manskage and JustDzhi"
run/main_scene="res://src/scenes/menu/Menu.tscn" run/main_scene="res://src/scenes/menu/Menu.tscn"
boot_splash/show_image=false boot_splash/show_image=false
boot_splash/bg_color=Color( 0, 0, 0, 1 ) boot_splash/bg_color=Color( 0, 0, 0, 1 )

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=26 format=2] [gd_scene load_steps=27 format=2]
[ext_resource path="res://src/scenes/menu/background/background.png" type="Texture" id=1] [ext_resource path="res://src/scenes/menu/background/background.png" type="Texture" id=1]
[ext_resource path="res://src/scenes/game/sprites/background_houses.png" type="Texture" id=2] [ext_resource path="res://src/scenes/game/sprites/background_houses.png" type="Texture" id=2]
@ -21,6 +21,7 @@
[ext_resource path="res://src/scenes/game/sprites/stun/stun_placeholder_spriteframes.tres" type="SpriteFrames" id=19] [ext_resource path="res://src/scenes/game/sprites/stun/stun_placeholder_spriteframes.tres" type="SpriteFrames" id=19]
[ext_resource path="res://src/scenes/game/camera.gd" type="Script" id=20] [ext_resource path="res://src/scenes/game/camera.gd" type="Script" id=20]
[ext_resource path="res://src/scenes/game/sprites/shake_border.png" type="Texture" id=21] [ext_resource path="res://src/scenes/game/sprites/shake_border.png" type="Texture" id=21]
[ext_resource path="res://src/scenes/game/sprites/damage.png" type="Texture" id=22]
[sub_resource type="RectangleShape2D" id=2] [sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 10, 60 ) extents = Vector2( 10, 60 )
@ -245,19 +246,40 @@ margin_right = 40.0
margin_bottom = 40.0 margin_bottom = 40.0
[node name="CastTime" type="Control" parent="UIWrapper/UI/Right"] [node name="CastTime" type="Control" parent="UIWrapper/UI/Right"]
margin_top = 4.0
margin_right = 40.0 margin_right = 40.0
margin_bottom = 40.0 margin_bottom = 44.0
[node name="CastTime" type="Sprite" parent="UIWrapper/UI/Right/CastTime"] [node name="CastTime" type="Sprite" parent="UIWrapper/UI/Right/CastTime"]
position = Vector2( 256, 140 ) position = Vector2( 256, 140 )
texture = ExtResource( 7 ) texture = ExtResource( 7 )
[node name="CastTimeLabel" type="Label" parent="UIWrapper/UI/Right/CastTime"]
modulate = Color( 1, 0.870588, 0, 1 )
margin_left = 266.0
margin_top = 133.0
margin_right = 306.0
margin_bottom = 147.0
theme = ExtResource( 4 )
text = "0.8"
[node name="Damage" type="Control" parent="UIWrapper/UI/Right"] [node name="Damage" type="Control" parent="UIWrapper/UI/Right"]
margin_top = 1.0
margin_right = 40.0 margin_right = 40.0
margin_bottom = 40.0 margin_bottom = 41.0
[node name="Damage" type="Sprite" parent="UIWrapper/UI/Right/Damage"] [node name="Damage" type="Sprite" parent="UIWrapper/UI/Right/Damage"]
position = Vector2( 256, 160 ) position = Vector2( 256, 160 )
texture = ExtResource( 22 )
[node name="DamageLabel" type="Label" parent="UIWrapper/UI/Right/Damage"]
modulate = Color( 1, 0.870588, 0, 1 )
margin_left = 266.0
margin_top = 153.0
margin_right = 306.0
margin_bottom = 167.0
theme = ExtResource( 4 )
text = "15"
[node name="Cards" type="Control" parent="UIWrapper/UI"] [node name="Cards" type="Control" parent="UIWrapper/UI"]
visible = false visible = false