fnkdolpojso grmhbhigjshkdfnkgtah
This commit is contained in:
		| @@ -43,6 +43,7 @@ func take_damage(damage): | |||||||
| 		kill(); | 		kill(); | ||||||
|  |  | ||||||
| func kill(): | func kill(): | ||||||
|  | 	emit_signal("is_killed"); | ||||||
| 	queue_free(); | 	queue_free(); | ||||||
|  |  | ||||||
| func set_player(p): | func set_player(p): | ||||||
| @@ -57,3 +58,5 @@ func _on_area_2d_body_entered(body): | |||||||
|  |  | ||||||
| func _on_animated_sprite_2d_animation_finished(): | func _on_animated_sprite_2d_animation_finished(): | ||||||
| 	attacking = true; | 	attacking = true; | ||||||
|  |  | ||||||
|  | signal is_killed() | ||||||
|   | |||||||
| @@ -68,7 +68,7 @@ animations = [{ | |||||||
| size = Vector2(23, 21) | size = Vector2(23, 21) | ||||||
|  |  | ||||||
| [sub_resource type="CircleShape2D" id="CircleShape2D_0y76e"] | [sub_resource type="CircleShape2D" id="CircleShape2D_0y76e"] | ||||||
| radius = 120.037 | radius = 216.0 | ||||||
|  |  | ||||||
| [node name="urinal_mimic" type="CharacterBody2D"] | [node name="urinal_mimic" type="CharacterBody2D"] | ||||||
| script = ExtResource("1_2ga4k") | script = ExtResource("1_2ga4k") | ||||||
|   | |||||||
| @@ -2,11 +2,15 @@ extends Node2D | |||||||
|  |  | ||||||
| @onready var doors = $Doors; | @onready var doors = $Doors; | ||||||
|  |  | ||||||
|  | var mimic_count = 0; | ||||||
|  |  | ||||||
| func _ready(): | func _ready(): | ||||||
| 	pass  | 	pass  | ||||||
|  |  | ||||||
| func _process(delta): | func _process(delta): | ||||||
| 	pass | 	if mimic_count >= 4 :  | ||||||
|  | 		doors.remove_child($Doors/Bathroom_Bottom); | ||||||
|  | 		doors.remove_child($Doors/Cafeteria); | ||||||
|  |  | ||||||
| func _on_pickable_t_shirt_picked(): | func _on_pickable_t_shirt_picked(): | ||||||
| 	doors.remove_child($Doors/FrontDoor_Left); | 	doors.remove_child($Doors/FrontDoor_Left); | ||||||
| @@ -19,3 +23,29 @@ func _on_outside_enemy_is_killed(): | |||||||
|  |  | ||||||
| func _on_shoes_picked(): | func _on_shoes_picked(): | ||||||
| 	doors.remove_child($Doors/Bathroom_Top); | 	doors.remove_child($Doors/Bathroom_Top); | ||||||
|  |  | ||||||
|  |  | ||||||
|  | func _on_mimic_01_is_killed(): | ||||||
|  | 	mimic_count += 1; | ||||||
|  |  | ||||||
|  |  | ||||||
|  | func _on_mimic_03_is_killed(): | ||||||
|  | 	mimic_count += 1; | ||||||
|  |  | ||||||
|  |  | ||||||
|  | func _on_mimic_04_is_killed(): | ||||||
|  | 	mimic_count += 1; | ||||||
|  |  | ||||||
|  |  | ||||||
|  | func _on_mimic_02_is_killed(): | ||||||
|  | 	mimic_count += 1; | ||||||
|  |  | ||||||
|  | func _on_pants_picked(): | ||||||
|  | 	doors.remove_child($Doors/Locker); | ||||||
|  |  | ||||||
|  |  | ||||||
|  | func _on_gym_enemy_05_is_killed(): | ||||||
|  | 	doors.remove_child($Doors/Gym); | ||||||
|  | 	doors.remove_child($Doors/BackDoor_Left); | ||||||
|  | 	doors.remove_child($Doors/BackDoor_Right); | ||||||
|  | 	 | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| [gd_scene load_steps=11 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"] | ||||||
| @@ -8,6 +8,8 @@ | |||||||
| [ext_resource type="PackedScene" uid="uid://bbg5x0apue0ei" path="res://PickableItems/pickable_t_shirt.tscn" id="5_kahe8"] | [ext_resource type="PackedScene" uid="uid://bbg5x0apue0ei" path="res://PickableItems/pickable_t_shirt.tscn" id="5_kahe8"] | ||||||
| [ext_resource type="PackedScene" uid="uid://c661br4lh30r8" path="res://Enemies/basic_enemy.tscn" id="7_qt4sv"] | [ext_resource type="PackedScene" uid="uid://c661br4lh30r8" path="res://Enemies/basic_enemy.tscn" id="7_qt4sv"] | ||||||
| [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://p7aa6t787b3d" path="res://Enemies/urinal_mimic.tscn" id="10_8g8ng"] | ||||||
|  |  | ||||||
| [sub_resource type="RectangleShape2D" id="RectangleShape2D_8jn25"] | [sub_resource type="RectangleShape2D" id="RectangleShape2D_8jn25"] | ||||||
| size = Vector2(85, 5534.75) | size = Vector2(85, 5534.75) | ||||||
| @@ -77,6 +79,11 @@ shape = SubResource("RectangleShape2D_5xvim") | |||||||
| position = Vector2(2906, 758) | position = Vector2(2906, 758) | ||||||
| scale = Vector2(4.47547, 4.07547) | scale = Vector2(4.47547, 4.07547) | ||||||
|  |  | ||||||
|  | [node name="MiddleDoor" parent="Doors" instance=ExtResource("4_oukel")] | ||||||
|  | position = Vector2(3067, 1724) | ||||||
|  | rotation = 0.163856 | ||||||
|  | scale = Vector2(10.6234, 9.67391) | ||||||
|  |  | ||||||
| [node name="FrontDoor_Right" parent="Doors" instance=ExtResource("4_oukel")] | [node name="FrontDoor_Right" parent="Doors" instance=ExtResource("4_oukel")] | ||||||
| position = Vector2(3239, 762) | position = Vector2(3239, 762) | ||||||
| rotation = -3.14159 | rotation = -3.14159 | ||||||
| @@ -121,10 +128,6 @@ position = Vector2(3239, 4090) | |||||||
| rotation = -3.14159 | rotation = -3.14159 | ||||||
| scale = Vector2(4.47547, 4.07547) | scale = Vector2(4.47547, 4.07547) | ||||||
|  |  | ||||||
| [node name="pickable_t_shirt" parent="." instance=ExtResource("5_kahe8")] |  | ||||||
| position = Vector2(3586, 650) |  | ||||||
| rotation = 0.286545 |  | ||||||
|  |  | ||||||
| [node name="Outside_Enemy" parent="." instance=ExtResource("7_qt4sv")] | [node name="Outside_Enemy" parent="." instance=ExtResource("7_qt4sv")] | ||||||
| position = Vector2(3939, 657) | position = Vector2(3939, 657) | ||||||
|  |  | ||||||
| @@ -137,9 +140,107 @@ position = Vector2(2310, 1138) | |||||||
| [node name="Class_Enemy03" parent="." instance=ExtResource("7_qt4sv")] | [node name="Class_Enemy03" parent="." instance=ExtResource("7_qt4sv")] | ||||||
| position = Vector2(2367, 1350) | position = Vector2(2367, 1350) | ||||||
|  |  | ||||||
| [node name="shoes" parent="." instance=ExtResource("8_qnb3g")] | [node name="pickable_t_shirt" parent="." instance=ExtResource("5_kahe8")] | ||||||
| position = Vector2(2595, 969) | position = Vector2(3592, 679) | ||||||
|  |  | ||||||
|  | [node name="shoes" parent="." instance=ExtResource("8_qnb3g")] | ||||||
|  | position = Vector2(2606, 954) | ||||||
|  |  | ||||||
|  | [node name="Mimic_01" parent="." instance=ExtResource("10_8g8ng")] | ||||||
|  | position = Vector2(3686, 1379) | ||||||
|  |  | ||||||
|  | [node name="Mimic_03" parent="." instance=ExtResource("10_8g8ng")] | ||||||
|  | position = Vector2(3753, 2076) | ||||||
|  | rotation = 3.14159 | ||||||
|  |  | ||||||
|  | [node name="Mimic_04" parent="." instance=ExtResource("10_8g8ng")] | ||||||
|  | position = Vector2(3688, 2076) | ||||||
|  | rotation = 3.14159 | ||||||
|  |  | ||||||
|  | [node name="Mimic_02" parent="." instance=ExtResource("10_8g8ng")] | ||||||
|  | position = Vector2(3750, 1379) | ||||||
|  |  | ||||||
|  | [node name="pants" parent="." instance=ExtResource("9_8e12f")] | ||||||
|  | position = Vector2(2267, 2783) | ||||||
|  |  | ||||||
|  | [node name="Gym_Enemy01" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(4028, 3202) | ||||||
|  |  | ||||||
|  | [node name="Gym_Enemy02" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3885, 3027) | ||||||
|  |  | ||||||
|  | [node name="Gym_Enemy03" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3783, 3449) | ||||||
|  |  | ||||||
|  | [node name="Gym_Enemy04" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3824, 3176) | ||||||
|  |  | ||||||
|  | [node name="Gym_Enemy05" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3970, 3468) | ||||||
|  |  | ||||||
|  | [node name="Cafeteria_Enemye01" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(2194, 2563) | ||||||
|  |  | ||||||
|  | [node name="Cafeteria_Enemye02" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(2305, 2671) | ||||||
|  |  | ||||||
|  | [node name="Cafeteria_Enemye03" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(2188, 2790) | ||||||
|  |  | ||||||
|  | [node name="Cafeteria_Enemye04" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(2386, 2818) | ||||||
|  |  | ||||||
|  | [node name="Cafeteria_Enemye05" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(2433, 2624) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy01" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(2771, 4556) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy02" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3085, 4534) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy03" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3354, 4502) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy04" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3614, 4614) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy05" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(2606, 4735) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy06" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3026, 4915) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy07" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3340, 4731) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy08" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(2406, 4753) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy09" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(2460, 4461) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy10" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3021, 4524) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy11" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3609, 4539) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy12" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(4013, 4530) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy13" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3658, 4777) | ||||||
|  |  | ||||||
|  | [node name="End_Enemy14" parent="." instance=ExtResource("7_qt4sv")] | ||||||
|  | position = Vector2(3658, 4777) | ||||||
|  |  | ||||||
| [connection signal="picked" from="pickable_t_shirt" to="." method="_on_pickable_t_shirt_picked"] |  | ||||||
| [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="shoes" to="." method="_on_shoes_picked"] | [connection signal="picked" from="shoes" to="." method="_on_shoes_picked"] | ||||||
|  | [connection signal="is_killed" from="Mimic_01" to="." method="_on_mimic_01_is_killed"] | ||||||
|  | [connection signal="is_killed" from="Mimic_03" to="." method="_on_mimic_03_is_killed"] | ||||||
|  | [connection signal="is_killed" from="Mimic_04" to="." method="_on_mimic_04_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="is_killed" from="Gym_Enemy05" to="." method="_on_gym_enemy_05_is_killed"] | ||||||
|   | |||||||
| @@ -3,6 +3,7 @@ extends Area2D | |||||||
| @export var Type : String; | @export var Type : String; | ||||||
| @export var Item : PackedScene; | @export var Item : PackedScene; | ||||||
|  |  | ||||||
|  |  | ||||||
| func _on_body_entered(body): | func _on_body_entered(body): | ||||||
| 	if body.name == "Player": | 	if body.name == "Player": | ||||||
| 		pickup_routine(body); | 		pickup_routine(body); | ||||||
|   | |||||||
							
								
								
									
										12
									
								
								PickableItems/pickable_pants.tscn
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								PickableItems/pickable_pants.tscn
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  | [gd_scene load_steps=4 format=3 uid="uid://2wpk5ocpyhbm"] | ||||||
|  |  | ||||||
|  | [ext_resource type="PackedScene" uid="uid://ci6xls3xseci2" path="res://PickableItems/basic_item.tscn" id="1_pn1kw"] | ||||||
|  | [ext_resource type="PackedScene" uid="uid://7ui1rkwaycfy" path="res://Weapons/pillow.tscn" id="2_dl4tf"] | ||||||
|  | [ext_resource type="Texture2D" uid="uid://b38mgf41rovwt" path="res://Sprites/Pants.png" id="3_lkh12"] | ||||||
|  |  | ||||||
|  | [node name="pants" instance=ExtResource("1_pn1kw")] | ||||||
|  | Type = "weapon" | ||||||
|  | Item = ExtResource("2_dl4tf") | ||||||
|  |  | ||||||
|  | [node name="Sprite2D" parent="." index="1"] | ||||||
|  | texture = ExtResource("3_lkh12") | ||||||
							
								
								
									
										31
									
								
								Projectiles/feather.tscn
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								Projectiles/feather.tscn
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | |||||||
|  | [gd_scene load_steps=4 format=3 uid="uid://ce4dfmw1o5whm"] | ||||||
|  |  | ||||||
|  | [ext_resource type="PackedScene" uid="uid://cpo8qy3y0fuui" path="res://Projectiles/basic_projectile.tscn" id="1_5vj07"] | ||||||
|  | [ext_resource type="Texture2D" uid="uid://lpdurm1dcsee" path="res://Sprites/Feather_5.png" id="2_vv5rv"] | ||||||
|  |  | ||||||
|  | [sub_resource type="SpriteFrames" id="SpriteFrames_cjo1e"] | ||||||
|  | animations = [{ | ||||||
|  | "frames": [{ | ||||||
|  | "duration": 1.0, | ||||||
|  | "texture": ExtResource("2_vv5rv") | ||||||
|  | }], | ||||||
|  | "loop": true, | ||||||
|  | "name": &"explosion", | ||||||
|  | "speed": 5.0 | ||||||
|  | }] | ||||||
|  |  | ||||||
|  | [node name="basic_projectile" instance=ExtResource("1_5vj07")] | ||||||
|  | DAMAGE = 25 | ||||||
|  | SPEED = 1000 | ||||||
|  | LIFETIME = 0.5 | ||||||
|  | HANG_TIME = 0.2 | ||||||
|  | FRICTION = 2000.0 | ||||||
|  |  | ||||||
|  | [node name="Sprite2D" parent="." index="0"] | ||||||
|  | position = Vector2(4, 41) | ||||||
|  | rotation = 0.827489 | ||||||
|  | scale = Vector2(1.26545, 1.26545) | ||||||
|  | frames = SubResource("SpriteFrames_cjo1e") | ||||||
|  |  | ||||||
|  | [node name="CollisionShape2D" parent="." index="1"] | ||||||
|  | position = Vector2(8, 0) | ||||||
							
								
								
									
										
											BIN
										
									
								
								Sprites/Feather_5.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Sprites/Feather_5.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 561 B | 
							
								
								
									
										34
									
								
								Sprites/Feather_5.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								Sprites/Feather_5.png.import
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | |||||||
|  | [remap] | ||||||
|  |  | ||||||
|  | importer="texture" | ||||||
|  | type="CompressedTexture2D" | ||||||
|  | uid="uid://lpdurm1dcsee" | ||||||
|  | path="res://.godot/imported/Feather_5.png-b5203ede9363243fc6eaf0328721618e.ctex" | ||||||
|  | metadata={ | ||||||
|  | "vram_texture": false | ||||||
|  | } | ||||||
|  |  | ||||||
|  | [deps] | ||||||
|  |  | ||||||
|  | source_file="res://Sprites/Feather_5.png" | ||||||
|  | dest_files=["res://.godot/imported/Feather_5.png-b5203ede9363243fc6eaf0328721618e.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/Pants.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Sprites/Pants.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 791 B | 
							
								
								
									
										34
									
								
								Sprites/Pants.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								Sprites/Pants.png.import
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | |||||||
|  | [remap] | ||||||
|  |  | ||||||
|  | importer="texture" | ||||||
|  | type="CompressedTexture2D" | ||||||
|  | uid="uid://b38mgf41rovwt" | ||||||
|  | path="res://.godot/imported/Pants.png-cb2ff49e61a1dc3e3ddc04597e68067e.ctex" | ||||||
|  | metadata={ | ||||||
|  | "vram_texture": false | ||||||
|  | } | ||||||
|  |  | ||||||
|  | [deps] | ||||||
|  |  | ||||||
|  | source_file="res://Sprites/Pants.png" | ||||||
|  | dest_files=["res://.godot/imported/Pants.png-cb2ff49e61a1dc3e3ddc04597e68067e.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/Pillow.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								Sprites/Pillow.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.4 KiB | 
							
								
								
									
										34
									
								
								Sprites/Pillow.png.import
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								Sprites/Pillow.png.import
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | |||||||
|  | [remap] | ||||||
|  |  | ||||||
|  | importer="texture" | ||||||
|  | type="CompressedTexture2D" | ||||||
|  | uid="uid://csw7kmwrrfyrr" | ||||||
|  | path="res://.godot/imported/Pillow.png-4e4e2590409be9c8fefb110bdc401a80.ctex" | ||||||
|  | metadata={ | ||||||
|  | "vram_texture": false | ||||||
|  | } | ||||||
|  |  | ||||||
|  | [deps] | ||||||
|  |  | ||||||
|  | source_file="res://Sprites/Pillow.png" | ||||||
|  | dest_files=["res://.godot/imported/Pillow.png-4e4e2590409be9c8fefb110bdc401a80.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 | ||||||
							
								
								
									
										18
									
								
								Weapons/pillow.tscn
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								Weapons/pillow.tscn
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | |||||||
|  | [gd_scene load_steps=4 format=3 uid="uid://7ui1rkwaycfy"] | ||||||
|  |  | ||||||
|  | [ext_resource type="PackedScene" uid="uid://cmtuq84761y0i" path="res://Weapons/basic_weapon.tscn" id="1_4irix"] | ||||||
|  | [ext_resource type="PackedScene" uid="uid://ce4dfmw1o5whm" path="res://Projectiles/feather.tscn" id="2_ym5xc"] | ||||||
|  | [ext_resource type="Texture2D" uid="uid://csw7kmwrrfyrr" path="res://Sprites/Pillow.png" id="3_ltgsm"] | ||||||
|  |  | ||||||
|  | [node name="pillow" instance=ExtResource("1_4irix")] | ||||||
|  | PROJECTILE = ExtResource("2_ym5xc") | ||||||
|  | COOLDOWN = 0.1 | ||||||
|  | SPREAD = 0.5 | ||||||
|  |  | ||||||
|  | [node name="Sprite2D" parent="." index="0"] | ||||||
|  | position = Vector2(59, 19) | ||||||
|  | scale = Vector2(1.25134, 1.25134) | ||||||
|  | texture = ExtResource("3_ltgsm") | ||||||
|  |  | ||||||
|  | [node name="RayCast2D" parent="." index="1"] | ||||||
|  | position = Vector2(59, 0) | ||||||
		Reference in New Issue
	
	Block a user