From a7fbf53ba0b2ba27dfb571d6265c44a48e62a74a Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Sun, 15 Jan 2023 15:14:17 -0500 Subject: [PATCH] ! --- YouWin.tscn | 1 - hud.gdshader | 2 +- start.tscn | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/YouWin.tscn b/YouWin.tscn index f572a71..492c298 100644 --- a/YouWin.tscn +++ b/YouWin.tscn @@ -11,7 +11,6 @@ anchor_bottom = 1.0 script = ExtResource("1_ui55j") [node name="ColorRect" type="ColorRect" parent="."] -layout_mode = 0 offset_right = 1901.0 offset_bottom = 1146.0 color = Color(0, 0, 0, 1) diff --git a/hud.gdshader b/hud.gdshader index f8d81eb..962bace 100644 --- a/hud.gdshader +++ b/hud.gdshader @@ -4,6 +4,6 @@ uniform float fill; void fragment() { if ((fill + 0.5) * 0.5 >= 1.0 - UV.y) - COLOR = vec4(0.1, 0.4, 0.4, texture(TEXTURE, UV).a); + COLOR = vec4(1, 1, 0.1, texture(TEXTURE, UV).a); else COLOR = texture(TEXTURE, UV); } diff --git a/start.tscn b/start.tscn index de1faed..1e5e8fe 100644 --- a/start.tscn +++ b/start.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=4 format=3 uid="uid://c58wsmkklb7wq"] +[gd_scene load_steps=4 format=3 uid="uid://d25c4ey6gvduc"] [ext_resource type="Texture2D" uid="uid://cg848qjc4fxi" path="res://Images/Main_menu.png" id="1_65g7h"] [ext_resource type="Script" path="res://start.gd" id="1_exncb"]