This commit is contained in:
MarcEricMartel 2023-01-15 13:05:48 -05:00
parent 783d95c073
commit 39918ccc8f
7 changed files with 119 additions and 1 deletions

BIN
Images/Game_Over.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cyodm2ixiok7d"
path="res://.godot/imported/Game_Over.png-f6e0f3988ac7774c24bc862835601e22.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Images/Game_Over.png"
dest_files=["res://.godot/imported/Game_Over.png-f6e0f3988ac7774c24bc862835601e22.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Images/Main_menu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cg848qjc4fxi"
path="res://.godot/imported/Main_menu.png-3e8660654628c151fb727654c0e26bd7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Images/Main_menu.png"
dest_files=["res://.godot/imported/Main_menu.png-3e8660654628c151fb727654c0e26bd7.ctex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -11,7 +11,7 @@ config_version=5
[application] [application]
config/name="GameJam-Vanier" config/name="GameJam-Vanier"
run/main_scene="res://test_level001.tscn" run/main_scene="res://start.tscn"
config/features=PackedStringArray("4.0", "C#", "Forward Plus") config/features=PackedStringArray("4.0", "C#", "Forward Plus")
config/icon="res://icon.svg" config/icon="res://icon.svg"

15
start.gd Normal file
View File

@ -0,0 +1,15 @@
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass
func _on_button_pressed():
get_tree().change_scene_to_file("res://Levels/level.tscn");

35
start.tscn Normal file
View File

@ -0,0 +1,35 @@
[gd_scene load_steps=3 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"]
[node name="Start" type="Node2D"]
script = ExtResource("1_exncb")
[node name="MainMenu" type="Sprite2D" parent="."]
position = Vector2(946, 826)
scale = Vector2(15, 15)
texture = ExtResource("1_65g7h")
[node name="Button" type="Button" parent="."]
offset_left = 1200.0
offset_top = 436.0
offset_right = 1296.0
offset_bottom = 467.0
scale = Vector2(4, 4)
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_colors/font_pressed_color = Color(0, 0.52549, 0, 1)
theme_override_colors/font_hover_color = Color(0, 0, 0.65098, 1)
text = "Start Game"
flat = true
[node name="Label" type="Label" parent="."]
offset_left = 1473.0
offset_top = 199.0
offset_right = 1519.0
offset_bottom = 225.0
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "ENVIE
"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]