Compare commits

..

No commits in common. "2c729b051a6384ed34f48c10160799b6a9d62521" and "1b81bda0996a713ce6c598329450a0e67e9db208" have entirely different histories.

24 changed files with 23 additions and 469 deletions

View File

@ -35,7 +35,7 @@ func _physics_process(delta):
func attack(collider): func attack(collider):
collider.take_damage(DAMAGE); collider.take_damage(DAMAGE);
kill(); kill()
func take_damage(damage): func take_damage(damage):
HP = HP - damage; HP = HP - damage;

View File

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

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -1,34 +0,0 @@
[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

View File

@ -22,7 +22,7 @@ func _on_outside_enemy_is_killed():
func _on_shoes_picked(): func _on_shoes_picked():
doors.remove_child($Doors/Locker); doors.remove_child($Doors/Bathroom_Top);
func _on_mimic_01_is_killed(): func _on_mimic_01_is_killed():
@ -41,7 +41,7 @@ func _on_mimic_02_is_killed():
mimic_count += 1; mimic_count += 1;
func _on_pants_picked(): func _on_pants_picked():
doors.remove_child($Doors/Bathroom_Top); doors.remove_child($Doors/Locker);
func _on_gym_enemy_05_is_killed(): func _on_gym_enemy_05_is_killed():
@ -49,11 +49,3 @@ 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=16 format=3 uid="uid://b8rvp5g0vj8q1"] [gd_scene load_steps=13 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,8 +10,6 @@
[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)
@ -19,9 +17,6 @@ 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")
@ -149,7 +144,7 @@ position = Vector2(2367, 1350)
position = Vector2(3592, 679) position = Vector2(3592, 679)
[node name="shoes" parent="." instance=ExtResource("8_qnb3g")] [node name="shoes" parent="." instance=ExtResource("8_qnb3g")]
position = Vector2(2281, 2786) position = Vector2(2606, 954)
[node name="Mimic_01" parent="." instance=ExtResource("10_8g8ng")] [node name="Mimic_01" parent="." instance=ExtResource("10_8g8ng")]
position = Vector2(3686, 1379) position = Vector2(3686, 1379)
@ -166,7 +161,7 @@ rotation = 3.14159
position = Vector2(3750, 1379) position = Vector2(3750, 1379)
[node name="pants" parent="." instance=ExtResource("9_8e12f")] [node name="pants" parent="." instance=ExtResource("9_8e12f")]
position = Vector2(2610, 955) position = Vector2(2267, 2783)
[node name="Gym_Enemy01" parent="." instance=ExtResource("7_qt4sv")] [node name="Gym_Enemy01" parent="." instance=ExtResource("7_qt4sv")]
position = Vector2(4028, 3202) position = Vector2(4028, 3202)
@ -196,7 +191,7 @@ position = Vector2(2188, 2790)
position = Vector2(2386, 2818) position = Vector2(2386, 2818)
[node name="Cafeteria_Enemye05" parent="." instance=ExtResource("7_qt4sv")] [node name="Cafeteria_Enemye05" parent="." instance=ExtResource("7_qt4sv")]
position = Vector2(2455, 2599) position = Vector2(2433, 2624)
[node name="End_Enemy01" parent="." instance=ExtResource("7_qt4sv")] [node name="End_Enemy01" parent="." instance=ExtResource("7_qt4sv")]
position = Vector2(2771, 4556) position = Vector2(2771, 4556)
@ -240,106 +235,6 @@ 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"]
@ -349,4 +244,4 @@ texture = ExtResource("12_fsk5q")
[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"]

View File

@ -58,14 +58,6 @@ func pickup(item):
if !weapons[n]: if !weapons[n]:
weapons[n] = item.Item.instantiate(); weapons[n] = item.Item.instantiate();
change_weapon(n); change_weapon(n);
if n == 0 :
sprite.play("shirt");
if n == 1 :
sprite.play("pants");
if n == 2 :
sprite.play("shoes");
return; return;
func kill(): func kill():

View File

@ -1,144 +1,20 @@
[gd_scene load_steps=26 format=3 uid="uid://xev8p1td1icx"] [gd_scene load_steps=10 format=3 uid="uid://xev8p1td1icx"]
[ext_resource type="Script" path="res://Player/player.gd" id="1_mbyc2"] [ext_resource type="Script" path="res://Player/player.gd" id="1_mbyc2"]
[ext_resource type="Texture2D" uid="uid://c48xkf5blwwwq" path="res://Sprites/pixil-layer-finAL-SPRITESHEET.png" id="2_jlxu3"] [ext_resource type="Texture2D" uid="uid://wkeakqjvu3gg" path="res://Sprites/placeholder_player.png" id="2_bqbmq"]
[ext_resource type="Texture2D" uid="uid://d2nqjxofehkum" path="res://Images/BladderHollow.png" id="3_nm4h4"] [ext_resource type="Texture2D" uid="uid://d2nqjxofehkum" path="res://Images/BladderHollow.png" id="3_nm4h4"]
[ext_resource type="Shader" path="res://hud.gdshader" id="4_4u6cb"] [ext_resource type="Shader" path="res://hud.gdshader" id="4_4u6cb"]
[ext_resource type="Texture2D" uid="uid://b25de1d0yyuji" path="res://Images/Bladder.png" id="5_pcbeg"] [ext_resource type="Texture2D" uid="uid://b25de1d0yyuji" path="res://Images/Bladder.png" id="5_pcbeg"]
[ext_resource type="Script" path="res://Bladder.gd" id="6_8x3rf"] [ext_resource type="Script" path="res://Bladder.gd" id="6_8x3rf"]
[sub_resource type="AtlasTexture" id="AtlasTexture_s1rkw"]
atlas = ExtResource("2_jlxu3")
region = Rect2(1, 1, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_uq23s"]
atlas = ExtResource("2_jlxu3")
region = Rect2(65, 1, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_nmvsr"]
atlas = ExtResource("2_jlxu3")
region = Rect2(129, 1, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_36iad"]
atlas = ExtResource("2_jlxu3")
region = Rect2(193, 1, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0eynp"]
atlas = ExtResource("2_jlxu3")
region = Rect2(1, 257, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7yul4"]
atlas = ExtResource("2_jlxu3")
region = Rect2(65, 257, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_kwoof"]
atlas = ExtResource("2_jlxu3")
region = Rect2(129, 257, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_j5hyc"]
atlas = ExtResource("2_jlxu3")
region = Rect2(193, 257, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_em3bu"]
atlas = ExtResource("2_jlxu3")
region = Rect2(1, 129, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hulq3"]
atlas = ExtResource("2_jlxu3")
region = Rect2(193, 129, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_m8y1k"]
atlas = ExtResource("2_jlxu3")
region = Rect2(65, 129, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ea3w7"]
atlas = ExtResource("2_jlxu3")
region = Rect2(129, 129, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_h7rai"]
atlas = ExtResource("2_jlxu3")
region = Rect2(1, 385, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_1g6fa"]
atlas = ExtResource("2_jlxu3")
region = Rect2(65, 385, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_431yo"]
atlas = ExtResource("2_jlxu3")
region = Rect2(193, 385, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_r7afy"]
atlas = ExtResource("2_jlxu3")
region = Rect2(129, 385, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_mqbrd"] [sub_resource type="SpriteFrames" id="SpriteFrames_mqbrd"]
animations = [{ animations = [{
"frames": [{ "frames": [{
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_s1rkw") "texture": ExtResource("2_bqbmq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uq23s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nmvsr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_36iad")
}], }],
"loop": true, "loop": true,
"name": &"naked", "name": &"default",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_0eynp")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7yul4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kwoof")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j5hyc")
}],
"loop": true,
"name": &"pants",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_em3bu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hulq3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_m8y1k")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ea3w7")
}],
"loop": true,
"name": &"shirt",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_h7rai")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_1g6fa")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_431yo")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_r7afy")
}],
"loop": true,
"name": &"shoes",
"speed": 5.0 "speed": 5.0
}] }]
@ -156,8 +32,6 @@ script = ExtResource("1_mbyc2")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
frames = SubResource("SpriteFrames_mqbrd") frames = SubResource("SpriteFrames_mqbrd")
animation = &"naked"
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_ng5bv") shape = SubResource("RectangleShape2D_ng5bv")
@ -176,13 +50,13 @@ default_color = Color(1, 0, 0, 0.392157)
[node name="Bladder" type="Sprite2D" parent="."] [node name="Bladder" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_g8k2d") material = SubResource("ShaderMaterial_g8k2d")
position = Vector2(-427, -197) position = Vector2(-847, -443)
scale = Vector2(2, 2) scale = Vector2(2, 2)
texture = ExtResource("5_pcbeg") texture = ExtResource("5_pcbeg")
script = ExtResource("6_8x3rf") script = ExtResource("6_8x3rf")
[node name="BladderHollow" type="Sprite2D" parent="."] [node name="BladderHollow" type="Sprite2D" parent="."]
position = Vector2(-427, -197) position = Vector2(-847, -443)
scale = Vector2(2, 2) scale = Vector2(2, 2)
texture = ExtResource("3_nm4h4") texture = ExtResource("3_nm4h4")

View File

@ -15,6 +15,7 @@ animations = [{
}] }]
[node name="basic_projectile" instance=ExtResource("1_5vj07")] [node name="basic_projectile" instance=ExtResource("1_5vj07")]
DAMAGE = 25
SPEED = 1000 SPEED = 1000
LIFETIME = 0.5 LIFETIME = 0.5
HANG_TIME = 0.2 HANG_TIME = 0.2

View File

@ -61,7 +61,7 @@ animations = [{
}] }]
[node name="basic_projectile" instance=ExtResource("1_mqpki")] [node name="basic_projectile" instance=ExtResource("1_mqpki")]
DAMAGE = 5 DAMAGE = 2
SPEED = 1000 SPEED = 1000
LIFETIME = 0.1 LIFETIME = 0.1
HANG_TIME = 0.3 HANG_TIME = 0.3

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1015 B

View File

@ -1,34 +0,0 @@
[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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 833 B

View File

@ -1,34 +0,0 @@
[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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

View File

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

@ -7,7 +7,7 @@
[node name="pillow" instance=ExtResource("1_4irix")] [node name="pillow" instance=ExtResource("1_4irix")]
PROJECTILE = ExtResource("2_ym5xc") PROJECTILE = ExtResource("2_ym5xc")
COOLDOWN = 0.1 COOLDOWN = 0.1
SPREAD = 0.25 SPREAD = 0.5
[node name="Sprite2D" parent="." index="0"] [node name="Sprite2D" parent="." index="0"]
position = Vector2(59, 19) position = Vector2(59, 19)

View File

@ -1,15 +0,0 @@
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");

View File

@ -1,31 +0,0 @@
[gd_scene load_steps=3 format=3 uid="uid://cgwf23texn2ur"]
[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
grow_horizontal = 2
grow_vertical = 2
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(510, 278)
scale = Vector2(4, 4)
texture = ExtResource("2_b03md")
[node name="Timer" type="Timer" parent="."]
wait_time = 5.0
one_shot = true
autostart = true
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]

View File

@ -1,11 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://bi5h65wa7574p"] [gd_scene load_steps=3 format=3 uid="uid://d1ek3aw31vio2"]
[ext_resource type="Script" path="res://GameOver.gd" id="1_2w7nc"] [ext_resource type="Script" path="res://GameOver.gd" id="1_2w7nc"]
[ext_resource type="Texture2D" uid="uid://cyodm2ixiok7d" path="res://Images/Game_Over.png" id="2_guyua"] [ext_resource type="Texture2D" uid="uid://cyodm2ixiok7d" path="res://Images/Game_Over.png" id="2_guyua"]
[node name="GameOver" type="Node2D"] [node name="GameOver" type="Node2D"]
position = Vector2(20, 0)
scale = Vector2(0.522579, 0.493457)
script = ExtResource("1_2w7nc") script = ExtResource("1_2w7nc")
[node name="ColorRect" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]

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(1, 1, 0.1, texture(TEXTURE, UV).a); COLOR = vec4(0.1, 0.4, 0.4, texture(TEXTURE, UV).a);
else COLOR = texture(TEXTURE, UV); else COLOR = texture(TEXTURE, UV);
} }

View File

@ -17,8 +17,8 @@ config/icon="res://icon.svg"
[display] [display]
window/size/viewport_width=1024 window/size/viewport_width=1920
window/size/viewport_height=576 window/size/viewport_height=1080
window/size/mode=3 window/size/mode=3
window/size/resizable=false window/size/resizable=false
window/stretch/mode="viewport" window/stretch/mode="viewport"

View File

@ -1,12 +1,10 @@
[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"]
[ext_resource type="Texture2D" uid="uid://drkbrxdk6s40s" path="res://Images/eniv.png" id="3_5j2rv"] [ext_resource type="Texture2D" uid="uid://drkbrxdk6s40s" path="res://Images/eniv.png" id="3_5j2rv"]
[node name="Start" type="Node2D"] [node name="Start" type="Node2D"]
position = Vector2(-13, 37)
scale = Vector2(0.547083, 0.527457)
script = ExtResource("1_exncb") script = ExtResource("1_exncb")
[node name="MainMenu" type="Sprite2D" parent="."] [node name="MainMenu" type="Sprite2D" parent="."]
@ -27,7 +25,7 @@ text = "Start Game"
flat = true flat = true
[node name="Eniv" type="Sprite2D" parent="."] [node name="Eniv" type="Sprite2D" parent="."]
position = Vector2(1626.81, 197.172) position = Vector2(1632, 266)
scale = Vector2(4, 4) scale = Vector2(4, 4)
texture = ExtResource("3_5j2rv") texture = ExtResource("3_5j2rv")