Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
656026aa09 | ||
|
|
43b38b2428 | ||
|
|
3b0b981337 | ||
|
|
4fd5347f85 | ||
|
|
4cb37c624d | ||
|
|
c40cbc4574 | ||
|
|
6d428ea773 | ||
|
|
1b6d1bd09c | ||
|
|
78d1c205de | ||
|
|
90b8cf1ca5 | ||
|
|
83ed18c332 | ||
|
|
f79772cec3 | ||
|
|
2efad0d7e8 | ||
|
|
20f58f89ca | ||
|
|
105931a173 | ||
|
|
0b68c7beb0 | ||
|
|
04a643e140 | ||
|
|
50566f8ee8 | ||
|
|
3abf25e1a0 | ||
|
|
a950e2b15f | ||
|
|
5af8efa2d4 | ||
|
|
92f0cb57c0 | ||
|
|
6848bd3d79 | ||
|
|
e363e614e7 | ||
|
|
abfb8002af | ||
|
|
233bbcfacf | ||
|
|
30b2ec013e | ||
|
|
b86decec25 | ||
|
|
ca04b528bc | ||
|
|
c3fd30b03c | ||
|
|
97db316493 | ||
|
|
7dac88aba2 | ||
|
|
821cdf28fd | ||
|
|
ad7bd76027 | ||
|
|
722f600b20 | ||
|
|
7f899d56b4 | ||
|
|
4bf090754c | ||
|
|
a673218fa9 | ||
|
|
12ed9ae894 | ||
|
|
0a2c8211fd | ||
|
|
3a8b18f821 | ||
|
|
f94d68efef | ||
|
|
d1fb937a93 | ||
|
|
457c6df5c0 | ||
|
|
b535b67b9e | ||
|
|
ecb1ac779a | ||
|
|
d9c0167b36 | ||
|
|
5963dd8441 | ||
|
|
c28463320a | ||
|
|
6eb19de382 | ||
|
|
90bf329802 | ||
|
|
bafdae2cfd | ||
|
|
5c8dccf9d7 | ||
|
|
3fd117857c | ||
|
|
7072ddb73d | ||
|
|
82ae4dfc7f | ||
|
|
22abac2f11 | ||
|
|
b35880212e | ||
|
|
e7e33fa481 | ||
|
|
2342c5b372 | ||
|
|
b9f972f713 | ||
|
|
8aa0978aa0 | ||
|
|
7bcdfb1f7a | ||
|
|
8fa42abc6f | ||
|
|
957bda4dc7 | ||
|
|
0209b1d02e | ||
|
|
cf23f23e2e | ||
|
|
f7f999abc5 | ||
|
|
008b2d2490 | ||
|
|
9251a1dff6 | ||
|
|
7c7a123f97 | ||
|
|
83026394fc | ||
|
|
0bbc0d7c86 | ||
|
|
8f83d8b811 | ||
|
|
0f7c52b776 | ||
|
|
85847e3340 |
No files matched your search
@@ -1,3 +1,5 @@
|
||||
# Godot 4+ specific ignores
|
||||
.godot/
|
||||
/android/
|
||||
/web_released
|
||||
/web_released
|
||||
@@ -35,9 +35,9 @@ anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 83.0
|
||||
offset_top = 301.0
|
||||
offset_top = 306.0
|
||||
offset_right = -77.0
|
||||
offset_bottom = -227.0
|
||||
offset_bottom = -246.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
bbcode_enabled = true
|
||||
|
||||
|
After Width: | Height: | Size: 21 KiB |
@@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://u2pls12umjb4"
|
||||
path="res://.godot/imported/index.png-4e9e8d383724ead390b9cd460dfa0229.ctex"
|
||||
uid="uid://wbtg6085ukle"
|
||||
path="res://.godot/imported/FE0031B4.jpg-22e832d7b8cf85d577d1d3994d8e3ce0.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://web_released/index.png"
|
||||
dest_files=["res://.godot/imported/index.png-4e9e8d383724ead390b9cd460dfa0229.ctex"]
|
||||
source_file="res://FE0031B4.jpg"
|
||||
dest_files=["res://.godot/imported/FE0031B4.jpg-22e832d7b8cf85d577d1d3994d8e3ce0.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
After Width: | Height: | Size: 250 KiB |
@@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bexc8mxf4wunh"
|
||||
path="res://.godot/imported/index.icon.png-cd84f171887b41d406500683c840dd56.ctex"
|
||||
uid="uid://dbjb5a353bq5p"
|
||||
path="res://.godot/imported/+Y6tTX.png-727916852968e76cc993d8b7d6d6d93a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://web_released/index.icon.png"
|
||||
dest_files=["res://.godot/imported/index.icon.png-cd84f171887b41d406500683c840dd56.ctex"]
|
||||
source_file="res://art/+Y6tTX.png"
|
||||
dest_files=["res://.godot/imported/+Y6tTX.png-727916852968e76cc993d8b7d6d6d93a.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
After Width: | Height: | Size: 255 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cgyp2d3phoeqd"
|
||||
path="res://.godot/imported/CwIZf+.png-d1acec1f682e0950ce7b5cc0bfb297db.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/CwIZf+.png"
|
||||
dest_files=["res://.godot/imported/CwIZf+.png-d1acec1f682e0950ce7b5cc0bfb297db.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 431 B |
@@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cluf02f4cbby5"
|
||||
path="res://.godot/imported/saw4.png-bd621fa9909b47415f5261a3f191e63a.ctex"
|
||||
uid="uid://dcyvfmgsg1nm5"
|
||||
path="res://.godot/imported/cap1.png-fc21e6cc068913c32843c2c7ea1072d3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/saw4.png"
|
||||
dest_files=["res://.godot/imported/saw4.png-bd621fa9909b47415f5261a3f191e63a.ctex"]
|
||||
source_file="res://art/hats/cap1.png"
|
||||
dest_files=["res://.godot/imported/cap1.png-fc21e6cc068913c32843c2c7ea1072d3.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
After Width: | Height: | Size: 483 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://yfsrxlyjud4t"
|
||||
path="res://.godot/imported/hat_pirate.png-80de1beb90325d56da29d3964ab05f41.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/hats/hat_pirate.png"
|
||||
dest_files=["res://.godot/imported/hat_pirate.png-80de1beb90325d56da29d3964ab05f41.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 449 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://0sasam50end2"
|
||||
path="res://.godot/imported/meatboy1.png-d06dfded7f5d860bfd690ed307415e07.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/hats/meatboy1.png"
|
||||
dest_files=["res://.godot/imported/meatboy1.png-d06dfded7f5d860bfd690ed307415e07.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 458 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cfqdhwfoqlwy"
|
||||
path="res://.godot/imported/meatboy2.png-bf250d529a9f88dbbd30439e9acead90.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/hats/meatboy2.png"
|
||||
dest_files=["res://.godot/imported/meatboy2.png-bf250d529a9f88dbbd30439e9acead90.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 447 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://donreb0qheu16"
|
||||
path="res://.godot/imported/meatboy3.png-a2941ef2fc3948671036a07f525032ab.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/hats/meatboy3.png"
|
||||
dest_files=["res://.godot/imported/meatboy3.png-a2941ef2fc3948671036a07f525032ab.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 458 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cnxgew788j5y"
|
||||
path="res://.godot/imported/meatboy4.png-1b02cf586297202cfeafe72bb5606f1e.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/hats/meatboy4.png"
|
||||
dest_files=["res://.godot/imported/meatboy4.png-1b02cf586297202cfeafe72bb5606f1e.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 951 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://qm5i00us5qaf"
|
||||
path="res://.godot/imported/pickup_sprite.png-9ccf730289cc3dabf540e4bf37dff84b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/hats/pickup_sprite.png"
|
||||
dest_files=["res://.godot/imported/pickup_sprite.png-9ccf730289cc3dabf540e4bf37dff84b.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 486 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d3tqa3wkd5kf0"
|
||||
path="res://.godot/imported/pope1.png-cad83b64a1f36e0b89fa07729920a666.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/hats/pope1.png"
|
||||
dest_files=["res://.godot/imported/pope1.png-cad83b64a1f36e0b89fa07729920a666.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 463 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://chpue8w8jicmd"
|
||||
path="res://.godot/imported/wizard1.png-45a9eeec5a2f111970eb5e1ad17b4526.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/hats/wizard1.png"
|
||||
dest_files=["res://.godot/imported/wizard1.png-45a9eeec5a2f111970eb5e1ad17b4526.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 463 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cdjuphq2uwxpy"
|
||||
path="res://.godot/imported/wizard2.png-19319b0dd95a8e0ef4163ec961dadcb2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/hats/wizard2.png"
|
||||
dest_files=["res://.godot/imported/wizard2.png-19319b0dd95a8e0ef4163ec961dadcb2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 308 KiB |
@@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bf3kv2cgp3joy"
|
||||
path="res://.godot/imported/saw5.png-ed46765cd6d0897adf9e5347c71ffad8.ctex"
|
||||
uid="uid://wfsj2b8bpr56"
|
||||
path="res://.godot/imported/ie382o.png-08c93a780308d3a3514a4445a6140b23.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/saw5.png"
|
||||
dest_files=["res://.godot/imported/saw5.png-ed46765cd6d0897adf9e5347c71ffad8.ctex"]
|
||||
source_file="res://art/ie382o.png"
|
||||
dest_files=["res://.godot/imported/ie382o.png-08c93a780308d3a3514a4445a6140b23.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://l431ym5nib7x"
|
||||
path="res://.godot/imported/notepad.png-c581b10e362aca42d2db61b666a08797.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/notepad.png"
|
||||
dest_files=["res://.godot/imported/notepad.png-c581b10e362aca42d2db61b666a08797.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
Before Width: | Height: | Size: 660 B After Width: | Height: | Size: 588 B |
|
Before Width: | Height: | Size: 664 B After Width: | Height: | Size: 578 B |
|
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 575 B |
|
Before Width: | Height: | Size: 638 B |
|
Before Width: | Height: | Size: 639 B |
|
After Width: | Height: | Size: 659 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d22jcb3da431q"
|
||||
path="res://.godot/imported/saw_chain.png-426bf95addbff87985501cf0b0665d08.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/saw_chain.png"
|
||||
dest_files=["res://.godot/imported/saw_chain.png-426bf95addbff87985501cf0b0665d08.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
After Width: | Height: | Size: 340 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c6pasbohqevvg"
|
||||
path="res://.godot/imported/Obsessing.png-8b0f509d4e389e6ea44984fd546a9050.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/slides/Obsessing.png"
|
||||
dest_files=["res://.godot/imported/Obsessing.png-8b0f509d4e389e6ea44984fd546a9050.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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
|
||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 5.8 KiB |
@@ -9,7 +9,6 @@ func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
print(body)
|
||||
$AudioStreamPlayer2D.play()
|
||||
visible = false
|
||||
%Player2D.coins += 1
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_scene format=3 uid="uid://1wpbevbqjvxc"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_4o75i"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 14)
|
||||
|
||||
[node name="DoubleBlockS" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
scale = Vector2(2, 1)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("1_4o75i")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(-32, -16, 32, 16)
|
||||
@@ -0,0 +1,20 @@
|
||||
extends Node2D
|
||||
|
||||
@export var hat_type:= ""
|
||||
|
||||
var hat_texture = load("res://art/hats/" + str(hat_type) + ".png")
|
||||
|
||||
func _ready() -> void:
|
||||
hat_texture = load("res://art/hats/" + str(hat_type) + ".png")
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
print("BODY: " + str(body))
|
||||
%Player2D/HatSound.play()
|
||||
visible = false
|
||||
%Player2D/Sprite2D/HatSprite.texture = hat_texture
|
||||
%Player2D/Sprite2D/HatSprite.show()
|
||||
await get_tree().create_timer(0.2).timeout
|
||||
queue_free()
|
||||
@@ -0,0 +1 @@
|
||||
uid://47y55iry2pd6
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://bnuiagw3bblfh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://47y55iry2pd6" path="res://hat_pickup.gd" id="1_fs7cl"]
|
||||
[ext_resource type="Texture2D" uid="uid://qm5i00us5qaf" path="res://art/hats/pickup_sprite.png" id="2_fs7cl"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_y0cpo"]
|
||||
|
||||
[node name="HatPickup" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_fs7cl")
|
||||
|
||||
[node name="HatSprite" type="Sprite2D" parent="." unique_id=813041394]
|
||||
position = Vector2(0, -8)
|
||||
texture = ExtResource("2_fs7cl")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=726438646]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=278855113]
|
||||
position = Vector2(0, -7)
|
||||
shape = SubResource("CircleShape2D_y0cpo")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -9,7 +9,6 @@ func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
print(body)
|
||||
$AudioStreamPlayer2D.play()
|
||||
visible = false
|
||||
%Player2D.coins += 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6qpsl"]
|
||||
height = 26.0
|
||||
|
||||
[node name="HiddenCoin" type="Node2D" unique_id=1739014101]
|
||||
[node name="HiddenCoin" type="Node2D" unique_id=1739014101 groups=["Hidden"]]
|
||||
visible = false
|
||||
script = ExtResource("1_4tl78")
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
[ext_resource type="Script" uid="uid://dcesonmhay5vo" path="res://hidden_vertical_long_block.gd" id="1_llak8"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckqable762x8v" path="res://block.tscn" id="2_se82m"]
|
||||
|
||||
[node name="HiddenHorizontalLongBlock" type="RigidBody2D" unique_id=925152188]
|
||||
[node name="HiddenHorizontalLongBlock" type="RigidBody2D" unique_id=925152188 groups=["Hidden"]]
|
||||
modulate = Color(0, 0.54509807, 0.54509807, 1)
|
||||
rotation = 3.1415927
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
extends RigidBody2D
|
||||
|
||||
@export var max_distance = 260.0
|
||||
@export var moving = true
|
||||
var alt_position = Vector2(position.x + max_distance,0)
|
||||
@export var move_speed = 0.01
|
||||
|
||||
func _ready() -> void:
|
||||
add_to_group("Hidden")
|
||||
modulate = Color.DARK_CYAN
|
||||
#Do not move collision boxes, it is fickle.
|
||||
#on_leave(%Player2D)
|
||||
alt_position = Vector2(position.x + max_distance,0)
|
||||
add_to_group("MovingPlatform")
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if position.x != alt_position.x:
|
||||
position.x = move_toward(position.x, alt_position.x, move_speed)
|
||||
else:
|
||||
moving = false
|
||||
%Player2D.is_on_moving_platform = false
|
||||
#%Player2D.platform_speed = 0.0
|
||||
|
||||
func on_enter(body) -> void:
|
||||
if %Player2D.is_on_floor() and body == %Player2D:
|
||||
print("Player on moving platform.")
|
||||
%Player2D.platform_speed = move_speed
|
||||
%Player2D.is_on_moving_platform = true
|
||||
elif body == %Player2D and !%Player2D.is_on_wall_only:
|
||||
print("Player but has not landed")
|
||||
%Player2D.platform_speed = move_speed
|
||||
%Player2D.is_on_moving_platform = true
|
||||
elif body == %Player2D:
|
||||
print("SOMETHING IS WRONG WITH PLAYER")
|
||||
%Player2D.platform_speed = move_speed
|
||||
%Player2D.is_on_moving_platform = true
|
||||
|
||||
func on_leave(body) -> void:
|
||||
if body == %Player2D:
|
||||
%Player2D.is_on_moving_platform = false
|
||||
#%Player2D.platform_speed = 0.0
|
||||
@@ -0,0 +1 @@
|
||||
uid://ckn8q0fyt01j3
|
||||
@@ -0,0 +1,40 @@
|
||||
[gd_scene format=3 uid="uid://b61sumdnt0qqh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ckn8q0fyt01j3" path="res://hidden_horizontal_moving_block.gd" id="1_c4g4s"]
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="2_c7hrt"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(32, 13)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3uo2v"]
|
||||
size = Vector2(32, 4.0000687)
|
||||
|
||||
[node name="HiddenHorizontalMovingBlock" type="RigidBody2D" unique_id=1409784601 groups=["Hidden"]]
|
||||
modulate = Color(0, 0.54509807, 0.54509807, 1)
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
script = ExtResource("1_c4g4s")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
position = Vector2(0, -1.5)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_filter = 1
|
||||
position = Vector2(-8, -2)
|
||||
texture = ExtResource("2_c7hrt")
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=549053101]
|
||||
texture_filter = 1
|
||||
position = Vector2(8, -2)
|
||||
texture = ExtResource("2_c7hrt")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=1910272404]
|
||||
rotation = -6.834404e-05
|
||||
|
||||
[node name="ShapeCast2D" type="CollisionShape2D" parent="Area2D" unique_id=934904308]
|
||||
position = Vector2(0.000615094, -8.999966)
|
||||
shape = SubResource("RectangleShape2D_3uo2v")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_enter"]
|
||||
[connection signal="body_exited" from="Area2D" to="." method="on_leave"]
|
||||
@@ -8,7 +8,7 @@
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
|
||||
size = Vector2(26, 32)
|
||||
|
||||
[node name="HiddenSign" type="Node2D" unique_id=1201409437]
|
||||
[node name="HiddenSign" type="Node2D" unique_id=1201409437 groups=["Hidden"]]
|
||||
script = ExtResource("1_a20ku")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
|
||||
@@ -2,6 +2,7 @@ extends Node2D
|
||||
|
||||
func _ready() -> void:
|
||||
add_to_group("Hidden")
|
||||
modulate = Color.DARK_CYAN
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
@@ -11,4 +12,3 @@ func on_contact(body: Node2D) -> void:
|
||||
print("SLASH KILL")
|
||||
%Player2D/Jetpack/DeathSound.play()
|
||||
%Player2D.on_death(false,%Player2D.position)
|
||||
print(body)
|
||||
@@ -6,7 +6,7 @@
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xfwl5"]
|
||||
size = Vector2(15, 7.5)
|
||||
|
||||
[node name="HiddenSpike" type="Node2D" unique_id=1739014101]
|
||||
[node name="HiddenSpike" type="Node2D" unique_id=1739014101 groups=["Hidden"]]
|
||||
visible = false
|
||||
script = ExtResource("1_k2eht")
|
||||
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
extends Node2D
|
||||
|
||||
@export var paired_teleporter: String
|
||||
var checked_teleport
|
||||
var telecam_speed_mult = 4
|
||||
var enabled = true
|
||||
var cooldown = 2
|
||||
|
||||
func _ready() -> void:
|
||||
modulate = Color.PURPLE
|
||||
add_to_group("TELEPORTERS")
|
||||
add_to_group("Hidden")
|
||||
|
||||
func check_for_pair() -> String:
|
||||
print(paired_teleporter)
|
||||
return paired_teleporter
|
||||
|
||||
func disable():
|
||||
enabled = false
|
||||
$Sprite2D.modulate = Color.DARK_ORANGE
|
||||
|
||||
func enable():
|
||||
enabled = true
|
||||
$Sprite2D.modulate = Color.WHITE
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func _on_contact(body) -> void:
|
||||
#get_tree().call_group("TELEPORTERS","disable")
|
||||
for teleporter in get_tree().get_nodes_in_group("TELEPORTERS"):
|
||||
if teleporter != self:
|
||||
if teleporter.paired_teleporter == paired_teleporter and enabled:
|
||||
%Player2D.get_node("Camera2D").position_smoothing_enabled = false
|
||||
if %Player2D.teleport_cooldown > 0:
|
||||
return
|
||||
body.set_position(teleporter.get_position())
|
||||
%Player2D.on_teleport()
|
||||
disable()
|
||||
await get_tree().create_timer(cooldown).timeout
|
||||
enable()
|
||||
@@ -1 +0,0 @@
|
||||
uid://btxx0p5ccar5f
|
||||
@@ -1,40 +0,0 @@
|
||||
[gd_scene format=3 uid="uid://7bjqgxckho"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://btxx0p5ccar5f" path="res://hidden_teleporter.gd" id="1_52wed"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0tvtt4eu8jmt" path="res://art/block/portal.png" id="2_rx1y0"]
|
||||
[ext_resource type="Texture2D" uid="uid://55ihxa2emnep" path="res://art/block/portal2.png" id="3_5admx"]
|
||||
[ext_resource type="Texture2D" uid="uid://d4a5x8gwhl2wc" path="res://art/block/portal3.png" id="4_tfiuq"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_tuehi"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_rx1y0")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_5admx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_tfiuq")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_7k7bx"]
|
||||
radius = 9.0
|
||||
|
||||
[node name="HiddenTeleporter" type="Node2D" unique_id=1201409437]
|
||||
script = ExtResource("1_52wed")
|
||||
|
||||
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=395479262]
|
||||
sprite_frames = SubResource("SpriteFrames_tuehi")
|
||||
autoplay = "default"
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
||||
shape = SubResource("CircleShape2D_7k7bx")
|
||||
|
||||
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_contact"]
|
||||
@@ -3,8 +3,8 @@
|
||||
[ext_resource type="Script" uid="uid://dcesonmhay5vo" path="res://hidden_vertical_long_block.gd" id="1_tmhet"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckqable762x8v" path="res://block.tscn" id="2_667v4"]
|
||||
|
||||
[node name="HiddenVerticalLongBlock" type="RigidBody2D" unique_id=925152188]
|
||||
visible = false
|
||||
[node name="HiddenVerticalLongBlock" type="RigidBody2D" unique_id=925152188 groups=["Hidden"]]
|
||||
modulate = Color(0, 0.54509807, 0.54509807, 1)
|
||||
rotation = 1.5707964
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
extends RigidBody2D
|
||||
|
||||
@export var max_distance = 260.0
|
||||
@export var moving = true
|
||||
var alt_position = Vector2(position.x + max_distance,0)
|
||||
@export var move_speed = 0.01
|
||||
|
||||
func _ready() -> void:
|
||||
#Do not move collision boxes, it is fickle.
|
||||
#on_leave(%Player2D)
|
||||
alt_position = Vector2(position.x + max_distance,0)
|
||||
add_to_group("MovingPlatform")
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if position.x != alt_position.x:
|
||||
position.x = move_toward(position.x, alt_position.x, move_speed)
|
||||
else:
|
||||
moving = false
|
||||
%Player2D.is_on_moving_platform = false
|
||||
#%Player2D.platform_speed = 0.0
|
||||
|
||||
func on_enter(body) -> void:
|
||||
if %Player2D.is_on_floor() and body == %Player2D:
|
||||
print("Player on moving platform.")
|
||||
%Player2D.platform_speed = move_speed
|
||||
%Player2D.is_on_moving_platform = true
|
||||
elif body == %Player2D and !%Player2D.is_on_wall_only:
|
||||
print("Player but has not landed")
|
||||
%Player2D.platform_speed = move_speed
|
||||
%Player2D.is_on_moving_platform = true
|
||||
elif body == %Player2D:
|
||||
print("SOMETHING IS WRONG WITH PLAYER")
|
||||
%Player2D.platform_speed = move_speed
|
||||
%Player2D.is_on_moving_platform = true
|
||||
|
||||
func on_leave(body) -> void:
|
||||
if body == %Player2D:
|
||||
%Player2D.is_on_moving_platform = false
|
||||
#%Player2D.platform_speed = 0.0
|
||||
@@ -0,0 +1 @@
|
||||
uid://yaqgvctkobnq
|
||||
@@ -0,0 +1,39 @@
|
||||
[gd_scene format=3 uid="uid://div6quttr84u1"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://yaqgvctkobnq" path="res://horizontal_moving_block.gd" id="1_3uo2v"]
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_m1vtb"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(32, 13)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3uo2v"]
|
||||
size = Vector2(32, 4.0000687)
|
||||
|
||||
[node name="HorizontalMovingBlock" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
script = ExtResource("1_3uo2v")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
position = Vector2(0, -1.5)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_filter = 1
|
||||
position = Vector2(-8, -2)
|
||||
texture = ExtResource("1_m1vtb")
|
||||
|
||||
[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=549053101]
|
||||
texture_filter = 1
|
||||
position = Vector2(8, -2)
|
||||
texture = ExtResource("1_m1vtb")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=1910272404]
|
||||
rotation = -6.834404e-05
|
||||
|
||||
[node name="ShapeCast2D" type="CollisionShape2D" parent="Area2D" unique_id=934904308]
|
||||
position = Vector2(0.000615094, -8.999966)
|
||||
shape = SubResource("RectangleShape2D_3uo2v")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_enter"]
|
||||
[connection signal="body_exited" from="Area2D" to="." method="on_leave"]
|
||||
@@ -1 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><rect width="124" height="124" x="2" y="2" fill="#363d52" stroke="#212532" stroke-width="4" rx="14"/><g fill="#fff" transform="translate(12.322 12.322)scale(.101)"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 814 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H446l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c0 34 58 34 58 0v-86c0-34-58-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042" transform="translate(12.322 12.322)scale(.101)"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></svg>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 96 64">
|
||||
<image width="96" height="64" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABACAYAAADlNHIOAAAACXBIWXMAAAsSAAALEgHS3X78AAABpklEQVR4nO3cMUoDQRTG8VnxPl7AYttgZyVYW3iAYBfBTnIAF0SshKQRUoS0i+QCHmXNAdZ6HrjDMMl+M+7/BykGks0kHy8vOztJ5ZzrHWTOeOu1CECMAMQIQIwAxAhA7Ly0Ce8+lhnM4m+z23nU/akAMQIQIwCx4npASPdzyHuCBhUgRgBiBCD273qAWl3X3gzath2cERUgRgBiBCCWfQ/Ife0nFRUgRgBiBCBW3HnA8+vWGz/cXQ3e/+b+yRv3vb8LZ908nvTxIVSAGAGIEYDY5AKoqsq7jf14iwoQIwAxAhDLfnt67FqQ+ppws/7yxlwPyBwBiBGAWPZrQaG9lqVfL6ACxAhAjADEknvA8nM36iuYX8+Oejy73m+tXhZHfT6LChAjADECEJv83tDUz3i79hOLChAjADECECu+B8T+Ltey+/ljhdb7Q6gAMQIQIwCxk/eAQ9d54+/98Gfm5q3xxnatyY73203yHJPQA8pGAGIEIDb6ecDFpf+9O9QTYo9n2ePbHrN4XyU9vz1eLCpAjADECECMvy4WowLECECMADBhzrlf4+1RaAhPjVAAAAAASUVORK5CYII="/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 995 B After Width: | Height: | Size: 920 B |
@@ -3,22 +3,26 @@ extends Control
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
$Slideshower.play_slideshow([
|
||||
{ "image": "Daydreaming",
|
||||
"text": "Ever since he was a wee lad, Mr. Rhombini had always had one dream - to fly around in a blinged up jetpack." },
|
||||
|
||||
{ "image": "Obsessing",
|
||||
"text": "Mr.Rhombini heard rumors online of Ancient Technology hidden in the ruins of an ancient society." },
|
||||
{ "image": "res://art/keyart_thumb.png",
|
||||
"text": "The internet has been abuzz with talks of a legendary Pharaoh's jetpack. Mr. Rhombini's day has come." },
|
||||
"text": "When Mr. Rhombini heard of the legendary Pharaoh's jetpack, he could feel himself becoming obsessed." },
|
||||
{ "image": "Journey",
|
||||
"text": "Under the cover of night, Mr. Rhombini sneaks into the famous pharaoh's pyramid. This night, of all nights, it seems to glow with strange energy." },
|
||||
"text": "Under the cover of night, Mr. Rhombini decided to sneak into the pyramid." },
|
||||
{ "image": "Goatcaphagus",
|
||||
"text": "Mr. Rhombini stumbles upon an unusual sarcophagus, a blend of ancient craftsmanship and advanced technology. The antenna have been disconnected." },
|
||||
"text": "Mr. Rhombini stumbled upon an unusual sarcophagus.
|
||||
He notices that the antennae have been disconnected." },
|
||||
{ "image": "Activate",
|
||||
"text": "Mr. Rhombini excitedly connects the antenna. The sarcophagus begins to hum." },
|
||||
{ "image": "Opensofar",
|
||||
"text": "The sarcophagus swings open to reveal, not a dead body, but an old computer. The computer begins to boot up, but an error message is visible on the main screen." },
|
||||
"text": "Mr. Rhombini excitedly connects the second antenna. He hears the Ancient Technoloy begin to hum." },
|
||||
{ "image": "Nicegoat",
|
||||
"text": "The sarcophagus swings open to reveal, not a dead body, but a mysterious machine.
|
||||
The Ancient Technology begins to boot up, but an error message is visible on the main screen." },
|
||||
{ "images": ["PossessedbyOC", "Power_source"],
|
||||
"text": "However, Mr. Rhombini's attention is instantly grabbed by the other object inside the open sarcophagus." },
|
||||
"text": "Mr. Rhombini's attention is instantly grabbed by the other object inside the open sarcophagus." },
|
||||
{ "image": "Glow",
|
||||
"text": "The Pharaoh's jetpack! Mr. Rhombini wastes no time in putting it on." }
|
||||
"text": "The Pharaoh's jetpack! The legends were true! ( It's definitely not cursed! )
|
||||
Mr. Rhombini wastes no time putting on the Pharaoh's Jetpack." }
|
||||
])
|
||||
|
||||
func _on_slideshower_finished_playing() -> void:
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_scene format=3 uid="uid://crmvdya3m7mll"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_c1qw8"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 14)
|
||||
|
||||
[node name="LevelBorderBlock" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
scale = Vector2(64, 1)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("1_c1qw8")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(-1024, -16, 1024, 16)
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://b4221qweamyvs"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_jmk5n"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 14)
|
||||
|
||||
[node name="LevelBorderBlockV" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
scale = Vector2(1, 36.56)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_repeat = 2
|
||||
rotation = 1.5707964
|
||||
texture = ExtResource("1_jmk5n")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(-512, 16, 512, 16)
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_scene format=3 uid="uid://c6n6v8ko733yd"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_m7sdc"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 14)
|
||||
|
||||
[node name="LongBlockS" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
scale = Vector2(10, 1)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("1_m7sdc")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(-160, -16, 160, 16)
|
||||
@@ -11,4 +11,3 @@ func on_contact(body: Node2D) -> void:
|
||||
print("SLASH KILL")
|
||||
%Player2D/Jetpack/DeathSound.play()
|
||||
%Player2D.on_death(false,%Player2D.position)
|
||||
print(body)
|
||||
@@ -0,0 +1,20 @@
|
||||
[gd_scene format=3 uid="uid://co7sblp40sat2"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_l676e"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 14)
|
||||
|
||||
[node name="LongishBlockS" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
scale = Vector2(5, 1)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_repeat = 2
|
||||
texture = ExtResource("1_l676e")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(-80, -16, 80, 16)
|
||||
@@ -12,5 +12,7 @@ func _on_toggled(toggled_on: bool) -> void:
|
||||
if !first_press:
|
||||
first_press = true
|
||||
%Player2D.get_node("BackgroundMusic").play()
|
||||
%Player2D.get_node("MeditateMusic").play()
|
||||
toggled_on = !toggled_on
|
||||
%Player2D.get_node("BackgroundMusic").stream_paused = !%Player2D.get_node("BackgroundMusic").stream_paused
|
||||
%Player2D.get_node("MeditateMusic").stream_paused = !%Player2D.get_node("MeditateMusic").stream_paused
|
||||
@@ -4,6 +4,10 @@ func set_open (is_open: bool) -> void:
|
||||
$Sprite2D.play("open" if is_open else "closed")
|
||||
|
||||
func _on_interacted() -> void:
|
||||
for sarcophagus in get_tree().get_nodes_in_group("sarcophagi"):
|
||||
sarcophagus.set_open(sarcophagus == self)
|
||||
|
||||
await get_tree().create_timer(0.15).timeout
|
||||
%OldComputer.open()
|
||||
|
||||
#Accomodate some collision antics.
|
||||
@@ -12,10 +16,7 @@ func _on_interacted() -> void:
|
||||
if %Player2D.spawn_point != new_spawn_point:
|
||||
%Player2D.spawn_point = new_spawn_point
|
||||
%OldComputer.printline(">> Respawn point set to %s" % new_spawn_point)
|
||||
|
||||
for sarcophagus in get_tree().get_nodes_in_group("sarcophagi"):
|
||||
sarcophagus.set_open(sarcophagus == self)
|
||||
|
||||
|
||||
var wanted_disk = %OldComputer.get_next_disk_num()
|
||||
|
||||
if %Player2D.complete_objective("sarc"):
|
||||
|
||||
@@ -12,7 +12,6 @@ func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
print(body)
|
||||
$AudioStreamPlayer2D.play(0)
|
||||
visible = false
|
||||
picked_up.emit()
|
||||
|
||||
@@ -11,6 +11,9 @@ const JUMP_VELOCITY = -410.0
|
||||
const DASH_LENGTH = 0.2
|
||||
const BACKGROUND_COLOR = Color(Color.ORANGE.r + 0.80,Color.ORANGE.g + 0.20,Color.ORANGE.b - 0.10)
|
||||
|
||||
var is_on_moving_platform = false
|
||||
var platform_speed = 0.0
|
||||
|
||||
var death_cooldown = 0.0
|
||||
var fall_timer = 0.0
|
||||
var teleport_cooldown = 0
|
||||
@@ -30,6 +33,16 @@ func _ready() -> void:
|
||||
spawn_point = position
|
||||
DisplayServer.window_set_title("JUMPS EQUALS JUMPS")
|
||||
give_objective("sarc", 0, "Open the Sarcophagus")
|
||||
|
||||
for hidden_object in get_tree().get_nodes_in_group("Hidden in editor"):
|
||||
hidden_object.show()
|
||||
|
||||
for hidden_object in get_tree().get_nodes_in_group("Hidden"):
|
||||
hidden_object.hide()
|
||||
|
||||
if not OS.is_debug_build():
|
||||
for object in get_tree().get_nodes_in_group("Debug Mode Only"):
|
||||
object.queue_free()
|
||||
#%Dialogue.show_text("Hello world!").dismiss_after(2)
|
||||
|
||||
func refresh_dash(new_dashes):
|
||||
@@ -93,8 +106,6 @@ func spawn_ghost(ghost_position):
|
||||
var ghost = preload("res://ghost.tscn")
|
||||
ghost = ghost.instantiate()
|
||||
get_parent().add_child(ghost)
|
||||
print(ghost)
|
||||
print(ghost.position)
|
||||
ghost.position = ghost_position
|
||||
|
||||
func on_death(instant = false, player_position = position):
|
||||
@@ -116,16 +127,19 @@ func on_death(instant = false, player_position = position):
|
||||
|
||||
#position = %LevelStart.position
|
||||
velocity = Vector2(0,0)
|
||||
position = spawn_point + Vector2(0,-100)
|
||||
var fall_offset = Vector2(0,-100)
|
||||
position = spawn_point# + fall_offset
|
||||
await get_tree().create_timer(0.1).timeout
|
||||
death_cooldown = 0
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
|
||||
if is_on_moving_platform:
|
||||
position.x = position.x + platform_speed
|
||||
|
||||
if Input.is_key_pressed(Key.KEY_W) or Input.is_key_pressed(Key.KEY_A) or Input.is_key_pressed(Key.KEY_S) or Input.is_key_pressed(Key.KEY_D):
|
||||
print("KEYBOARD")
|
||||
controller_ui = false
|
||||
elif Input.get_action_strength("move_horizontal") > 0:
|
||||
print("CONTROLLER")
|
||||
controller_ui = true
|
||||
|
||||
if Input.is_action_just_released("restart") or (Input.is_action_pressed("controller_restart_left") and Input.is_action_pressed("controller_restart_right")):
|
||||
@@ -161,9 +175,10 @@ func _process(delta: float) -> void:
|
||||
velocity.y = -(0.001 * JUMP_VELOCITY)
|
||||
|
||||
if Input.is_action_pressed("jump") and is_on_wall_only():
|
||||
print("WALL HANGING")
|
||||
#velocity.y = 0
|
||||
#velocity.x = 0
|
||||
pass
|
||||
#print("WALL HANGING")
|
||||
#velocity.y = 0
|
||||
#velocity.x = 0
|
||||
|
||||
var direction = Input.get_axis("move_left","move_right")
|
||||
|
||||
@@ -178,6 +193,9 @@ func _process(delta: float) -> void:
|
||||
$Sprite2D.play("crouch")
|
||||
$Parallax2D/Sprite2D.modulate = Color.CYAN
|
||||
|
||||
$MeditateMusic.volume_db = 0
|
||||
$BackgroundMusic.volume_db = -100
|
||||
|
||||
for hidden_object in get_tree().get_nodes_in_group("Hidden"):
|
||||
hidden_object.show()
|
||||
|
||||
@@ -196,18 +214,21 @@ func _process(delta: float) -> void:
|
||||
elif direction and !dashing:
|
||||
velocity.x = direction * SPEED
|
||||
$Sprite2D.play("running")
|
||||
$Sprite2D/HatSprite.play("running")
|
||||
#$Sprite2D/HatSprite.play("running")
|
||||
|
||||
elif !dashing:
|
||||
elif !dashing and !is_on_moving_platform:
|
||||
velocity.x = move_toward(velocity.x, 0, FRICTION)
|
||||
$Sprite2D.play("idle")
|
||||
$Sprite2D/HatSprite.play("idle")
|
||||
#$Sprite2D/HatSprite.play("idle")
|
||||
$Parallax2D/Sprite2D.modulate = BACKGROUND_COLOR
|
||||
|
||||
$MeditateMusic.volume_db = -100
|
||||
$BackgroundMusic.volume_db = 0
|
||||
|
||||
if get_tree():
|
||||
for hidden_object in get_tree().get_nodes_in_group("Hidden"):
|
||||
hidden_object.hide()
|
||||
|
||||
|
||||
#Falling to death.
|
||||
if position.y >= death_threshold:
|
||||
print("SLASH KILL")
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
[ext_resource type="Shader" uid="uid://mmf86jusrkrr" path="res://shaders/warp_shader.gdshader" id="3_gt2ls"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpdxs6gjmexgh" path="res://art/background.png" id="3_p3026"]
|
||||
[ext_resource type="Script" uid="uid://544kxhmunfcp" path="res://background_music.gd" id="3_sxtm6"]
|
||||
[ext_resource type="AudioStream" uid="uid://8iiafankqo4i" path="res://sound/stepping.wav" id="4_ix7pg"]
|
||||
[ext_resource type="Texture2D" uid="uid://biv3f67rqumak" path="res://art/level_start.png" id="4_nj6as"]
|
||||
[ext_resource type="Script" uid="uid://3bqq3mfbby2c" path="res://warp_shader.gd" id="4_pmt5n"]
|
||||
[ext_resource type="Texture2D" uid="uid://ddhhtwgtowokp" path="res://art/player/crouch/frame1.png" id="6_3prq1"]
|
||||
@@ -17,16 +18,15 @@
|
||||
[ext_resource type="Texture2D" uid="uid://lmje8plw76e1" path="res://art/player/running/frame2.png" id="9_lu0ka"]
|
||||
[ext_resource type="Texture2D" uid="uid://bko8dvawpul3c" path="res://art/player/crystal4.png" id="9_ur4nw"]
|
||||
[ext_resource type="Texture2D" uid="uid://m5djssna67e1" path="res://art/player/crouch/frame3.png" id="9_w0gjo"]
|
||||
[ext_resource type="Texture2D" uid="uid://ba4kjeulthw1g" path="res://art/hats/dunce1.png" id="10_5s8kx"]
|
||||
[ext_resource type="Texture2D" uid="uid://cn31x2l44je2t" path="res://art/dash_glow.png" id="10_ur4nw"]
|
||||
[ext_resource type="Texture2D" uid="uid://biscdhn8jh8ha" path="res://art/jump_glow.png" id="11_3lee2"]
|
||||
[ext_resource type="Texture2D" uid="uid://cp1v5uhvbfws6" path="res://art/hats/dunce2.png" id="11_4apft"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgq8el2qldlui" path="res://art/player/crystal.png" id="12_4apft"]
|
||||
[ext_resource type="AudioStream" uid="uid://bkiipooikacjj" path="res://sound/patience.wav" id="12_5s8kx"]
|
||||
[ext_resource type="Texture2D" uid="uid://d1tj8sw2hiwgw" path="res://art/dash_particle.png" id="16_ur4nw"]
|
||||
[ext_resource type="Texture2D" uid="uid://deacp021ytuew" path="res://art/jump_particle.png" id="18_fat58"]
|
||||
[ext_resource type="AudioStream" uid="uid://b4dkj4gmvk7bg" path="res://sound/double_jump.wav" id="20_1741q"]
|
||||
[ext_resource type="AudioStream" uid="uid://dc7bd22vwkf34" path="res://sound/death.wav" id="20_l50qk"]
|
||||
[ext_resource type="AudioStream" uid="uid://q7eau835xuja" path="res://sound/secret.wav" id="27_sxtm6"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_pmt5n"]
|
||||
shader = ExtResource("3_gt2ls")
|
||||
@@ -82,28 +82,6 @@ animations = [{
|
||||
"speed": 12.0
|
||||
}]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_pmt5n"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("10_5s8kx")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"idle",
|
||||
"speed": 6.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("11_4apft")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("10_5s8kx")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"running",
|
||||
"speed": 6.0
|
||||
}]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_5s8kx"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
@@ -134,6 +112,14 @@ script = ExtResource("1_sy00s")
|
||||
|
||||
[node name="BackgroundMusic" type="AudioStreamPlayer2D" parent="." unique_id=299359239]
|
||||
stream = ExtResource("12_5s8kx")
|
||||
autoplay = true
|
||||
playback_type = 1
|
||||
script = ExtResource("3_sxtm6")
|
||||
|
||||
[node name="MeditateMusic" type="AudioStreamPlayer2D" parent="." unique_id=1027402564]
|
||||
stream = ExtResource("4_ix7pg")
|
||||
volume_db = -80.0
|
||||
autoplay = true
|
||||
playback_type = 1
|
||||
script = ExtResource("3_sxtm6")
|
||||
|
||||
@@ -173,14 +159,10 @@ animation = &"crouch"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.030440537
|
||||
|
||||
[node name="HatSprite" type="AnimatedSprite2D" parent="Sprite2D" unique_id=1954184475]
|
||||
[node name="HatSprite" type="Sprite2D" parent="Sprite2D" unique_id=122612770]
|
||||
visible = false
|
||||
position = Vector2(0, -13)
|
||||
scale = Vector2(0.9, 0.9)
|
||||
sprite_frames = SubResource("SpriteFrames_pmt5n")
|
||||
animation = &"running"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.8061519
|
||||
|
||||
[node name="DaydreamSprite" type="Sprite2D" parent="Sprite2D" unique_id=67766652]
|
||||
|
||||
@@ -225,3 +207,6 @@ stream = ExtResource("20_1741q")
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1294571021]
|
||||
position = Vector2(0, 3)
|
||||
shape = SubResource("CapsuleShape2D_ix7pg")
|
||||
|
||||
[node name="HatSound" type="AudioStreamPlayer2D" parent="." unique_id=508539941]
|
||||
stream = ExtResource("27_sxtm6")
|
||||
@@ -25,6 +25,8 @@ window/stretch/mode="canvas_items"
|
||||
[global_group]
|
||||
|
||||
Hidden=""
|
||||
"Hidden in editor"=""
|
||||
"Debug Mode Only"=""
|
||||
|
||||
[gui]
|
||||
|
||||
@@ -205,10 +207,27 @@ dash={
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
), Object(InputEventKey,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"window_id": 0,
|
||||
"alt_pressed": false,
|
||||
"shift_pressed": true,
|
||||
"ctrl_pressed": false,
|
||||
"meta_pressed": false,
|
||||
"pressed": false,
|
||||
"keycode": 0,
|
||||
"physical_keycode": 4194325,
|
||||
"key_label": 0,
|
||||
"unicode": 0,
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
dash_down={
|
||||
"deadzone": 0.2,
|
||||
"deadzone": 0.4,
|
||||
"events": [Object(InputEventJoypadMotion,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
@@ -233,6 +252,23 @@ dash_down={
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
), Object(InputEventKey,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"window_id": 0,
|
||||
"alt_pressed": false,
|
||||
"shift_pressed": false,
|
||||
"ctrl_pressed": false,
|
||||
"meta_pressed": false,
|
||||
"pressed": false,
|
||||
"keycode": 0,
|
||||
"physical_keycode": 4194322,
|
||||
"key_label": 0,
|
||||
"unicode": 0,
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
dash_left={
|
||||
@@ -261,6 +297,23 @@ dash_left={
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
), Object(InputEventKey,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"window_id": 0,
|
||||
"alt_pressed": false,
|
||||
"shift_pressed": false,
|
||||
"ctrl_pressed": false,
|
||||
"meta_pressed": false,
|
||||
"pressed": false,
|
||||
"keycode": 0,
|
||||
"physical_keycode": 4194319,
|
||||
"key_label": 0,
|
||||
"unicode": 0,
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
dash_right={
|
||||
@@ -289,6 +342,23 @@ dash_right={
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
), Object(InputEventKey,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"window_id": 0,
|
||||
"alt_pressed": false,
|
||||
"shift_pressed": false,
|
||||
"ctrl_pressed": false,
|
||||
"meta_pressed": false,
|
||||
"pressed": false,
|
||||
"keycode": 0,
|
||||
"physical_keycode": 4194321,
|
||||
"key_label": 0,
|
||||
"unicode": 0,
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
dash_up={
|
||||
@@ -317,6 +387,23 @@ dash_up={
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
), Object(InputEventKey,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"window_id": 0,
|
||||
"alt_pressed": false,
|
||||
"shift_pressed": false,
|
||||
"ctrl_pressed": false,
|
||||
"meta_pressed": false,
|
||||
"pressed": false,
|
||||
"keycode": 0,
|
||||
"physical_keycode": 4194320,
|
||||
"key_label": 0,
|
||||
"unicode": 0,
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
restart={
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
extends Node2D
|
||||
|
||||
@export var max_distance_x = 100.0
|
||||
@export var max_distance_y = 100.0
|
||||
@export var moving = true
|
||||
var alt_position = Vector2(position.x + max_distance_x,0)
|
||||
var alt_position2 = Vector2(position.x - max_distance_x,0)
|
||||
@export var move_speed = 0.0
|
||||
|
||||
func _ready() -> void:
|
||||
alt_position = Vector2(position.x + max_distance_x,0)
|
||||
alt_position2 = Vector2(position.x - max_distance_x,0)
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if position.x != alt_position.x:
|
||||
position.x = move_toward(position.x, alt_position.x, move_speed)
|
||||
else:
|
||||
position.x = move_toward(position.x, alt_position2.x, move_speed)
|
||||
moving = false
|
||||
%Player2D.is_on_moving_platform = false
|
||||
#%Player2D.platform_speed = 0.0
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
if body==%Player2D and %Player2D.death_cooldown == 0:
|
||||
print("SLASH KILL")
|
||||
%Player2D/Jetpack/DeathSound.play()
|
||||
%Player2D.on_death(false,%Player2D.position)
|
||||
@@ -0,0 +1 @@
|
||||
uid://dxgg37v8cxi76
|
||||
@@ -0,0 +1,54 @@
|
||||
[gd_scene format=3 uid="uid://c13khrhjy5nrj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dxgg37v8cxi76" path="res://saw.gd" id="1_reoe3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpftgnwkpx1rp" path="res://art/saw.png" id="2_b8b65"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfdjachaibh2u" path="res://art/saw2.png" id="3_tse5f"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwvvgwo87pct0" path="res://art/saw3.png" id="4_yv4k5"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_axvpk"]
|
||||
radius = 16.0
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_lmieu"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("2_b8b65")
|
||||
}, {
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("3_tse5f")
|
||||
}, {
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("4_yv4k5")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_xp7he"]
|
||||
radius = 18.0
|
||||
|
||||
[node name="Saw" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
script = ExtResource("1_reoe3")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
shape = SubResource("CircleShape2D_axvpk")
|
||||
|
||||
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=790714481]
|
||||
texture_filter = 1
|
||||
sprite_frames = SubResource("SpriteFrames_lmieu")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.39573506
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=1910272404]
|
||||
position = Vector2(19, 7)
|
||||
rotation = -6.834404e-05
|
||||
|
||||
[node name="ShapeCast2D" type="CollisionShape2D" parent="Area2D" unique_id=934904308]
|
||||
position = Vector2(-18.999523, -7.0012984)
|
||||
shape = SubResource("CircleShape2D_xp7he")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
[connection signal="body_exited" from="Area2D" to="." method="on_leave"]
|
||||
@@ -0,0 +1,184 @@
|
||||
[gd_scene format=3 uid="uid://b0swgdy4faaac"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://by82tj263c628" path="res://saw_swinging.gd" id="1_6frwm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpftgnwkpx1rp" path="res://art/saw.png" id="2_4wovf"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfdjachaibh2u" path="res://art/saw2.png" id="3_v0hit"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwvvgwo87pct0" path="res://art/saw3.png" id="4_h1a5w"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ryup7"]
|
||||
radius = 16.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vwlp5"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [0.0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_3wt0e"]
|
||||
resource_name = "fullswing_ccw"
|
||||
length = 2.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, -6.2831855]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_31jf1"]
|
||||
resource_name = "fullswing_cw"
|
||||
length = 2.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 6.2831855]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_x3ve6"]
|
||||
resource_name = "halfswing_ccw"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 2, 3, 4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, -1.3089969389957472, 0.0, 1.3089969389957472, 0.0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_xp7he"]
|
||||
resource_name = "halfswing_ccw_2"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 2, 3, 4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [3.141592653589793, 1.8325957145940461, 3.141592653589793, 4.4505895925855405, 3.141592653589793]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_g2k3i"]
|
||||
resource_name = "halfswing_cw"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 2, 3, 4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 1.3089969389957472, 0.0, -1.3089969389957472, 0.0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_axvpk"]
|
||||
resource_name = "halfswing_cw_2"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 2, 3, 4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [3.141592653589793, 4.4505895925855405, 3.141592653589793, 1.8325957145940461, 3.141592653589793]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_3wt0e"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_vwlp5"),
|
||||
&"fullswing_ccw": SubResource("Animation_3wt0e"),
|
||||
&"fullswing_cw": SubResource("Animation_31jf1"),
|
||||
&"halfswing_ccw": SubResource("Animation_x3ve6"),
|
||||
&"halfswing_ccw_2": SubResource("Animation_xp7he"),
|
||||
&"halfswing_cw": SubResource("Animation_g2k3i"),
|
||||
&"halfswing_cw_2": SubResource("Animation_axvpk")
|
||||
}
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_lmieu"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("2_4wovf")
|
||||
}, {
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("3_v0hit")
|
||||
}, {
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("4_h1a5w")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_vwlp5"]
|
||||
radius = 18.0
|
||||
|
||||
[node name="SawMoving" type="AnimatableBody2D" unique_id=1098290500]
|
||||
script = ExtResource("1_6frwm")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1907671557]
|
||||
position = Vector2(1.5258789e-05, 0)
|
||||
shape = SubResource("CircleShape2D_ryup7")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1221437574]
|
||||
libraries/ = SubResource("AnimationLibrary_3wt0e")
|
||||
|
||||
[node name="SawBlade" type="AnimatedSprite2D" parent="." unique_id=760707152]
|
||||
texture_filter = 1
|
||||
position = Vector2(1.5258789e-05, 0)
|
||||
sprite_frames = SubResource("SpriteFrames_lmieu")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.40998712
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=1356546922]
|
||||
position = Vector2(19.000013, 7)
|
||||
rotation = -6.834404e-05
|
||||
|
||||
[node name="ShapeCast2D" type="CollisionShape2D" parent="Area2D" unique_id=1586514592]
|
||||
position = Vector2(-18.999523, -7.0012984)
|
||||
shape = SubResource("CircleShape2D_vwlp5")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -0,0 +1,28 @@
|
||||
extends Node2D
|
||||
|
||||
@export var max_distance = 260.0
|
||||
@export var spawn_delay = 0.0
|
||||
var alt_position = Vector2(position.x + max_distance,0)
|
||||
@export var fullswing_cw = false
|
||||
@export var fullswing_ccw = false
|
||||
@export var halfswing_cw = false
|
||||
@export var halfswing_ccw = false
|
||||
|
||||
func _ready() -> void:
|
||||
alt_position = Vector2(position.x + max_distance,0)
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
await get_tree().create_timer(spawn_delay).timeout
|
||||
if fullswing_cw: $AnimationPlayer.play("fullswing_cw")
|
||||
elif fullswing_ccw: $AnimationPlayer.play("fullswing_ccw")
|
||||
elif halfswing_cw: $AnimationPlayer.play("halfswing_cw")
|
||||
elif halfswing_ccw: $AnimationPlayer.play("halfswing_ccw")
|
||||
else:
|
||||
$AnimationPlayer.play("RESET")
|
||||
%Player2D.is_on_moving_platform = false
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
if body==%Player2D and %Player2D.death_cooldown == 0:
|
||||
print("SLASH KILL")
|
||||
%Player2D/Jetpack/DeathSound.play()
|
||||
%Player2D.on_death(false,%Player2D.position)
|
||||
@@ -0,0 +1 @@
|
||||
uid://by82tj263c628
|
||||
@@ -0,0 +1,151 @@
|
||||
[gd_scene format=3 uid="uid://dgxovyasrduo5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://by82tj263c628" path="res://saw_swinging.gd" id="1_n4mys"]
|
||||
[ext_resource type="Texture2D" uid="uid://d22jcb3da431q" path="res://art/saw_chain.png" id="2_31jf1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpftgnwkpx1rp" path="res://art/saw.png" id="2_vwlp5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfdjachaibh2u" path="res://art/saw2.png" id="3_31jf1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwvvgwo87pct0" path="res://art/saw3.png" id="4_3wt0e"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ryup7"]
|
||||
radius = 16.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vwlp5"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [0.0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_3wt0e"]
|
||||
resource_name = "fullswing_ccw"
|
||||
length = 2.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, -6.2831855]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_31jf1"]
|
||||
resource_name = "fullswing_cw"
|
||||
length = 2.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 6.2831855]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_x3ve6"]
|
||||
resource_name = "halfswing_ccw"
|
||||
length = 2.0
|
||||
loop_mode = 2
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [1.3089969389957472, -1.3089969389957472]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_g2k3i"]
|
||||
resource_name = "halfswing_cw"
|
||||
length = 2.0
|
||||
loop_mode = 2
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [-1.3089969389957472, 1.3089969389957472]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_3wt0e"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_vwlp5"),
|
||||
&"fullswing_ccw": SubResource("Animation_3wt0e"),
|
||||
&"fullswing_cw": SubResource("Animation_31jf1"),
|
||||
&"halfswing_ccw": SubResource("Animation_x3ve6"),
|
||||
&"halfswing_cw": SubResource("Animation_g2k3i")
|
||||
}
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_lmieu"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("2_vwlp5")
|
||||
}, {
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("3_31jf1")
|
||||
}, {
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("4_3wt0e")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_vwlp5"]
|
||||
radius = 18.0
|
||||
|
||||
[node name="SawSwinging" type="AnimatableBody2D" unique_id=1098290500]
|
||||
script = ExtResource("1_n4mys")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1907671557]
|
||||
position = Vector2(1.5195612e-05, 76)
|
||||
shape = SubResource("CircleShape2D_ryup7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=141912847]
|
||||
position = Vector2(5.9447484e-06, 34)
|
||||
texture = ExtResource("2_31jf1")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1221437574]
|
||||
libraries/ = SubResource("AnimationLibrary_3wt0e")
|
||||
|
||||
[node name="SawBlade" type="AnimatedSprite2D" parent="." unique_id=760707152]
|
||||
texture_filter = 1
|
||||
position = Vector2(1.5195612e-05, 76)
|
||||
sprite_frames = SubResource("SpriteFrames_lmieu")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.40998712
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=1356546922]
|
||||
position = Vector2(19.000013, 83)
|
||||
rotation = -6.834404e-05
|
||||
|
||||
[node name="ShapeCast2D" type="CollisionShape2D" parent="Area2D" unique_id=1586514592]
|
||||
position = Vector2(-18.999523, -7.0012984)
|
||||
shape = SubResource("CircleShape2D_vwlp5")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -0,0 +1,28 @@
|
||||
extends Node2D
|
||||
|
||||
@export var max_distance = 260.0
|
||||
@export var spawn_delay = 0.0
|
||||
var alt_position = Vector2(position.x + max_distance,0)
|
||||
@export var halfswing_cw = false
|
||||
@export var halfswing_ccw = false
|
||||
@export var halfswing_cw_2 = false
|
||||
@export var halfswing_ccw_2 = false
|
||||
|
||||
func _ready() -> void:
|
||||
alt_position = Vector2(position.x + max_distance,0)
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
await get_tree().create_timer(spawn_delay).timeout
|
||||
if halfswing_cw: $AnimationPlayer.play("halfswing_cw")
|
||||
elif halfswing_ccw: $AnimationPlayer.play("halfswing_ccw")
|
||||
elif halfswing_cw_2: $AnimationPlayer.play("halfswing_cw_2")
|
||||
elif halfswing_ccw_2: $AnimationPlayer.play("halfswing_ccw_2")
|
||||
else:
|
||||
$AnimationPlayer.play("RESET")
|
||||
%Player2D.is_on_moving_platform = false
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
if body==%Player2D and %Player2D.death_cooldown == 0:
|
||||
print("SLASH KILL")
|
||||
%Player2D/Jetpack/DeathSound.play()
|
||||
%Player2D.on_death(false,%Player2D.position)
|
||||
@@ -0,0 +1 @@
|
||||
uid://chhyeigrkk5ux
|
||||
@@ -0,0 +1,190 @@
|
||||
[gd_scene format=3 uid="uid://c4o2dhhuwq4ty"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://chhyeigrkk5ux" path="res://saw_swinging_b.gd" id="1_xp7he"]
|
||||
[ext_resource type="Texture2D" uid="uid://d22jcb3da431q" path="res://art/saw_chain.png" id="2_axvpk"]
|
||||
[ext_resource type="Texture2D" uid="uid://cpftgnwkpx1rp" path="res://art/saw.png" id="3_rlgbm"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfdjachaibh2u" path="res://art/saw2.png" id="4_42yyr"]
|
||||
[ext_resource type="Texture2D" uid="uid://cwvvgwo87pct0" path="res://art/saw3.png" id="5_xd3ji"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ryup7"]
|
||||
radius = 16.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_vwlp5"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [0.0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_3wt0e"]
|
||||
resource_name = "fullswing_ccw"
|
||||
length = 2.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, -6.2831855]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_31jf1"]
|
||||
resource_name = "fullswing_cw"
|
||||
length = 2.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 2),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 6.2831855]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_x3ve6"]
|
||||
resource_name = "halfswing_ccw"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 2, 3, 4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, -1.3089969389957472, 0.0, 1.3089969389957472, 0.0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_xp7he"]
|
||||
resource_name = "halfswing_ccw_2"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 2, 3, 4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [3.141592653589793, 1.8325957145940461, 3.141592653589793, 4.4505895925855405, 3.141592653589793]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_g2k3i"]
|
||||
resource_name = "halfswing_cw"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 2, 3, 4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [0.0, 1.3089969389957472, 0.0, -1.3089969389957472, 0.0]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_axvpk"]
|
||||
resource_name = "halfswing_cw_2"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:rotation")
|
||||
tracks/0/interp = 5
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1, 2, 3, 4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [3.141592653589793, 4.4505895925855405, 3.141592653589793, 1.8325957145940461, 3.141592653589793]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_3wt0e"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_vwlp5"),
|
||||
&"fullswing_ccw": SubResource("Animation_3wt0e"),
|
||||
&"fullswing_cw": SubResource("Animation_31jf1"),
|
||||
&"halfswing_ccw": SubResource("Animation_x3ve6"),
|
||||
&"halfswing_ccw_2": SubResource("Animation_xp7he"),
|
||||
&"halfswing_cw": SubResource("Animation_g2k3i"),
|
||||
&"halfswing_cw_2": SubResource("Animation_axvpk")
|
||||
}
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_lmieu"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("3_rlgbm")
|
||||
}, {
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("4_42yyr")
|
||||
}, {
|
||||
"duration": 0.3,
|
||||
"texture": ExtResource("5_xd3ji")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_vwlp5"]
|
||||
radius = 18.0
|
||||
|
||||
[node name="SawSwingingB" type="AnimatableBody2D" unique_id=1098290500]
|
||||
script = ExtResource("1_xp7he")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1907671557]
|
||||
position = Vector2(1.5195612e-05, 76)
|
||||
shape = SubResource("CircleShape2D_ryup7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=141912847]
|
||||
position = Vector2(5.9447484e-06, 34)
|
||||
texture = ExtResource("2_axvpk")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1221437574]
|
||||
libraries/ = SubResource("AnimationLibrary_3wt0e")
|
||||
speed_scale = 1.5
|
||||
|
||||
[node name="SawBlade" type="AnimatedSprite2D" parent="." unique_id=760707152]
|
||||
texture_filter = 1
|
||||
position = Vector2(1.5195612e-05, 76)
|
||||
sprite_frames = SubResource("SpriteFrames_lmieu")
|
||||
autoplay = "default"
|
||||
frame_progress = 0.40998712
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=1356546922]
|
||||
position = Vector2(19.000013, 83)
|
||||
rotation = -6.834404e-05
|
||||
|
||||
[node name="ShapeCast2D" type="CollisionShape2D" parent="Area2D" unique_id=1586514592]
|
||||
position = Vector2(-18.999523, -7.0012984)
|
||||
shape = SubResource("CircleShape2D_vwlp5")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -0,0 +1 @@
|
||||
uDgnAB+LCAAAAAAAAArt3VtvG1eWgNG/YvDZCVjUjfJbYqcv6KRjWJ7OQyMPZapkF0yxBJJy2gjy36eKF92czojdU/bZPCuYARJ+JUUXmutkNmv2r4MP1XxRN7PBs8HR18PB08G8ah95M3i2nF9XTwdvp82bcvpq9dg3l831bDl4Nvz66OngzdXl4FkxGj4dLOvL6qx+OyuX1/Pq26pcLgbPDp8OFpNyWv31fPBsdHDwdPChmV5fVu1HfN19xLycvH9Zzs6Wzbx8W/1j+xUUt6n9HP8cttf+l//789PB9aKan5WXV9Oq+5zbBz7Olu9ezqtFtdw8+mbaTN53f//roF58d3m1/Dh4dlFOF1X3E7lqv6ubf1wsy2X7nZyePh1Muu9qtv6o7VXrn9usWVZn1fJs+0P4qvjtaexrNt/9f3pR+yM+n19frn9W3S97/e+srifT+rwqZzcfW16f183zaX3VfeBx+0R6s35KtU+OadNcrZ5bzcVF+5trn4m3T6zh1+PT1V8nx8XRuDgctddfdU+xal41XW6vvVr9wttn+t/qyfsnRftkX7TP6POz5no+aT/F4KKctM/Ij9vHuy/gwaUv22fn6uHtAz/Ui0U9e3v75Lh9Yv3Y/pmZt9/b4Nmvm3/z9iNnZfcVd39XL160P5Sbj35fz7pLls2sauMv5YfuskX5y+DBH6Crejl5t/n7ZrJcXdf+7Xm1vJ5V22/2uv2UP9Xny3ebP7EXl7d/gIfdP74ql3X7oxl1/7S4frN5fNbUi+3naBaTejot2x/Ktz9tvph69aXdhh/qf3168Y+3X9OdR8+qy3r1rX1y/Yu7X/j1rF40s3809aRa/9rXD9y7plwu29/E6h+Go+H6r9PD0/Z/hqNx94OYlB+7WozX7aQ4Gh0dnRyMu++0/QNcz7p6fPjwGTOvplW5+fZP1s+n8agoxsfD4+PNj/272Ydq2lzd/Ji7x15s/32/80EX9bR9Dv7QdE+E9hn8y1W5WAy2D5+tP1Mxal9Lrpft07r7JCfr72g0Pi6Go9HpUfdltT+AcjZZ/UuLYvNEPyhOTk6H3evQ+pPd/cpGR9tH/1Z9fN29qK6epasv+Xxef1h/ps1Prmh/bEVx3H0Vl835N3/8s22vuPl2u39L+89ntz/S4eqBV7c/xuJo/RmOTo+Hh8eHh6erC143L9dP4e1HvG7+tPpq7z1yefMFX19+25x//L5laLp52nePtd/XbFFXs+UmDD8Jt7+YYvOtFMPDg+G4GJ0+uHLz9Ry2l20/y9+7Pwl3fhp3Hr35vL/zy7i56HkzbeabP3yLu69D02r2drn687v5og5PjscH7XO0++HU5/XLefN2Xrbf/bhYP/Bi9Sk7dQ5unlHfXzSvVhDd/WW3D76orpbbH+zNg2fvyqs7f3xXT9qbT3B08zx+8OGL7qMePLa97sFnbIG9+Xyr38/6gXsfWc4ePLK+5sFnml40r6vLq6YlerJ5YfytI+bRZhTDg17QOJuV8+qRajy4FhvYwAY2sJEuG0f9qPGX+qt35fKRbDy8mBvc4AY3uJGuG4fjftwoZ+dPnk/Lq8fS8en19KAHPehBj3T16P4c96DH82b2tnykHA+upQY1qEENanxeNX5uXypnixaNy/ZX9XBM/kcI3B9+nJ7cYeBVtZw3T1Zvdnhy+gkGk3f11eoF564Gv/shTGACE5jAhM9qQnvpZNJctp+h7lBYvb4fDR88uiVi/Vr7zf00eNm9HD4Zdqf7cn5VvX1bd688q//yGN976ObFePN57pbBy//5/uy71X8irF92f9z858lXxb3/VOne9vXiet69vs5uv/vtf6F81T4wLk6GxfHB8UFxeHA6Gp7e/2+lRys3Kg7/jXKj492Zu/0YznGOc5zj3Bd3bnSwk3M/Lpb1rH2xeTI8/JS60+739ljrPkFuuINx7T//h6Qd3/3vtj9f18ty/sj/+93DiyEGMYhBDGJfGrG1O/elui/PA8Vi0tXd33VD13fTarKc15MnL+ty1jySsH/3QShDGcpQhjKUfRbKju5I9m37yvFIv+5fSi1qUYta1KLWZ1FrNRS8vU91NdR65H2q968lF7nIRS5ykcvUC13oQhe60IUuUy+UoQxlKEPZ3lFm6kUtalGLWtSKo5apF7nIRS5ykSuWXKZe6EIXutCFrmB0mXqhDGUoQxnKkqHs5/VF6/+nid0f1Em9/Lh9Xt18ZLFGT9d1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1XU+1F4l/fbrnh55u9/zQPT90zw/d80P3/NBT6p4fuq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7H7Scnp91fJ8XB+PTkZHiU+Jere7roYbqni+7ponu66F+8e7roni66p4uu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu6/ofdLdL6Z4uuqeL/sW7p4vu6aJ7uuhfvHu66J4uuq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7n190upXu66J4u+hfvni66p4vu6aJ/8e7ponu66Lqu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67q+r71I/OvTdT3d7vVD13WvH7que/3QdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdX1fe5H416frerrd64eu614/dF33+qHruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruq7ruv64XiT+9em6nm73+qHrutcPXde9fui6ruu6ruu6ruu6ruu6ruu6ruu6ruu6ruu6ruu6ruu6ruu6ruu6ruv6/92LxL8+3fNDT7d7fuieH7rnh+75oXt+6Cl1zw9d13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd1+P2k5PT7q+T4mB8enIyPEr8y9U9XfQw3dNF93TRPV30L949XXRPF93TRdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1/Q+626V0Txfd00X/4t3TRfd00T1d9C/ePV10Txdd13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd13Vd1/PrbpfSPV10Txf9i3dPF93TRfd00b9493TRPV10Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdd1Xdf1GH1crNZtn47GhyeHh6PjxL9cXdfT7V5OdF33cqLrelrdy4mu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu63vS3S6l67qXE13X0+peTnRd93Ki67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu67qu63oe3f87ZV3XvZzoup5W93Ki67qXE13XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3XdV3Line truncated
|
||||
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://clwejc75syhn6"
|
||||
path="res://.godot/imported/chiptune_await.wav-b980b3ef496cc8acae8793155492f246.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sound/chiptune_await.wav"
|
||||
dest_files=["res://.godot/imported/chiptune_await.wav-b980b3ef496cc8acae8793155492f246.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=true
|
||||
force/mono=true
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=2
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=0
|
||||
@@ -12,13 +12,13 @@ dest_files=["res://.godot/imported/fog.wav-eb476345f22c2abcdb6da3b27b036a4b.samp
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/8_bit=true
|
||||
force/mono=true
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_mode=2
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
compress/mode=0
|
||||
@@ -12,8 +12,8 @@ dest_files=["res://.godot/imported/stepping.wav-b54d66075ebecd62d08e6d57f5a8c5df
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/8_bit=true
|
||||
force/mono=true
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
@@ -21,4 +21,4 @@ edit/normalize=false
|
||||
edit/loop_mode=2
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
compress/mode=0
|
||||
@@ -12,13 +12,13 @@ dest_files=["res://.godot/imported/stones.wav-7997832a36ac3b5f76c1d2e10e25b972.s
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/8_bit=true
|
||||
force/mono=true
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_mode=2
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
compress/mode=0
|
||||
@@ -11,4 +11,3 @@ func on_contact(body: Node2D) -> void:
|
||||
print("SLASH KILL")
|
||||
%Player2D/Jetpack/DeathSound.play()
|
||||
%Player2D.on_death(false,%Player2D.position)
|
||||
print(body)
|
||||
@@ -11,7 +11,6 @@ func _ready() -> void:
|
||||
add_to_group("TELEPORTERS")
|
||||
|
||||
func check_for_pair() -> String:
|
||||
#print(paired_teleporter)
|
||||
return paired_teleporter
|
||||
|
||||
func disable():
|
||||
@@ -29,15 +28,20 @@ func _physics_process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func _on_contact(body) -> void:
|
||||
if not enabled:
|
||||
return
|
||||
|
||||
#get_tree().call_group("TELEPORTERS","disable")
|
||||
for teleporter in get_tree().get_nodes_in_group("TELEPORTERS"):
|
||||
if teleporter != self:
|
||||
if teleporter.paired_teleporter == paired_teleporter and enabled:
|
||||
%Player2D.get_node("Camera2D").position_smoothing_enabled = false
|
||||
if %Player2D.teleport_cooldown > 0:
|
||||
return
|
||||
body.set_position(teleporter.get_position())
|
||||
%Player2D.on_teleport()
|
||||
disable()
|
||||
await get_tree().create_timer(cooldown).timeout
|
||||
enable()
|
||||
if teleporter == self:
|
||||
continue
|
||||
|
||||
if teleporter.paired_teleporter == paired_teleporter:
|
||||
%Player2D.get_node("Camera2D").position_smoothing_enabled = false
|
||||
if %Player2D.teleport_cooldown > 0:
|
||||
return
|
||||
body.set_position(teleporter.global_position)
|
||||
%Player2D.on_teleport()
|
||||
disable()
|
||||
await get_tree().create_timer(cooldown).timeout
|
||||
enable()
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://c6u0t3ur7qbj6"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_78i3v"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 14)
|
||||
|
||||
[node name="VerticalDoubleBlockS" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
scale = Vector2(1, 2.29)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_repeat = 2
|
||||
rotation = 1.5707964
|
||||
texture = ExtResource("1_78i3v")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(-32, 16, 32, 16)
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://cdgp3pqy2ioid"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_514qt"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 14)
|
||||
|
||||
[node name="VerticalLongBlockS" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
scale = Vector2(1, 11.4)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_repeat = 2
|
||||
rotation = 1.5707964
|
||||
texture = ExtResource("1_514qt")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(-160, 16, 160, 16)
|
||||
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://bydpw6svxkwk4"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_74jic"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 14)
|
||||
|
||||
[node name="VerticalLongishBlockS" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
scale = Vector2(1, 5.7)
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_repeat = 2
|
||||
rotation = 1.5707964
|
||||
texture = ExtResource("1_74jic")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(-80, 16, 80, 16)
|
||||
@@ -10,7 +10,5 @@ func _ready() -> void:
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
#print(DisplayServer.window_get_size().x)
|
||||
#print(DisplayServer.window_get_size().y)
|
||||
mesh.size.x = DisplayServer.window_get_size().x * 4
|
||||
mesh.size.y = DisplayServer.window_get_size().y * 4
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 2.5 KiB |