This commit is contained in:
MarcEricMartel 2023-01-15 15:12:17 -05:00
parent 1b81bda099
commit dc7924cfcc
6 changed files with 84 additions and 1 deletions

View File

@ -1,4 +1,4 @@
<Project Sdk="Godot.NET.Sdk/4.0.0-beta.12">
<Project Sdk="Godot.NET.Sdk/4.0.0-beta">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>

View File

@ -0,0 +1,7 @@
<Project Sdk="Godot.NET.Sdk/4.0.0-beta.12">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>GameJamVanier</RootNamespace>
</PropertyGroup>
</Project>

BIN
Images/WIN_screen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dboun0ofe7h6f"
path="res://.godot/imported/WIN_screen.png-a0527c28a1deb0b8705d2b23bfb3f9c1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Images/WIN_screen.png"
dest_files=["res://.godot/imported/WIN_screen.png-a0527c28a1deb0b8705d2b23bfb3f9c1.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

15
YouWin.gd Normal file
View File

@ -0,0 +1,15 @@
extends Control
# 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_timer_timeout():
get_tree().change_scene_to_file("res://start.tscn");

27
YouWin.tscn Normal file
View File

@ -0,0 +1,27 @@
[gd_scene load_steps=3 format=3 uid="uid://cwrom0u0cj2yi"]
[ext_resource type="Script" path="res://YouWin.gd" id="1_ui55j"]
[ext_resource type="Texture2D" uid="uid://dboun0ofe7h6f" path="res://Images/WIN_screen.png" id="2_b03md"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
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)
[node name="WinScreen" type="Sprite2D" parent="."]
position = Vector2(923, 542)
scale = Vector2(7, 7)
texture = ExtResource("2_b03md")
[node name="Timer" type="Timer" parent="."]
wait_time = 5.0
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]