diff --git a/GameJam-Vanier.csproj b/GameJam-Vanier.csproj index 2762b39..4210b40 100644 --- a/GameJam-Vanier.csproj +++ b/GameJam-Vanier.csproj @@ -1,4 +1,4 @@ - + net6.0 true diff --git a/GameJam-Vanier.csproj.old.3 b/GameJam-Vanier.csproj.old.3 new file mode 100644 index 0000000..2762b39 --- /dev/null +++ b/GameJam-Vanier.csproj.old.3 @@ -0,0 +1,7 @@ + + + net6.0 + true + GameJamVanier + + \ No newline at end of file diff --git a/Images/WIN_screen.png b/Images/WIN_screen.png new file mode 100644 index 0000000..d845d2e Binary files /dev/null and b/Images/WIN_screen.png differ diff --git a/Images/WIN_screen.png.import b/Images/WIN_screen.png.import new file mode 100644 index 0000000..385d532 --- /dev/null +++ b/Images/WIN_screen.png.import @@ -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 diff --git a/YouWin.gd b/YouWin.gd new file mode 100644 index 0000000..f5f2225 --- /dev/null +++ b/YouWin.gd @@ -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"); diff --git a/YouWin.tscn b/YouWin.tscn new file mode 100644 index 0000000..f572a71 --- /dev/null +++ b/YouWin.tscn @@ -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"]