c sbgfnhjlkdfbnhjlksgfdnhjkbkjbmnhfdsajlkbmkdfsvjh

This commit is contained in:
Victor Turgeon 2023-01-15 15:28:35 -05:00
parent 11f71a818d
commit 47016e76f8
10 changed files with 196 additions and 4 deletions

View File

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

View File

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

View File

@ -49,3 +49,11 @@ func _on_gym_enemy_05_is_killed():
doors.remove_child($Doors/BackDoor_Left); doors.remove_child($Doors/BackDoor_Left);
doors.remove_child($Doors/BackDoor_Right); doors.remove_child($Doors/BackDoor_Right);
func _on_area_2d_body_entered(body):
if body.name == "Player":
win();
func win():
get_tree().change_scene_to_file("res://YouWin.tscn");

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=13 format=3 uid="uid://b8rvp5g0vj8q1"] [gd_scene load_steps=16 format=3 uid="uid://b8rvp5g0vj8q1"]
[ext_resource type="TileSet" uid="uid://bi3tupdxmgcim" path="res://TileSets/tiles.tres" id="1_8igly"] [ext_resource type="TileSet" uid="uid://bi3tupdxmgcim" path="res://TileSets/tiles.tres" id="1_8igly"]
[ext_resource type="Script" path="res://Levels/level.gd" id="1_x3isi"] [ext_resource type="Script" path="res://Levels/level.gd" id="1_x3isi"]
@ -10,6 +10,8 @@
[ext_resource type="PackedScene" uid="uid://degce2jvx3sli" path="res://PickableItems/pickable_shoes.tscn" id="8_qnb3g"] [ext_resource type="PackedScene" uid="uid://degce2jvx3sli" path="res://PickableItems/pickable_shoes.tscn" id="8_qnb3g"]
[ext_resource type="PackedScene" uid="uid://2wpk5ocpyhbm" path="res://PickableItems/pickable_pants.tscn" id="9_8e12f"] [ext_resource type="PackedScene" uid="uid://2wpk5ocpyhbm" path="res://PickableItems/pickable_pants.tscn" id="9_8e12f"]
[ext_resource type="PackedScene" uid="uid://p7aa6t787b3d" path="res://Enemies/urinal_mimic.tscn" id="10_8g8ng"] [ext_resource type="PackedScene" uid="uid://p7aa6t787b3d" path="res://Enemies/urinal_mimic.tscn" id="10_8g8ng"]
[ext_resource type="Texture2D" uid="uid://dxvv3luyq6b5k" path="res://Sprites/Cloud_1.png" id="11_uhf1x"]
[ext_resource type="Texture2D" uid="uid://ih7pprd7ko1t" path="res://Sprites/Cloud_2.png" id="12_fsk5q"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8jn25"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_8jn25"]
size = Vector2(85, 5534.75) size = Vector2(85, 5534.75)
@ -17,6 +19,9 @@ size = Vector2(85, 5534.75)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5xvim"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_5xvim"]
size = Vector2(4186, 55) size = Vector2(4186, 55)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_u153x"]
size = Vector2(1359, 228)
[node name="Level" type="Node2D"] [node name="Level" type="Node2D"]
script = ExtResource("1_x3isi") script = ExtResource("1_x3isi")
@ -235,6 +240,106 @@ position = Vector2(3658, 4777)
[node name="End_Enemy14" parent="." instance=ExtResource("7_qt4sv")] [node name="End_Enemy14" parent="." instance=ExtResource("7_qt4sv")]
position = Vector2(3658, 4777) position = Vector2(3658, 4777)
[node name="Area2D" type="Area2D" parent="."]
position = Vector2(2631, 5269)
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(416.5, -22)
shape = SubResource("RectangleShape2D_u153x")
[node name="Sprite2D" type="Sprite2D" parent="Area2D"]
position = Vector2(-83, 151)
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D2" type="Sprite2D" parent="Area2D"]
position = Vector2(169, 143)
rotation = -0.208843
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D3" type="Sprite2D" parent="Area2D"]
position = Vector2(42, 48)
rotation = 0.0879637
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D4" type="Sprite2D" parent="Area2D"]
position = Vector2(285, 44)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D5" type="Sprite2D" parent="Area2D"]
position = Vector2(532, 65)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D6" type="Sprite2D" parent="Area2D"]
position = Vector2(823, 62)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D7" type="Sprite2D" parent="Area2D"]
position = Vector2(990, 157)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D8" type="Sprite2D" parent="Area2D"]
position = Vector2(745, 168)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D9" type="Sprite2D" parent="Area2D"]
position = Vector2(529, 158)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D10" type="Sprite2D" parent="Area2D"]
position = Vector2(345, 155)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D11" type="Sprite2D" parent="Area2D"]
position = Vector2(-100, 42)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D12" type="Sprite2D" parent="Area2D"]
position = Vector2(402, -12)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D13" type="Sprite2D" parent="Area2D"]
position = Vector2(678, 12)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D14" type="Sprite2D" parent="Area2D"]
position = Vector2(964, 26)
rotation = 0.0481666
scale = Vector2(6.09021, 6.09021)
texture = ExtResource("11_uhf1x")
[node name="Sprite2D15" type="Sprite2D" parent="Area2D"]
position = Vector2(188, 25)
scale = Vector2(5.03591, 5.03591)
texture = ExtResource("12_fsk5q")
[node name="Sprite2D16" type="Sprite2D" parent="Area2D"]
position = Vector2(291, 216)
scale = Vector2(5.03591, 5.03591)
texture = ExtResource("12_fsk5q")
[connection signal="is_killed" from="Outside_Enemy" to="." method="_on_outside_enemy_is_killed"] [connection signal="is_killed" from="Outside_Enemy" to="." method="_on_outside_enemy_is_killed"]
[connection signal="picked" from="pickable_t_shirt" to="." method="_on_pickable_t_shirt_picked"] [connection signal="picked" from="pickable_t_shirt" to="." method="_on_pickable_t_shirt_picked"]
[connection signal="picked" from="shoes" to="." method="_on_shoes_picked"] [connection signal="picked" from="shoes" to="." method="_on_shoes_picked"]
@ -244,3 +349,4 @@ position = Vector2(3658, 4777)
[connection signal="is_killed" from="Mimic_02" to="." method="_on_mimic_02_is_killed"] [connection signal="is_killed" from="Mimic_02" to="." method="_on_mimic_02_is_killed"]
[connection signal="picked" from="pants" to="." method="_on_pants_picked"] [connection signal="picked" from="pants" to="." method="_on_pants_picked"]
[connection signal="is_killed" from="Gym_Enemy05" to="." method="_on_gym_enemy_05_is_killed"] [connection signal="is_killed" from="Gym_Enemy05" to="." method="_on_gym_enemy_05_is_killed"]
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]

BIN
Sprites/Cloud_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1015 B

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dxvv3luyq6b5k"
path="res://.godot/imported/Cloud_1.png-66834769288115d7dfe5ea40cf8e25d0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Sprites/Cloud_1.png"
dest_files=["res://.godot/imported/Cloud_1.png-66834769288115d7dfe5ea40cf8e25d0.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
Sprites/Cloud_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

View File

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

@ -1,4 +1,4 @@
[gd_scene load_steps=3 format=3 uid="uid://cwrom0u0cj2yi"] [gd_scene load_steps=3 format=3 uid="uid://cgwf23texn2ur"]
[ext_resource type="Script" path="res://YouWin.gd" id="1_ui55j"] [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"] [ext_resource type="Texture2D" uid="uid://dboun0ofe7h6f" path="res://Images/WIN_screen.png" id="2_b03md"]
@ -8,9 +8,12 @@ layout_mode = 3
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
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

@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://d25c4ey6gvduc"] [gd_scene load_steps=4 format=3 uid="uid://c58wsmkklb7wq"]
[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"]