This commit is contained in:
MarcEricMartel 2023-01-15 15:14:17 -05:00
parent bce313c1d3
commit a7fbf53ba0
3 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,6 @@ anchor_bottom = 1.0
script = ExtResource("1_ui55j") script = ExtResource("1_ui55j")
[node name="ColorRect" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 0
offset_right = 1901.0 offset_right = 1901.0
offset_bottom = 1146.0 offset_bottom = 1146.0
color = Color(0, 0, 0, 1) color = Color(0, 0, 0, 1)

View File

@ -4,6 +4,6 @@ uniform float fill;
void fragment() { void fragment() {
if ((fill + 0.5) * 0.5 >= 1.0 - UV.y) 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); else COLOR = texture(TEXTURE, UV);
} }

View File

@ -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="Texture2D" uid="uid://cg848qjc4fxi" path="res://Images/Main_menu.png" id="1_65g7h"]
[ext_resource type="Script" path="res://start.gd" id="1_exncb"] [ext_resource type="Script" path="res://start.gd" id="1_exncb"]