41 Commits

Author SHA1 Message Date
JHDev2006
2eab62e290 imagine being godot and making it so ONE SPECIFIC FONT FILE DOESNT GET EXTRACTED CORRECTLY, ONLY ON WINDOWS. THANKS MICROSOFT, FUCK YOU GODOT 2025-10-24 15:06:35 +01:00
JHDev2006
8db59e0b8a help 2025-10-24 14:39:17 +01:00
JHDev2006
09d1b717bb trying something 2025-10-24 14:05:32 +01:00
JHDev2006
0953086c39 removed old SMMP placeholder sfx that were still here? 2025-10-24 13:59:20 +01:00
JHDev2006
fb8c8d2a20 fixed score fonts being fucked on extraction 2025-10-24 13:00:21 +01:00
JHDev2006
c837639a2b added missing vine to 4-1 LL 2025-10-24 12:28:40 +01:00
JHDev2006
799f09afbd bloopers now face the direction they travel in 2025-10-24 11:45:10 +01:00
JHDev2006
1a34b3938e updated blooper animations, so they dont call every frame 2025-10-24 11:44:15 +01:00
JHDev2006
925a7d597d fixed monty mole sign = 0 2025-10-24 11:41:09 +01:00
JHDev2006
3bfd80b68f fixed checkpoint flags persiting nomateer the settings 2025-10-24 11:39:19 +01:00
guzlad
df9c00c460 Fixed spaces and tabs in the resource template (#658) 2025-10-23 23:03:26 +01:00
JHDev2006
aa6fb17072 Update ResourcePackTemplateCreator.gd 2025-10-23 22:33:57 +01:00
JHDev2006
4a3da23429 Update ResourcePackTemplateCreator.gd 2025-10-23 22:13:13 +01:00
guzlad
27396cca5d Resource pack export fixes for specific filetypes (#657)
* Resource pack creator fixes

* Spacing fix + comments for Joe

* Some further fixes, added an array of files which shouldn't be loaded in-engine to remove large amount of ifs
2025-10-23 21:43:53 +01:00
JHDev2006
64cce1bb68 shit, accidentily mad ethe settings menu visible on spawn, whoops 2025-10-23 20:43:11 +01:00
JHDev2006
d7f56f7678 changed the menu text to let players know when a pack is being created (so they dont think it crashes) 2025-10-23 20:41:07 +01:00
JHDev2006
22a1af89d4 couple of error fixes 2025-10-23 20:05:30 +01:00
JHDev2006
974c001d08 Merge branch 'main' of https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public 2025-10-23 19:58:03 +01:00
JHDev2006
8dca0548db updated all sfx wavs to not be compressed 2025-10-23 19:57:58 +01:00
guzlad
8d9acc0361 Got rid of some garbage files which weren't used (#656) 2025-10-23 17:29:45 +01:00
John Cooper McDonald
b5206d4e2d Fix Thwomp not awarding any points (#653) 2025-10-22 21:12:34 +01:00
JHDev2006
aa5c50accb Merge branch 'main' of https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public 2025-10-22 21:10:23 +01:00
JHDev2006
a30e359f4e removed window size saving, not too happy with how it was implemented, and think it would be better off saving it for later, so i can get it right 2025-10-22 21:10:22 +01:00
John Cooper McDonald
f228ea51f6 Match SMM2 points with Flagpole Lives on (#627)
* Match SMM2 points with Flagpole Lives on

* Update EndFlagpole.gd

* Update EndFlagpole.gd
2025-10-22 21:08:14 +01:00
SkyanUltra
bc73dc899b Implement WaterCrouchMove and WingCrouchMove (and fix an incorrect default value on small crouch height) (#643)
* Add WaterCrouchMove and WingCrouchMove states

* Implement WaterCrouchMove and WingCrouchMove

* Quick patch for incorrect crouch height

im adding this to this branch for this since its literally just a number change lol
2025-10-22 19:51:52 +01:00
John Cooper McDonald
1e2d4d9404 Fix Extra Checkpoint option not doing anything + other checkpoint fixes (#649)
* Fix Extra Checkpoint option not doing anything + other checkpoint fixes

* Remove redundancy
2025-10-22 19:51:22 +01:00
JHDev2006
b54c4b5913 fixed a bug where the invincibility palette would stop after collecting a starman at the last second 2025-10-22 17:24:41 +01:00
Ramona
f9017881e1 Fix Underground BG not animating (#644)
* Flip death gravity when upside down

* Improvements to code per Joe's request

* Recenter resized window on launch

* Fix Underground BG not animating
2025-10-22 17:09:08 +01:00
John Cooper McDonald
d372ff4840 Fix Bowser not disabling flame generators (#648) 2025-10-22 16:44:56 +01:00
SkyanUltra
f04b20e5b8 BowserBro palettes and slight Bowser file clean-up (#636)
* Different world palettes for BowserBro, and slight optimization to Bowser.

BowserBro still will not use Bowser's green palette in any of the areas where the game would genuinely use the green palette, but he will follow the rules of other non-green palette areas so he has more consistency in those areas.

* BowserBro palette and sprite now correctly set.

* Fix Bowser.png
2025-10-20 21:56:34 +01:00
John Cooper McDonald
fbe86af2cd Make the rest of the credits images pack replacable (#640)
* Make the rest of the credits images pack replacable

* Update Credits.tscn
2025-10-20 21:01:25 +01:00
John Cooper McDonald
6a373125b1 Fix challenge transition text shadow + show high score (#641) 2025-10-20 20:57:50 +01:00
KirbyKidJ
50da5f62f3 Some Fake Bowser Fixes (#635)
This PR fixes the issues mentioned in #557   with Fake and Real Bowsers. Also for fun, I got the Bowser fall SFX to work when you kill a REAL Bowser or Bowser Bro by moving it outside of Bowser before they were freed from the scene.
2025-10-20 09:43:34 +01:00
SkyanUltra
b87d6e6a7c Fix for broken crouch size in marathon/boo races. (#632)
Previously, if you entered a boo race your hitbox scale changes would never be applied, meaning your crouch size would be unchanged from your standing stance. This fixes that, and adds a single parameter to apply character physics.
2025-10-20 09:41:45 +01:00
JHDev2006
65718342c6 Merge branch 'main' of https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public 2025-10-19 21:31:11 +01:00
JHDev2006
f77e1510cf fixed bumpers crashing, and FINALLY HAVE SORTED RESOURCE PACK EXTRACTION, ONLY TOOK BEING ABLE TO DOWNLOAD SOME OF THE FILES FROM THE FUCKING GITHUB TO WORK YEAAAAAAAAAAAAAA I LOVE GODOT 2025-10-19 21:31:09 +01:00
John Cooper McDonald
2d0c34ce69 Fix Lakitu and deco not spawning in Challenge 8-2 (#629) 2025-10-19 18:16:34 +01:00
John Cooper McDonald
d37910a379 Don't give points for the powerup from a checkpoint (#628) 2025-10-19 09:53:26 +01:00
JHDev2006
6011e6f63b Merge branch 'main' of https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public 2025-10-19 09:45:49 +01:00
JHDev2006
23345bbbf1 removed sp scrolling from settings menu
i coded it in about 10 minutes as a joke, and didnt really intend on it being something proper + it comes with a whole new slew of bugs which im not willing to commit to yet, soz. its still in the code so should be relatively easy to hack in, maybe itll come back in future, who knows
2025-10-19 09:45:48 +01:00
John Cooper McDonald
568d45ee31 Change 1-up flagpole to replace the 5000 point bonus (#550)
* Change 1-up flagpole to replace the 5000 point bonus

* Also no 1-ups in you vs boo

* Update EndFlagpole.gd

* Style

* Update EndFlagpole.tscn
2025-10-18 14:42:51 +01:00
93 changed files with 765 additions and 703 deletions

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bgwgam2wsrcxn"
path="res://.godot/imported/HitGoalBoxMMPlaceholder.wav-685a792c6a3ecf961d0ea28a65462c75.sample"
[deps]
source_file="res://Assets/Audio/SFX/HitGoalBoxMMPlaceholder.wav"
dest_files=["res://.godot/imported/HitGoalBoxMMPlaceholder.wav-685a792c6a3ecf961d0ea28a65462c75.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

Binary file not shown.

View File

@@ -1,24 +0,0 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://dx1yfr2v0qj1n"
path="res://.godot/imported/IceBallShoot.wav-d916ed3b85ee6807b57c9742038e00b0.sample"
[deps]
source_file="res://Assets/Audio/SFX/IceBallShoot.wav"
dest_files=["res://.godot/imported/IceBallShoot.wav-d916ed3b85ee6807b57c9742038e00b0.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=2

0
Assets/Audio/SFX/IcicleCrash.wav Executable file → Normal file
View File

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

0
Assets/Audio/SFX/IcicleFall.wav Executable file → Normal file
View File

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

0
Assets/Audio/SFX/Speaking.wav Executable file → Normal file
View File

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -21,4 +21,4 @@ edit/normalize=false
edit/loop_mode=0 edit/loop_mode=0
edit/loop_begin=0 edit/loop_begin=0
edit/loop_end=-1 edit/loop_end=-1
compress/mode=2 compress/mode=0

View File

@@ -67,7 +67,7 @@
"Underground": { "Underground": {
"SMB1": { "SMB1": {
"source": "Underground.png", "source": "Underground.png",
"animations": { "animation_overrides": {
"default": { "default": {
"frames": [ "frames": [
[ [
@@ -90,7 +90,7 @@
}, },
"SMBLL": { "SMBLL": {
"source": "UndergroundLL.png", "source": "UndergroundLL.png",
"animations": { "animation_overrides": {
"default": { "default": {
"frames": [ "frames": [
[ [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -74,15 +74,6 @@
} }
}, },
"variations": { "variations": {
"Overworld": {
"source": "Bowser.png",
"rect": [
0.0,
0.0,
96.0,
96.0
]
},
"default": { "default": {
"source": "Bowser.png", "source": "Bowser.png",
"rect": [ "rect": [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 806 B

After

Width:  |  Height:  |  Size: 697 B

View File

@@ -74,15 +74,6 @@
} }
}, },
"variations": { "variations": {
"Overworld": {
"source": "BowsersBro.png",
"rect": [
0.0,
0.0,
96.0,
96.0
]
},
"default": { "default": {
"source": "BowsersBro.png", "source": "BowsersBro.png",
"rect": [ "rect": [
@@ -91,6 +82,54 @@
96.0, 96.0,
96.0 96.0
] ]
},
"Underwater": {
"source": "BowsersBro.png",
"rect": [
96.0,
0.0,
96.0,
96.0
]
},
"CastleWater": {
"link": "Underwater"
},
"Snow": {
"source": "BowsersBro.png",
"rect": [
192.0,
0.0,
96.0,
96.0
]
},
"Space": {
"source": "BowsersBro.png",
"rect": [
0.0,
96.0,
96.0,
96.0
]
},
"Volcano": {
"source": "BowsersBro.png",
"rect": [
96.0,
96.0,
96.0,
96.0
]
},
"Bonus": {
"source": "BowsersBro.png",
"rect": [
192.0,
96.0,
96.0,
96.0
]
} }
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 825 B

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://xqpd2y4j43qg"
path="res://.godot/imported/SpecialItems.png-ddf502d2231323d32f3fa5c0e38cd390.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Sprites/Items/SpecialItems.png"
dest_files=["res://.godot/imported/SpecialItems.png-ddf502d2231323d32f3fa5c0e38cd390.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -1,34 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cbl8y8j82smws"
path="res://.godot/imported/BarrelDestuctionParticle#.png-ab9d8b22442fb576cd1570678dd83df2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Sprites/Particles/BarrelDestuctionParticle#.png"
dest_files=["res://.godot/imported/BarrelDestuctionParticle#.png-ab9d8b22442fb576cd1570678dd83df2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -2,7 +2,7 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://w0upk3mm4jf2" uid="uid://fl3d66h6h0o7"
path="res://.godot/imported/Font.png-641933ef994f12d7d57b3370c1fb44de.ctex" path="res://.godot/imported/Font.png-641933ef994f12d7d57b3370c1fb44de.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false

View File

@@ -2,7 +2,7 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://bsepw8fa2vk04" uid="uid://bmyn0megjnnrx"
path="res://.godot/imported/FontGA.png-d849a866dc513008eabe61624b4d39c8.ctex" path="res://.godot/imported/FontGA.png-d849a866dc513008eabe61624b4d39c8.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false

View File

@@ -2,7 +2,7 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://ct72gsk4uny04" uid="uid://du7ke62m5mfci"
path="res://.godot/imported/FontJP.png-e9d4affae12e83d1ad38e68741a363e2.ctex" path="res://.godot/imported/FontJP.png-e9d4affae12e83d1ad38e68741a363e2.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false

View File

@@ -2,7 +2,7 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://bl63bqgh8mpr2" uid="uid://gd41bb6k1803"
path="res://.godot/imported/FontLL.png-8507bc88b2949495a33d1ab1002b7a73.ctex" path="res://.godot/imported/FontLL.png-8507bc88b2949495a33d1ab1002b7a73.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 B

After

Width:  |  Height:  |  Size: 225 B

View File

@@ -2,7 +2,7 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://cv6no0vc04p8v" uid="uid://c23dqtsno64vk"
path="res://.godot/imported/ScoreFont.png-281fa6a3ecebf9e9d4520f2c046dfbdb.ctex" path="res://.godot/imported/ScoreFont.png-281fa6a3ecebf9e9d4520f2c046dfbdb.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false

View File

@@ -1,40 +0,0 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c0umucm61jjqs"
path="res://.godot/imported/TransitionTemplate.png-5f5be056a088d0b541306876784af78e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Sprites/UI/TransitionTemplate.png"
dest_files=["res://.godot/imported/TransitionTemplate.png-5f5be056a088d0b541306876784af78e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
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
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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -90,7 +90,6 @@ script/source = "extends AchievementProgressCalculator
func get_progress() -> int: func get_progress() -> int:
var medal_amount := 0 var medal_amount := 0
SpeedrunHandler.load_best_times(campaign) SpeedrunHandler.load_best_times(campaign)
print(SpeedrunHandler.best_level_warpless_times)
var world := 0 var world := 0
for x in SpeedrunHandler.best_level_warpless_times: for x in SpeedrunHandler.best_level_warpless_times:
var level := 0 var level := 0
@@ -100,7 +99,6 @@ func get_progress() -> int:
level += 1 level += 1
world += 1 world += 1
for x in SpeedrunHandler.best_level_any_times: for x in SpeedrunHandler.best_level_any_times:
print(SpeedrunHandler.best_level_any_times)
if SpeedrunHandler.best_level_any_times[x] <= SpeedrunHandler.LEVEL_GOLD_ANY_TIMES[campaign][x] * SpeedrunHandler.MEDAL_CONVERSIONS[medal_index] and SpeedrunHandler.best_level_any_times[x] > 0: if SpeedrunHandler.best_level_any_times[x] <= SpeedrunHandler.LEVEL_GOLD_ANY_TIMES[campaign][x] * SpeedrunHandler.MEDAL_CONVERSIONS[medal_index] and SpeedrunHandler.best_level_any_times[x] > 0:
medal_amount += 1 medal_amount += 1
var save = JSON.parse_string(FileAccess.open(Global.config_path.path_join(\"saves/\" + campaign + \".sav\"), FileAccess.READ).get_as_text()) var save = JSON.parse_string(FileAccess.open(Global.config_path.path_join(\"saves/\" + campaign + \".sav\"), FileAccess.READ).get_as_text())

View File

@@ -382,6 +382,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_s34bh") texture = SubResource("AtlasTexture_s34bh")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/TileArtists/Label"] [node name="Label3" type="Label" parent="Labels/TileArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -401,6 +403,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_ouss1") texture = SubResource("AtlasTexture_ouss1")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label4" type="Label" parent="Labels/TileArtists/Label"] [node name="Label4" type="Label" parent="Labels/TileArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -420,6 +424,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_yji2n") texture = SubResource("AtlasTexture_yji2n")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label5" type="Label" parent="Labels/TileArtists/Label"] [node name="Label5" type="Label" parent="Labels/TileArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -439,6 +445,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_4ssyu") texture = SubResource("AtlasTexture_4ssyu")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label6" type="Label" parent="Labels/TileArtists/Label"] [node name="Label6" type="Label" parent="Labels/TileArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -458,6 +466,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_8pyc7") texture = SubResource("AtlasTexture_8pyc7")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="TextureRect" type="TextureRect" parent="Labels/TileArtists"] [node name="TextureRect" type="TextureRect" parent="Labels/TileArtists"]
layout_mode = 0 layout_mode = 0
@@ -466,6 +476,8 @@ offset_top = 120.0
offset_right = 248.0 offset_right = 248.0
offset_bottom = 232.0 offset_bottom = 232.0
texture = ExtResource("4_j3afk") texture = ExtResource("4_j3afk")
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="BGArtists" type="Control" parent="Labels"] [node name="BGArtists" type="Control" parent="Labels"]
visible = false visible = false
@@ -516,6 +528,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_s34bh") texture = SubResource("AtlasTexture_s34bh")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/BGArtists/Label"] [node name="Label3" type="Label" parent="Labels/BGArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -535,6 +549,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_6kpe2") texture = SubResource("AtlasTexture_6kpe2")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label4" type="Label" parent="Labels/BGArtists/Label"] [node name="Label4" type="Label" parent="Labels/BGArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -554,6 +570,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_3s1o5") texture = SubResource("AtlasTexture_3s1o5")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label6" type="Label" parent="Labels/BGArtists/Label"] [node name="Label6" type="Label" parent="Labels/BGArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -573,6 +591,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_x745s") texture = SubResource("AtlasTexture_x745s")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label5" type="Label" parent="Labels/BGArtists/Label"] [node name="Label5" type="Label" parent="Labels/BGArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -592,6 +612,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_g2gtw") texture = SubResource("AtlasTexture_g2gtw")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="TextureRect" type="TextureRect" parent="Labels/BGArtists"] [node name="TextureRect" type="TextureRect" parent="Labels/BGArtists"]
layout_mode = 0 layout_mode = 0
@@ -600,6 +622,8 @@ offset_top = 112.0
offset_right = 144.0 offset_right = 144.0
offset_bottom = 224.0 offset_bottom = 224.0
texture = ExtResource("6_s34bh") texture = ExtResource("6_s34bh")
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="EnemyArtists" type="Control" parent="Labels"] [node name="EnemyArtists" type="Control" parent="Labels"]
visible = false visible = false
@@ -650,6 +674,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_s34bh") texture = SubResource("AtlasTexture_s34bh")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/EnemyArtists/Label"] [node name="Label3" type="Label" parent="Labels/EnemyArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -669,6 +695,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_g2gtw") texture = SubResource("AtlasTexture_g2gtw")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label4" type="Label" parent="Labels/EnemyArtists/Label"] [node name="Label4" type="Label" parent="Labels/EnemyArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -688,6 +716,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_885hu") texture = SubResource("AtlasTexture_885hu")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label5" type="Label" parent="Labels/EnemyArtists/Label"] [node name="Label5" type="Label" parent="Labels/EnemyArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -707,6 +737,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_j5uy1") texture = SubResource("AtlasTexture_j5uy1")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label6" type="Label" parent="Labels/EnemyArtists/Label"] [node name="Label6" type="Label" parent="Labels/EnemyArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -726,6 +758,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_oqk7k") texture = SubResource("AtlasTexture_oqk7k")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label7" type="Label" parent="Labels/EnemyArtists/Label"] [node name="Label7" type="Label" parent="Labels/EnemyArtists/Label"]
layout_mode = 0 layout_mode = 0
@@ -745,6 +779,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_ud3pl") texture = SubResource("AtlasTexture_ud3pl")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="TextureRect" type="TextureRect" parent="Labels/EnemyArtists"] [node name="TextureRect" type="TextureRect" parent="Labels/EnemyArtists"]
layout_mode = 0 layout_mode = 0
@@ -753,6 +789,8 @@ offset_top = 120.0
offset_right = 248.0 offset_right = 248.0
offset_bottom = 232.0 offset_bottom = 232.0
texture = ExtResource("7_k6bv2") texture = ExtResource("7_k6bv2")
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label10" type="Label" parent="Labels/EnemyArtists"] [node name="Label10" type="Label" parent="Labels/EnemyArtists"]
layout_mode = 0 layout_mode = 0
@@ -773,6 +811,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_isghj") texture = SubResource("AtlasTexture_isghj")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="LevelDesign" type="Control" parent="Labels"] [node name="LevelDesign" type="Control" parent="Labels"]
visible = false visible = false
@@ -823,6 +863,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_s34bh") texture = SubResource("AtlasTexture_s34bh")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label4" type="Label" parent="Labels/LevelDesign/Label"] [node name="Label4" type="Label" parent="Labels/LevelDesign/Label"]
layout_mode = 0 layout_mode = 0
@@ -842,6 +884,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_oe1k8") texture = SubResource("AtlasTexture_oe1k8")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label5" type="Label" parent="Labels/LevelDesign/Label/Label4"] [node name="Label5" type="Label" parent="Labels/LevelDesign/Label/Label4"]
layout_mode = 0 layout_mode = 0
@@ -861,6 +905,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_sqdyg") texture = SubResource("AtlasTexture_sqdyg")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label5" type="Label" parent="Labels/LevelDesign/Label"] [node name="Label5" type="Label" parent="Labels/LevelDesign/Label"]
layout_mode = 0 layout_mode = 0
@@ -880,6 +926,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_4ssyu") texture = SubResource("AtlasTexture_4ssyu")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label7" type="Label" parent="Labels/LevelDesign/Label"] [node name="Label7" type="Label" parent="Labels/LevelDesign/Label"]
layout_mode = 0 layout_mode = 0
@@ -899,6 +947,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_0ixvh") texture = SubResource("AtlasTexture_0ixvh")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="TextureRect2" type="TextureRect" parent="Labels/LevelDesign/Label/Label7/TextureRect"] [node name="TextureRect2" type="TextureRect" parent="Labels/LevelDesign/Label/Label7/TextureRect"]
layout_mode = 1 layout_mode = 1
@@ -910,6 +960,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_txoml") texture = SubResource("AtlasTexture_txoml")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/LevelDesign/Label"] [node name="Label3" type="Label" parent="Labels/LevelDesign/Label"]
layout_mode = 0 layout_mode = 0
@@ -929,6 +981,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_g2gtw") texture = SubResource("AtlasTexture_g2gtw")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label2" type="Label" parent="Labels/LevelDesign"] [node name="Label2" type="Label" parent="Labels/LevelDesign"]
layout_mode = 0 layout_mode = 0
@@ -969,6 +1023,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_s34bh") texture = SubResource("AtlasTexture_s34bh")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label2" type="Label" parent="Labels/LevelDesign/Label2"] [node name="Label2" type="Label" parent="Labels/LevelDesign/Label2"]
layout_mode = 0 layout_mode = 0
@@ -988,6 +1044,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_shsp7") texture = SubResource("AtlasTexture_shsp7")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/LevelDesign"] [node name="Label3" type="Label" parent="Labels/LevelDesign"]
layout_mode = 0 layout_mode = 0
@@ -1027,6 +1085,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_i063v") texture = SubResource("AtlasTexture_i063v")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="TextureRect" type="TextureRect" parent="Labels/LevelDesign"] [node name="TextureRect" type="TextureRect" parent="Labels/LevelDesign"]
layout_mode = 0 layout_mode = 0
@@ -1035,6 +1095,8 @@ offset_top = 120.0
offset_right = 248.0 offset_right = 248.0
offset_bottom = 232.0 offset_bottom = 232.0
texture = ExtResource("8_3648a") texture = ExtResource("8_3648a")
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Sound" type="Control" parent="Labels"] [node name="Sound" type="Control" parent="Labels"]
layout_mode = 3 layout_mode = 3
@@ -1084,6 +1146,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_s34bh") texture = SubResource("AtlasTexture_s34bh")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/Sound/Label"] [node name="Label3" type="Label" parent="Labels/Sound/Label"]
layout_mode = 0 layout_mode = 0
@@ -1103,6 +1167,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_23b0w") texture = SubResource("AtlasTexture_23b0w")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label4" type="Label" parent="Labels/Sound/Label"] [node name="Label4" type="Label" parent="Labels/Sound/Label"]
layout_mode = 0 layout_mode = 0
@@ -1122,6 +1188,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_yeh4c") texture = SubResource("AtlasTexture_yeh4c")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label6" type="Label" parent="Labels/Sound/Label"] [node name="Label6" type="Label" parent="Labels/Sound/Label"]
layout_mode = 0 layout_mode = 0
@@ -1141,6 +1209,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_mjy6w") texture = SubResource("AtlasTexture_mjy6w")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label2" type="Label" parent="Labels/Sound"] [node name="Label2" type="Label" parent="Labels/Sound"]
layout_mode = 0 layout_mode = 0
@@ -1180,6 +1250,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_irr87") texture = SubResource("AtlasTexture_irr87")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label6" type="Label" parent="Labels/Sound/Label2"] [node name="Label6" type="Label" parent="Labels/Sound/Label2"]
layout_mode = 0 layout_mode = 0
@@ -1199,6 +1271,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_mjy6w") texture = SubResource("AtlasTexture_mjy6w")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label7" type="Label" parent="Labels/Sound/Label2"] [node name="Label7" type="Label" parent="Labels/Sound/Label2"]
layout_mode = 0 layout_mode = 0
@@ -1218,6 +1292,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_3diwr") texture = SubResource("AtlasTexture_3diwr")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label8" type="Label" parent="Labels/Sound/Label2"] [node name="Label8" type="Label" parent="Labels/Sound/Label2"]
layout_mode = 0 layout_mode = 0
@@ -1237,6 +1313,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_ttapi") texture = SubResource("AtlasTexture_ttapi")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="TextureRect" type="TextureRect" parent="Labels/Sound"] [node name="TextureRect" type="TextureRect" parent="Labels/Sound"]
layout_mode = 0 layout_mode = 0
@@ -1372,6 +1450,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_4e2pw") texture = SubResource("AtlasTexture_4e2pw")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/Localizers/Label"] [node name="Label3" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1404,6 +1484,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_17gvw") texture = SubResource("AtlasTexture_17gvw")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label4" type="Label" parent="Labels/Localizers/Label"] [node name="Label4" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1436,6 +1518,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_suvme") texture = SubResource("AtlasTexture_suvme")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label5" type="Label" parent="Labels/Localizers/Label"] [node name="Label5" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1468,6 +1552,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_d4vu4") texture = SubResource("AtlasTexture_d4vu4")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label6" type="Label" parent="Labels/Localizers/Label"] [node name="Label6" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1500,6 +1586,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_ekvxv") texture = SubResource("AtlasTexture_ekvxv")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label7" type="Label" parent="Labels/Localizers/Label"] [node name="Label7" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1532,6 +1620,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_txoml") texture = SubResource("AtlasTexture_txoml")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label8" type="Label" parent="Labels/Localizers/Label"] [node name="Label8" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1564,6 +1654,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_txoml") texture = SubResource("AtlasTexture_txoml")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label9" type="Label" parent="Labels/Localizers/Label"] [node name="Label9" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1596,6 +1688,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_d2mcn") texture = SubResource("AtlasTexture_d2mcn")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label10" type="Label" parent="Labels/Localizers/Label"] [node name="Label10" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1628,6 +1722,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_igtl7") texture = SubResource("AtlasTexture_igtl7")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label11" type="Label" parent="Labels/Localizers/Label"] [node name="Label11" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1660,6 +1756,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_wjira") texture = SubResource("AtlasTexture_wjira")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label12" type="Label" parent="Labels/Localizers/Label"] [node name="Label12" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1692,6 +1790,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_s2n2q") texture = SubResource("AtlasTexture_s2n2q")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label13" type="Label" parent="Labels/Localizers/Label"] [node name="Label13" type="Label" parent="Labels/Localizers/Label"]
layout_mode = 0 layout_mode = 0
@@ -1724,6 +1824,8 @@ offset_bottom = 16.0
grow_horizontal = 0 grow_horizontal = 0
texture = SubResource("AtlasTexture_bdyah") texture = SubResource("AtlasTexture_bdyah")
stretch_mode = 2 stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="TextureRect" type="TextureRect" parent="Labels/Localizers"] [node name="TextureRect" type="TextureRect" parent="Labels/Localizers"]
layout_mode = 0 layout_mode = 0

View File

@@ -132,6 +132,7 @@ offset_left = -44.0
offset_top = -11.0 offset_top = -11.0
offset_right = 156.0 offset_right = 156.0
offset_bottom = 5.0 offset_bottom = 5.0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
text = "CHALLENGE_DIALOGUE_SCORE" text = "CHALLENGE_DIALOGUE_SCORE"
uppercase = true uppercase = true
@@ -143,8 +144,10 @@ offset_left = -8.0
offset_top = -11.0 offset_top = -11.0
offset_right = 56.0 offset_right = 56.0
offset_bottom = 12.0 offset_bottom = 12.0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
text = "0" text = "0"
horizontal_alignment = 2 horizontal_alignment = 2
uppercase = true
[node name="Target" type="Label" parent="BG/Control/ChallengeScoreText"] [node name="Target" type="Label" parent="BG/Control/ChallengeScoreText"]
layout_mode = 1 layout_mode = 1
@@ -155,8 +158,10 @@ offset_left = -8.0
offset_right = 8.0 offset_right = 8.0
offset_bottom = 23.0 offset_bottom = 23.0
theme_override_colors/font_color = Color(0.462745, 0.52549, 1, 1) theme_override_colors/font_color = Color(0.462745, 0.52549, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
text = "/00000" text = "/00000"
horizontal_alignment = 2 horizontal_alignment = 2
uppercase = true
[node name="ChallengeCoins2" type="Label" parent="BG/Control"] [node name="ChallengeCoins2" type="Label" parent="BG/Control"]
unique_name_in_owner = true unique_name_in_owner = true
@@ -166,6 +171,7 @@ offset_left = -44.0
offset_top = -27.0 offset_top = -27.0
offset_right = 156.0 offset_right = 156.0
offset_bottom = -11.0 offset_bottom = -11.0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
text = "CHALLENGE_DIALOGUE_COINS" text = "CHALLENGE_DIALOGUE_COINS"
uppercase = true uppercase = true
@@ -230,7 +236,7 @@ metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[node name="TextShadowColourChanger" type="Node" parent="." node_paths=PackedStringArray("labels")] [node name="TextShadowColourChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("10_abjth") script = ExtResource("10_abjth")
labels = [NodePath("../BG/Control/World"), NodePath("../BG/Control/LivesCount"), NodePath("../BG/Control/MarathonPB"), NodePath("../BG/Control/WorldNum"), NodePath("../BG/Control/CustomLevelName"), NodePath("../BG/Control/CustomLevelAuthor")] labels = [NodePath("../BG/Control/World"), NodePath("../BG/Control/LivesCount"), NodePath("../BG/Control/MarathonPB"), NodePath("../BG/Control/WorldNum"), NodePath("../BG/Control/CustomLevelName"), NodePath("../BG/Control/CustomLevelAuthor"), NodePath("../BG/Control/ChallengeScore"), NodePath("../BG/Control/ChallengeScoreText"), NodePath("../BG/Control/ChallengeScoreText/Target"), NodePath("../BG/Control/ChallengeCoins2")]
metadata/_custom_type_script = "uid://dt2p68xl462v2" metadata/_custom_type_script = "uid://dt2p68xl462v2"
[connection signal="timeout" from="Timer" to="." method="transition"] [connection signal="timeout" from="Timer" to="." method="transition"]

View File

@@ -238,7 +238,7 @@ metadata/_custom_type_script = "uid://pfwgmuchergf"
[node name="ChallengeNodes" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")] [node name="ChallengeNodes" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")]
script = ExtResource("27_nvjju") script = ExtResource("27_nvjju")
nodes_to_delete = [NodePath("../Blocks/QuestionBlock2"), null, NodePath("../Blocks/BrickBlock7")] nodes_to_delete = [NodePath("../Blocks/QuestionBlock2"), NodePath("../Blocks/BrickBlock7")]
metadata/_custom_type_script = "uid://cgm3opb5qudc1" metadata/_custom_type_script = "uid://cgm3opb5qudc1"
[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("28_t63mw")] [node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("28_t63mw")]

View File

@@ -164,9 +164,8 @@ position = Vector2(3192, 0)
[node name="Checkpoint" parent="." instance=ExtResource("20_xv2tb")] [node name="Checkpoint" parent="." instance=ExtResource("20_xv2tb")]
position = Vector2(1328, 0) position = Vector2(1328, 0)
[node name="ChallengeNodes" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")] [node name="ChallengeNodes" type="Node" parent="."]
script = ExtResource("21_8rqg6") script = ExtResource("21_8rqg6")
nodes_to_delete = [null]
metadata/_custom_type_script = "uid://cgm3opb5qudc1" metadata/_custom_type_script = "uid://cgm3opb5qudc1"
[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("22_cxldk")] [node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("22_cxldk")]

View File

@@ -112,7 +112,7 @@ tile_map_data = PackedByteArray("AAD7////AAAAAAAAAAD8////AAABAAAAAAD+////AAABAAA
[node name="ChallengeNodes" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")] [node name="ChallengeNodes" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")]
script = ExtResource("21_f001g") script = ExtResource("21_f001g")
nodes_to_delete = [NodePath("../Blocks/QuestionBlock3"), NodePath("../Coin"), null, NodePath("../Blocks/QuestionBlock4")] nodes_to_delete = [NodePath("../Blocks/QuestionBlock3"), NodePath("../Coin"), NodePath("../Blocks/QuestionBlock4")]
metadata/_custom_type_script = "uid://cgm3opb5qudc1" metadata/_custom_type_script = "uid://cgm3opb5qudc1"
[node name="QuestionBlock" parent="ChallengeNodes" instance=ExtResource("9_vtupl")] [node name="QuestionBlock" parent="ChallengeNodes" instance=ExtResource("9_vtupl")]

View File

@@ -253,13 +253,8 @@ position = Vector2(2624, -32)
pipe_id = 3 pipe_id = 3
exit_only = true exit_only = true
[node name="Checkpoint2" parent="." instance=ExtResource("10_q2h2g")]
position = Vector2(1296, 0)
optional = true
[node name="CheckpointFlag" parent="." instance=ExtResource("24_v8ufo")] [node name="CheckpointFlag" parent="." instance=ExtResource("24_v8ufo")]
position = Vector2(1296, 0) position = Vector2(1296, 0)
optional = true
[connection signal="block_destroyed" from="Tiles/BrickBlock" to="Tiles/BrickBlock/LevelPersistance" method="set_as_active_2"] [connection signal="block_destroyed" from="Tiles/BrickBlock" to="Tiles/BrickBlock/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/BrickBlock" to="Tiles/BrickBlock/LevelPersistance" method="set_as_active"] [connection signal="block_emptied" from="Tiles/BrickBlock" to="Tiles/BrickBlock/LevelPersistance" method="set_as_active"]

View File

@@ -1054,7 +1054,7 @@ position = Vector2(2976, -96)
[node name="InvisibleQuestionBlock" parent="ChallengeNodes" index="5"] [node name="InvisibleQuestionBlock" parent="ChallengeNodes" index="5"]
position = Vector2(504, -104) position = Vector2(504, -104)
[node name="InvisibleQuestionBlock2" parent="ChallengeNodes" index="6" instance=ExtResource("3_dfskb")] [node name="InvisibleQuestionBlock3" parent="ChallengeNodes" index="6" instance=ExtResource("3_dfskb")]
position = Vector2(1176, -104) position = Vector2(1176, -104)
[node name="Enemies" type="Node" parent="." index="13"] [node name="Enemies" type="Node" parent="." index="13"]

View File

@@ -185,7 +185,7 @@ optional = true
[node name="ChallengeNodes" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")] [node name="ChallengeNodes" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")]
script = ExtResource("20_8cbri") script = ExtResource("20_8cbri")
nodes_to_delete = [NodePath("../Enemies/Lakitu"), NodePath("../DecoTiles"), NodePath("../Blocks")] nodes_to_delete = [NodePath("../Blocks")]
force_on = true force_on = true
metadata/_custom_type_script = "uid://cgm3opb5qudc1" metadata/_custom_type_script = "uid://cgm3opb5qudc1"

View File

@@ -204,6 +204,7 @@ position = Vector2(2200, -136)
[node name="CheckpointFlag" parent="." node_paths=PackedStringArray("nodes_to_delete") instance=ExtResource("22_686wu")] [node name="CheckpointFlag" parent="." node_paths=PackedStringArray("nodes_to_delete") instance=ExtResource("22_686wu")]
position = Vector2(1328, 0) position = Vector2(1328, 0)
nodes_to_delete = [NodePath("../Enemies/Blooper6")] nodes_to_delete = [NodePath("../Enemies/Blooper6")]
optional = true
[node name="EntityGenerator" parent="." instance=ExtResource("22_lnx6r")] [node name="EntityGenerator" parent="." instance=ExtResource("22_lnx6r")]
position = Vector2(-72, -176) position = Vector2(-72, -176)

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=26 format=4 uid="uid://7ey10q1ca0ap"] [gd_scene load_steps=28 format=4 uid="uid://7ey10q1ca0ap"]
[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_qbcvc"] [ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_qbcvc"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Jungle.json" id="2_w0ovt"] [ext_resource type="JSON" path="res://Assets/Audio/BGM/Jungle.json" id="2_w0ovt"]
@@ -23,6 +23,8 @@
[ext_resource type="PackedScene" uid="uid://d3gnwmvds4ors" path="res://Scenes/Prefabs/Entities/Items/SpinningRedCoin.tscn" id="23_tis0x"] [ext_resource type="PackedScene" uid="uid://d3gnwmvds4ors" path="res://Scenes/Prefabs/Entities/Items/SpinningRedCoin.tscn" id="23_tis0x"]
[ext_resource type="PackedScene" uid="uid://bc1mrna4kybhv" path="res://Scenes/Prefabs/Blocks/QuestionBlocks/QuestionBlock.tscn" id="24_egcch"] [ext_resource type="PackedScene" uid="uid://bc1mrna4kybhv" path="res://Scenes/Prefabs/Blocks/QuestionBlocks/QuestionBlock.tscn" id="24_egcch"]
[ext_resource type="PackedScene" uid="uid://ctx0nbkjf2osn" path="res://Scenes/Prefabs/Entities/Items/YoshiEgg.tscn" id="25_reoss"] [ext_resource type="PackedScene" uid="uid://ctx0nbkjf2osn" path="res://Scenes/Prefabs/Entities/Items/YoshiEgg.tscn" id="25_reoss"]
[ext_resource type="PackedScene" uid="uid://dsa8lpl7n8ge0" path="res://Scenes/Prefabs/Blocks/BrickBlocks/BrickBlock.tscn" id="26_hnsj4"]
[ext_resource type="PackedScene" uid="uid://dkxkrqflg46b2" path="res://Scenes/Prefabs/Entities/Items/Vine.tscn" id="27_o78ac"]
[ext_resource type="Script" uid="uid://dn7riekvv1gpy" path="res://Scripts/Parts/SettingObjectNode.gd" id="48_htsd2"] [ext_resource type="Script" uid="uid://dn7riekvv1gpy" path="res://Scripts/Parts/SettingObjectNode.gd" id="48_htsd2"]
[ext_resource type="PackedScene" uid="uid://cassl51oehlb6" path="res://Scenes/Prefabs/LevelObjects/CheckpointFlag.tscn" id="49_iuywa"] [ext_resource type="PackedScene" uid="uid://cassl51oehlb6" path="res://Scenes/Prefabs/LevelObjects/CheckpointFlag.tscn" id="49_iuywa"]
@@ -191,143 +193,149 @@ tile_map_data = PackedByteArray("AABEAP//AAAEAAIAAABEAAAAAAABAAAAAABEAAEAAAABAAE
[node name="CheckpointFlag" parent="." instance=ExtResource("49_iuywa")] [node name="CheckpointFlag" parent="." instance=ExtResource("49_iuywa")]
position = Vector2(1584, 0) position = Vector2(1584, 0)
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56588" to="Tiles/@AnimatableBody2D@56588/LevelPersistance" method="set_as_active_2"] [node name="BrickBlock" parent="." instance=ExtResource("26_hnsj4")]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56588" to="Tiles/@AnimatableBody2D@56588/LevelPersistance" method="set_as_active"] position = Vector2(2472, -120)
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56588" to="Tiles/@AnimatableBody2D@56588" method="player_mushroom_check"] item = ExtResource("27_o78ac")
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56588" to="Tiles/@AnimatableBody2D@56588" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56588" to="Tiles/@AnimatableBody2D@56588/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock/LevelPersistance" method="set_as_active_2"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56588" to="Tiles/@AnimatableBody2D@56588" method="dispense_item" unbinds=1] [connection signal="block_emptied" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock/LevelPersistance" method="set_as_active"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56588" to="Tiles/@AnimatableBody2D@56588/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="player_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock" method="player_mushroom_check"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56589" to="Tiles/@AnimatableBody2D@56589/LevelPersistance" method="set_as_active_2"] [connection signal="player_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock" method="dispense_item" unbinds=1]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56589" to="Tiles/@AnimatableBody2D@56589/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56589" to="Tiles/@AnimatableBody2D@56589" method="player_mushroom_check"] [connection signal="shell_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56589" to="Tiles/@AnimatableBody2D@56589" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56589" to="Tiles/@AnimatableBody2D@56589/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock/LevelPersistance" method="set_as_active_2"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56589" to="Tiles/@AnimatableBody2D@56589" method="dispense_item" unbinds=1] [connection signal="block_emptied" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock/LevelPersistance" method="set_as_active"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56589" to="Tiles/@AnimatableBody2D@56589/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="player_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock" method="player_mushroom_check"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56590" to="Tiles/@AnimatableBody2D@56590/LevelPersistance" method="set_as_active_2"] [connection signal="player_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock" method="dispense_item" unbinds=1]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56590" to="Tiles/@AnimatableBody2D@56590/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56590" to="Tiles/@AnimatableBody2D@56590" method="player_mushroom_check"] [connection signal="shell_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56590" to="Tiles/@AnimatableBody2D@56590" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56590" to="Tiles/@AnimatableBody2D@56590/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21378" to="Tiles/@AnimatableBody2D@21378/LevelPersistance" method="set_as_active_2"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56590" to="Tiles/@AnimatableBody2D@56590" method="dispense_item" unbinds=1] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21378" to="Tiles/@AnimatableBody2D@21378/LevelPersistance" method="set_as_active"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56590" to="Tiles/@AnimatableBody2D@56590/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21378" to="Tiles/@AnimatableBody2D@21378" method="player_mushroom_check"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56591" to="Tiles/@AnimatableBody2D@56591/LevelPersistance" method="set_as_active_2"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21378" to="Tiles/@AnimatableBody2D@21378" method="dispense_item" unbinds=1]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56591" to="Tiles/@AnimatableBody2D@56591/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21378" to="Tiles/@AnimatableBody2D@21378/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56591" to="Tiles/@AnimatableBody2D@56591" method="player_mushroom_check"] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21378" to="Tiles/@AnimatableBody2D@21378" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56591" to="Tiles/@AnimatableBody2D@56591" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21378" to="Tiles/@AnimatableBody2D@21378/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56591" to="Tiles/@AnimatableBody2D@56591/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21379" to="Tiles/@AnimatableBody2D@21379/LevelPersistance" method="set_as_active_2"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56591" to="Tiles/@AnimatableBody2D@56591" method="dispense_item" unbinds=1] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21379" to="Tiles/@AnimatableBody2D@21379/LevelPersistance" method="set_as_active"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56591" to="Tiles/@AnimatableBody2D@56591/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21379" to="Tiles/@AnimatableBody2D@21379" method="player_mushroom_check"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56592" to="Tiles/@AnimatableBody2D@56592/LevelPersistance" method="set_as_active_2"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21379" to="Tiles/@AnimatableBody2D@21379" method="dispense_item" unbinds=1]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56592" to="Tiles/@AnimatableBody2D@56592/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21379" to="Tiles/@AnimatableBody2D@21379/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56592" to="Tiles/@AnimatableBody2D@56592" method="on_block_hit"] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21379" to="Tiles/@AnimatableBody2D@21379" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56592" to="Tiles/@AnimatableBody2D@56592/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21379" to="Tiles/@AnimatableBody2D@21379/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56592" to="Tiles/@AnimatableBody2D@56592" method="on_shell_block_hit"] [connection signal="block_destroyed" from="Tiles/BrickBlock" to="Tiles/BrickBlock/LevelPersistance" method="set_as_active_2"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56592" to="Tiles/@AnimatableBody2D@56592/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_emptied" from="Tiles/BrickBlock" to="Tiles/BrickBlock/LevelPersistance" method="set_as_active"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56593" to="Tiles/@AnimatableBody2D@56593/LevelPersistance" method="set_as_active_2"] [connection signal="item_changed" from="Tiles/BrickBlock" to="Tiles/BrickBlock" method="check_brick_empty"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56593" to="Tiles/@AnimatableBody2D@56593/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/BrickBlock" to="Tiles/BrickBlock" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56593" to="Tiles/@AnimatableBody2D@56593" method="on_block_hit"] [connection signal="player_block_hit" from="Tiles/BrickBlock" to="Tiles/BrickBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56593" to="Tiles/@AnimatableBody2D@56593/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/BrickBlock" to="Tiles/BrickBlock" method="on_shell_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56593" to="Tiles/@AnimatableBody2D@56593/Timer" method="start" flags=6 unbinds=1] [connection signal="shell_block_hit" from="Tiles/BrickBlock" to="Tiles/BrickBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56593" to="Tiles/@AnimatableBody2D@56593" method="on_shell_block_hit"] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21380" to="Tiles/@AnimatableBody2D@21380/LevelPersistance" method="set_as_active_2"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56593" to="Tiles/@AnimatableBody2D@56593/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21380" to="Tiles/@AnimatableBody2D@21380/LevelPersistance" method="set_as_active"]
[connection signal="area_entered" from="Tiles/@Area2D@56594" to="Tiles/@Area2D@56594" method="area_entered"] [connection signal="item_changed" from="Tiles/@AnimatableBody2D@21380" to="Tiles/@AnimatableBody2D@21380" method="check_brick_empty"]
[connection signal="area_entered" from="Tiles/@Area2D@56595" to="Tiles/@Area2D@56595" method="area_entered"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21380" to="Tiles/@AnimatableBody2D@21380" method="on_block_hit"]
[connection signal="area_entered" from="Tiles/@Area2D@56596" to="Tiles/@Area2D@56596" method="area_entered"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21380" to="Tiles/@AnimatableBody2D@21380/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="area_entered" from="Tiles/@Area2D@56597" to="Tiles/@Area2D@56597" method="area_entered"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21380" to="Tiles/@AnimatableBody2D@21380/Timer" method="start" flags=6 unbinds=1]
[connection signal="area_entered" from="Tiles/@Area2D@56598" to="Tiles/@Area2D@56598" method="area_entered"] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21380" to="Tiles/@AnimatableBody2D@21380" method="on_shell_block_hit"]
[connection signal="area_entered" from="Tiles/@Area2D@56599" to="Tiles/@Area2D@56599" method="area_entered"] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21380" to="Tiles/@AnimatableBody2D@21380/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="area_entered" from="Tiles/@Area2D@56600" to="Tiles/@Area2D@56600" method="area_entered"] [connection signal="area_entered" from="Tiles/DeathPit" to="Tiles/DeathPit" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@56601" to="Tiles/@Area2D@56601" method="area_entered"] [connection signal="area_entered" from="Tiles/@Area2D@21381" to="Tiles/@Area2D@21381" method="area_entered"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56602" to="Tiles/@AnimatableBody2D@56602/LevelPersistance" method="set_as_active_2"] [connection signal="area_entered" from="Tiles/@Area2D@21382" to="Tiles/@Area2D@21382" method="area_entered"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56602" to="Tiles/@AnimatableBody2D@56602/LevelPersistance" method="set_as_active"] [connection signal="area_entered" from="Tiles/@Area2D@21383" to="Tiles/@Area2D@21383" method="area_entered"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56602" to="Tiles/@AnimatableBody2D@56602" method="player_mushroom_check"] [connection signal="area_entered" from="Tiles/@Area2D@21384" to="Tiles/@Area2D@21384" method="area_entered"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56602" to="Tiles/@AnimatableBody2D@56602" method="dispense_item" unbinds=1] [connection signal="area_entered" from="Tiles/@Area2D@21385" to="Tiles/@Area2D@21385" method="area_entered"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56602" to="Tiles/@AnimatableBody2D@56602/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="area_entered" from="Tiles/@Area2D@21386" to="Tiles/@Area2D@21386" method="area_entered"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56602" to="Tiles/@AnimatableBody2D@56602" method="dispense_item" unbinds=1] [connection signal="area_entered" from="Tiles/@Area2D@21387" to="Tiles/@Area2D@21387" method="area_entered"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56602" to="Tiles/@AnimatableBody2D@56602/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21388" to="Tiles/@AnimatableBody2D@21388/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56603" to="Tiles/@AnimatableBody2D@56603/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21388" to="Tiles/@AnimatableBody2D@21388/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56603" to="Tiles/@AnimatableBody2D@56603/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21388" to="Tiles/@AnimatableBody2D@21388" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56603" to="Tiles/@AnimatableBody2D@56603" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21388" to="Tiles/@AnimatableBody2D@21388" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56603" to="Tiles/@AnimatableBody2D@56603" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21388" to="Tiles/@AnimatableBody2D@21388/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56603" to="Tiles/@AnimatableBody2D@56603/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21388" to="Tiles/@AnimatableBody2D@21388" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56603" to="Tiles/@AnimatableBody2D@56603" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21388" to="Tiles/@AnimatableBody2D@21388/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56603" to="Tiles/@AnimatableBody2D@56603/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21389" to="Tiles/@AnimatableBody2D@21389/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56604" to="Tiles/@AnimatableBody2D@56604/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21389" to="Tiles/@AnimatableBody2D@21389/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56604" to="Tiles/@AnimatableBody2D@56604/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21389" to="Tiles/@AnimatableBody2D@21389" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56604" to="Tiles/@AnimatableBody2D@56604" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21389" to="Tiles/@AnimatableBody2D@21389" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56604" to="Tiles/@AnimatableBody2D@56604" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21389" to="Tiles/@AnimatableBody2D@21389/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56604" to="Tiles/@AnimatableBody2D@56604/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21389" to="Tiles/@AnimatableBody2D@21389" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56604" to="Tiles/@AnimatableBody2D@56604" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21389" to="Tiles/@AnimatableBody2D@21389/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56604" to="Tiles/@AnimatableBody2D@56604/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21390" to="Tiles/@AnimatableBody2D@21390/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56605" to="Tiles/@AnimatableBody2D@56605/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21390" to="Tiles/@AnimatableBody2D@21390/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56605" to="Tiles/@AnimatableBody2D@56605/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21390" to="Tiles/@AnimatableBody2D@21390" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56605" to="Tiles/@AnimatableBody2D@56605" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21390" to="Tiles/@AnimatableBody2D@21390" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56605" to="Tiles/@AnimatableBody2D@56605" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21390" to="Tiles/@AnimatableBody2D@21390/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56605" to="Tiles/@AnimatableBody2D@56605/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21390" to="Tiles/@AnimatableBody2D@21390" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56605" to="Tiles/@AnimatableBody2D@56605" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21390" to="Tiles/@AnimatableBody2D@21390/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56605" to="Tiles/@AnimatableBody2D@56605/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21391" to="Tiles/@AnimatableBody2D@21391/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56606" to="Tiles/@AnimatableBody2D@56606/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21391" to="Tiles/@AnimatableBody2D@21391/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56606" to="Tiles/@AnimatableBody2D@56606/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21391" to="Tiles/@AnimatableBody2D@21391" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56606" to="Tiles/@AnimatableBody2D@56606" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21391" to="Tiles/@AnimatableBody2D@21391" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56606" to="Tiles/@AnimatableBody2D@56606" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21391" to="Tiles/@AnimatableBody2D@21391/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56606" to="Tiles/@AnimatableBody2D@56606/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21391" to="Tiles/@AnimatableBody2D@21391" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56606" to="Tiles/@AnimatableBody2D@56606" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21391" to="Tiles/@AnimatableBody2D@21391/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56606" to="Tiles/@AnimatableBody2D@56606/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21392" to="Tiles/@AnimatableBody2D@21392/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56607" to="Tiles/@AnimatableBody2D@56607/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21392" to="Tiles/@AnimatableBody2D@21392/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56607" to="Tiles/@AnimatableBody2D@56607/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21392" to="Tiles/@AnimatableBody2D@21392" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56607" to="Tiles/@AnimatableBody2D@56607" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21392" to="Tiles/@AnimatableBody2D@21392" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56607" to="Tiles/@AnimatableBody2D@56607" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21392" to="Tiles/@AnimatableBody2D@21392/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56607" to="Tiles/@AnimatableBody2D@56607/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21392" to="Tiles/@AnimatableBody2D@21392" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56607" to="Tiles/@AnimatableBody2D@56607" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21392" to="Tiles/@AnimatableBody2D@21392/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56607" to="Tiles/@AnimatableBody2D@56607/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21393" to="Tiles/@AnimatableBody2D@21393/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56608" to="Tiles/@AnimatableBody2D@56608/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21393" to="Tiles/@AnimatableBody2D@21393/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56608" to="Tiles/@AnimatableBody2D@56608/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21393" to="Tiles/@AnimatableBody2D@21393" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56608" to="Tiles/@AnimatableBody2D@56608" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21393" to="Tiles/@AnimatableBody2D@21393" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56608" to="Tiles/@AnimatableBody2D@56608" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21393" to="Tiles/@AnimatableBody2D@21393/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56608" to="Tiles/@AnimatableBody2D@56608/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21393" to="Tiles/@AnimatableBody2D@21393" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56608" to="Tiles/@AnimatableBody2D@56608" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21393" to="Tiles/@AnimatableBody2D@21393/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56608" to="Tiles/@AnimatableBody2D@56608/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21394" to="Tiles/@AnimatableBody2D@21394/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56609" to="Tiles/@AnimatableBody2D@56609/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21394" to="Tiles/@AnimatableBody2D@21394/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56609" to="Tiles/@AnimatableBody2D@56609/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21394" to="Tiles/@AnimatableBody2D@21394" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56609" to="Tiles/@AnimatableBody2D@56609" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21394" to="Tiles/@AnimatableBody2D@21394" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56609" to="Tiles/@AnimatableBody2D@56609" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21394" to="Tiles/@AnimatableBody2D@21394/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56609" to="Tiles/@AnimatableBody2D@56609/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21394" to="Tiles/@AnimatableBody2D@21394" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56609" to="Tiles/@AnimatableBody2D@56609" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21394" to="Tiles/@AnimatableBody2D@21394/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56609" to="Tiles/@AnimatableBody2D@56609/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21395" to="Tiles/@AnimatableBody2D@21395/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56610" to="Tiles/@AnimatableBody2D@56610/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21395" to="Tiles/@AnimatableBody2D@21395/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56610" to="Tiles/@AnimatableBody2D@56610/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21395" to="Tiles/@AnimatableBody2D@21395" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56610" to="Tiles/@AnimatableBody2D@56610" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21395" to="Tiles/@AnimatableBody2D@21395" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56610" to="Tiles/@AnimatableBody2D@56610" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21395" to="Tiles/@AnimatableBody2D@21395/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56610" to="Tiles/@AnimatableBody2D@56610/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21395" to="Tiles/@AnimatableBody2D@21395" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56610" to="Tiles/@AnimatableBody2D@56610" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21395" to="Tiles/@AnimatableBody2D@21395/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56610" to="Tiles/@AnimatableBody2D@56610/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21396" to="Tiles/@AnimatableBody2D@21396/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56611" to="Tiles/@AnimatableBody2D@56611/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21396" to="Tiles/@AnimatableBody2D@21396/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56611" to="Tiles/@AnimatableBody2D@56611/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21396" to="Tiles/@AnimatableBody2D@21396" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56611" to="Tiles/@AnimatableBody2D@56611" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21396" to="Tiles/@AnimatableBody2D@21396" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56611" to="Tiles/@AnimatableBody2D@56611" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21396" to="Tiles/@AnimatableBody2D@21396/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56611" to="Tiles/@AnimatableBody2D@56611/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21396" to="Tiles/@AnimatableBody2D@21396" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56611" to="Tiles/@AnimatableBody2D@56611" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21396" to="Tiles/@AnimatableBody2D@21396/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56611" to="Tiles/@AnimatableBody2D@56611/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21397" to="Tiles/@AnimatableBody2D@21397/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56612" to="Tiles/@AnimatableBody2D@56612/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21397" to="Tiles/@AnimatableBody2D@21397/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56612" to="Tiles/@AnimatableBody2D@56612/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21397" to="Tiles/@AnimatableBody2D@21397" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56612" to="Tiles/@AnimatableBody2D@56612" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21397" to="Tiles/@AnimatableBody2D@21397" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56612" to="Tiles/@AnimatableBody2D@56612" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21397" to="Tiles/@AnimatableBody2D@21397/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56612" to="Tiles/@AnimatableBody2D@56612/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21397" to="Tiles/@AnimatableBody2D@21397" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56612" to="Tiles/@AnimatableBody2D@56612" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21397" to="Tiles/@AnimatableBody2D@21397/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56612" to="Tiles/@AnimatableBody2D@56612/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21398" to="Tiles/@AnimatableBody2D@21398/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56613" to="Tiles/@AnimatableBody2D@56613/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21398" to="Tiles/@AnimatableBody2D@21398/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56613" to="Tiles/@AnimatableBody2D@56613/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21398" to="Tiles/@AnimatableBody2D@21398" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56613" to="Tiles/@AnimatableBody2D@56613" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21398" to="Tiles/@AnimatableBody2D@21398" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56613" to="Tiles/@AnimatableBody2D@56613" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21398" to="Tiles/@AnimatableBody2D@21398/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56613" to="Tiles/@AnimatableBody2D@56613/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21398" to="Tiles/@AnimatableBody2D@21398" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56613" to="Tiles/@AnimatableBody2D@56613" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21398" to="Tiles/@AnimatableBody2D@21398/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56613" to="Tiles/@AnimatableBody2D@56613/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21399" to="Tiles/@AnimatableBody2D@21399/LevelPersistance" method="set_as_active_2"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@56614" to="Tiles/@AnimatableBody2D@56614/LevelPersistance" method="set_as_active_2"] [connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21399" to="Tiles/@AnimatableBody2D@21399/LevelPersistance" method="set_as_active"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@56614" to="Tiles/@AnimatableBody2D@56614/LevelPersistance" method="set_as_active"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21399" to="Tiles/@AnimatableBody2D@21399" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56614" to="Tiles/@AnimatableBody2D@56614" method="player_mushroom_check"] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21399" to="Tiles/@AnimatableBody2D@21399" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56614" to="Tiles/@AnimatableBody2D@56614" method="dispense_item" unbinds=1] [connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21399" to="Tiles/@AnimatableBody2D@21399/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@56614" to="Tiles/@AnimatableBody2D@56614/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21399" to="Tiles/@AnimatableBody2D@21399" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56614" to="Tiles/@AnimatableBody2D@56614" method="dispense_item" unbinds=1] [connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21399" to="Tiles/@AnimatableBody2D@21399/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@56614" to="Tiles/@AnimatableBody2D@56614/BlockAnimations" method="bounce_block" unbinds=1] [connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@21400" to="Tiles/@AnimatableBody2D@21400/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@21400" to="Tiles/@AnimatableBody2D@21400/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21400" to="Tiles/@AnimatableBody2D@21400" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21400" to="Tiles/@AnimatableBody2D@21400" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@21400" to="Tiles/@AnimatableBody2D@21400/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21400" to="Tiles/@AnimatableBody2D@21400" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@21400" to="Tiles/@AnimatableBody2D@21400/BlockAnimations" method="bounce_block" unbinds=1]

View File

@@ -236,6 +236,7 @@ position = Vector2(3432, -120)
[node name="CheckpointFlag" parent="." instance=ExtResource("24_osugw")] [node name="CheckpointFlag" parent="." instance=ExtResource("24_osugw")]
position = Vector2(2056, -64) position = Vector2(2056, -64)
optional = true
[node name="BrickBlock" parent="." instance=ExtResource("21_u54v8")] [node name="BrickBlock" parent="." instance=ExtResource("21_u54v8")]
position = Vector2(2040, -120) position = Vector2(2040, -120)

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=41 format=3 uid="uid://duptcik2j0b04"] [gd_scene load_steps=40 format=3 uid="uid://duptcik2j0b04"]
[ext_resource type="Texture2D" uid="uid://d3sxabber73q6" path="res://Assets/Sprites/Enemies/Bowser.png" id="1_8mi7o"] [ext_resource type="Texture2D" uid="uid://d3sxabber73q6" path="res://Assets/Sprites/Enemies/Bowser.png" id="1_8mi7o"]
[ext_resource type="Script" uid="uid://wtypg4d0l6j2" path="res://Scripts/Classes/Entities/Enemies/Bowser.gd" id="1_ma5fd"] [ext_resource type="Script" uid="uid://wtypg4d0l6j2" path="res://Scripts/Classes/Entities/Enemies/Bowser.gd" id="1_ma5fd"]
@@ -11,7 +11,6 @@
[ext_resource type="JSON" path="res://Assets/Sprites/Enemies/Bowser.json" id="6_nf6hu"] [ext_resource type="JSON" path="res://Assets/Sprites/Enemies/Bowser.json" id="6_nf6hu"]
[ext_resource type="Script" uid="uid://cmvlgsjmsk0v5" path="res://Scripts/Classes/Resources/ThemedResource.gd" id="6_pvhfi"] [ext_resource type="Script" uid="uid://cmvlgsjmsk0v5" path="res://Scripts/Classes/Resources/ThemedResource.gd" id="6_pvhfi"]
[ext_resource type="Script" uid="uid://c3gg32ivrlq8n" path="res://Scripts/Classes/Components/GibSpawner.gd" id="6_va0n6"] [ext_resource type="Script" uid="uid://c3gg32ivrlq8n" path="res://Scripts/Classes/Components/GibSpawner.gd" id="6_va0n6"]
[ext_resource type="JSON" path="res://Assets/Sprites/Enemies/Goomba.json" id="9_exf4b"]
[ext_resource type="Script" uid="uid://5octqlf4ohel" path="res://Scripts/Classes/Components/ScoreNoteSpawner.gd" id="11_pvhfi"] [ext_resource type="Script" uid="uid://5octqlf4ohel" path="res://Scripts/Classes/Components/ScoreNoteSpawner.gd" id="11_pvhfi"]
[ext_resource type="Script" uid="uid://cqif1li7otvpl" path="res://Scripts/Parts/SpriteFramesToJsonConverter.gd" id="14_nf6hu"] [ext_resource type="Script" uid="uid://cqif1li7otvpl" path="res://Scripts/Parts/SpriteFramesToJsonConverter.gd" id="14_nf6hu"]
[ext_resource type="Script" uid="uid://ctfbuoxtnnl0q" path="res://Scripts/Classes/Components/EditorPropertyExposer.gd" id="15_nf6hu"] [ext_resource type="Script" uid="uid://ctfbuoxtnnl0q" path="res://Scripts/Classes/Components/EditorPropertyExposer.gd" id="15_nf6hu"]
@@ -300,7 +299,7 @@ metadata/_custom_type_script = "uid://caq1qiwmy0mox"
script = ExtResource("5_17x2r") script = ExtResource("5_17x2r")
node_to_affect = NodePath("..") node_to_affect = NodePath("..")
property_name = "sprite_frames" property_name = "sprite_frames"
resource_json = ExtResource("9_exf4b") resource_json = ExtResource("6_nf6hu")
use_cache = false use_cache = false
metadata/_custom_type_script = "uid://cbal8ms2oe1ik" metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
@@ -344,6 +343,7 @@ metadata/_custom_type_script = "uid://dri2d5jtu0fbq"
[node name="GibSpawner" type="Node" parent="." node_paths=PackedStringArray("visuals")] [node name="GibSpawner" type="Node" parent="." node_paths=PackedStringArray("visuals")]
script = ExtResource("6_va0n6") script = ExtResource("6_va0n6")
visuals = NodePath("../SpriteScaleJoint/DeathSprite") visuals = NodePath("../SpriteScaleJoint/DeathSprite")
gib_type = 1
metadata/_custom_type_script = "uid://c3gg32ivrlq8n" metadata/_custom_type_script = "uid://c3gg32ivrlq8n"
[node name="ScoreNoteSpawner" type="Node" parent="."] [node name="ScoreNoteSpawner" type="Node" parent="."]
@@ -403,13 +403,14 @@ hitbox = NodePath("../SpriteScaleJoint/Sprite/Hitbox")
metadata/_custom_type_script = "uid://ba18grqjixded" metadata/_custom_type_script = "uid://ba18grqjixded"
[connection signal="killed" from="." to="GibSpawner" method="summon_gib"] [connection signal="killed" from="." to="GibSpawner" method="summon_gib"]
[connection signal="killed" from="." to="." method="show_smoke" unbinds=1]
[connection signal="killed" from="." to="ScoreNoteSpawner" method="spawn_note" binds= [5000]] [connection signal="killed" from="." to="ScoreNoteSpawner" method="spawn_note" binds= [5000]]
[connection signal="killed" from="." to="." method="show_smoke" unbinds=1]
[connection signal="area_entered" from="SpriteScaleJoint/Sprite/Hitbox" to="." method="on_area_entered"] [connection signal="area_entered" from="SpriteScaleJoint/Sprite/Hitbox" to="." method="on_area_entered"]
[connection signal="timeout" from="JumpTimer" to="." method="jump"] [connection signal="timeout" from="JumpTimer" to="." method="jump"]
[connection signal="timeout" from="HammerTime" to="." method="throw_hammers"] [connection signal="timeout" from="HammerTime" to="." method="throw_hammers"]
[connection signal="timeout" from="FlameTimer" to="." method="breathe_fire"] [connection signal="timeout" from="FlameTimer" to="." method="breathe_fire"]
[connection signal="fireball_hit" from="FireballDetection" to="." method="fireball_hit" unbinds=1] [connection signal="fireball_hit" from="FireballDetection" to="." method="fireball_hit" unbinds=1]
[connection signal="gib_about_to_spawn" from="GibSpawner" to="." method="on_gib_about_to_spawn"]
[connection signal="screen_entered" from="VisibleOnScreenEnabler2D" to="." method="play_music" flags=6] [connection signal="screen_entered" from="VisibleOnScreenEnabler2D" to="." method="play_music" flags=6]
[connection signal="attached" from="TrackJoint" to="MoveAnimation" method="play" binds= ["RESET"]] [connection signal="attached" from="TrackJoint" to="MoveAnimation" method="play" binds= ["RESET"]]
[connection signal="moving_shell_entered" from="ShellDetection" to="ShellDetection" method="destroy_shell"] [connection signal="moving_shell_entered" from="ShellDetection" to="ShellDetection" method="destroy_shell"]

View File

@@ -11,3 +11,6 @@ resource_json = ExtResource("2_qcxx5")
[node name="ResourceSetterNew" parent="SpriteScaleJoint/DeathSprite" index="0"] [node name="ResourceSetterNew" parent="SpriteScaleJoint/DeathSprite" index="0"]
resource_json = ExtResource("2_qcxx5") resource_json = ExtResource("2_qcxx5")
[node name="GibSpawner" parent="." index="8" node_paths=PackedStringArray("visuals")]
visuals = NodePath("../SpriteScaleJoint/DeathSprite")

View File

@@ -141,11 +141,14 @@ metadata/_custom_type_script = "uid://d4a7yp6e55u8t"
[node name="ScoreNoteSpawner" type="Node" parent="."] [node name="ScoreNoteSpawner" type="Node" parent="."]
script = ExtResource("11_jkv5r") script = ExtResource("11_jkv5r")
add_score = true
metadata/_custom_type_script = "uid://5octqlf4ohel" metadata/_custom_type_script = "uid://5octqlf4ohel"
[connection signal="killed" from="." to="GibSpawner" method="summon_gib"] [connection signal="killed" from="." to="GibSpawner" method="summon_gib"]
[connection signal="hammer_player_hit" from="EnemyPlayerDetection" to="." method="die_from_hammer"] [connection signal="hammer_player_hit" from="EnemyPlayerDetection" to="." method="die_from_hammer"]
[connection signal="hammer_player_hit" from="EnemyPlayerDetection" to="ScoreNoteSpawner" method="spawn_note" binds= [200]]
[connection signal="invincible_player_hit" from="EnemyPlayerDetection" to="." method="die_from_object"] [connection signal="invincible_player_hit" from="EnemyPlayerDetection" to="." method="die_from_object"]
[connection signal="invincible_player_hit" from="EnemyPlayerDetection" to="ScoreNoteSpawner" method="spawn_note" binds= [200]]
[connection signal="player_hit" from="EnemyPlayerDetection" to="." method="damage_player"] [connection signal="player_hit" from="EnemyPlayerDetection" to="." method="damage_player"]
[connection signal="player_stomped_on" from="EnemyPlayerDetection" to="." method="damage_player"] [connection signal="player_stomped_on" from="EnemyPlayerDetection" to="." method="damage_player"]
[connection signal="block_bounced" from="BlockBouncingDetection" to="." method="die_from_object"] [connection signal="block_bounced" from="BlockBouncingDetection" to="." method="die_from_object"]

View File

@@ -5,7 +5,7 @@
[node name="TrueBowser" instance=ExtResource("1_xtf8a")] [node name="TrueBowser" instance=ExtResource("1_xtf8a")]
can_hammer = true can_hammer = true
metadata/is_real = true is_real = true
[node name="ResourceSetterNew" parent="SpriteScaleJoint/DeathSprite" index="0"] [node name="ResourceSetterNew" parent="SpriteScaleJoint/DeathSprite" index="0"]
resource_json = ExtResource("4_ryqkh") resource_json = ExtResource("4_ryqkh")

View File

@@ -43,6 +43,7 @@ region_rect = Rect2(0, 16, 32, 16)
shape = SubResource("RectangleShape2D_4k6gi") shape = SubResource("RectangleShape2D_4k6gi")
[node name="PlacePreview" type="Node2D" parent="."] [node name="PlacePreview" type="Node2D" parent="."]
visible = false
z_index = 1 z_index = 1
[node name="NW" type="Sprite2D" parent="PlacePreview"] [node name="NW" type="Sprite2D" parent="PlacePreview"]

View File

@@ -1,8 +1,7 @@
[gd_scene load_steps=24 format=3 uid="uid://c6loucilra6da"] [gd_scene load_steps=22 format=3 uid="uid://c6loucilra6da"]
[ext_resource type="Script" uid="uid://dwfnvpioh2kvi" path="res://Scripts/Parts/EndFlagpole.gd" id="1_3rtm4"] [ext_resource type="Script" uid="uid://dwfnvpioh2kvi" path="res://Scripts/Parts/EndFlagpole.gd" id="1_3rtm4"]
[ext_resource type="Texture2D" uid="uid://3vg41a5plc4e" path="res://Assets/Sprites/Tilesets/FlagPole.png" id="1_hnd65"] [ext_resource type="Texture2D" uid="uid://3vg41a5plc4e" path="res://Assets/Sprites/Tilesets/FlagPole.png" id="1_hnd65"]
[ext_resource type="Script" uid="uid://cnheej0sxmoxg" path="res://Scripts/Parts/PlayerDetection.gd" id="4_62gix"]
[ext_resource type="JSON" path="res://Assets/Sprites/Tilesets/FlagPole.json" id="4_nykv5"] [ext_resource type="JSON" path="res://Assets/Sprites/Tilesets/FlagPole.json" id="4_nykv5"]
[ext_resource type="Script" uid="uid://5octqlf4ohel" path="res://Scripts/Classes/Components/ScoreNoteSpawner.gd" id="5_dm4yn"] [ext_resource type="Script" uid="uid://5octqlf4ohel" path="res://Scripts/Classes/Components/ScoreNoteSpawner.gd" id="5_dm4yn"]
[ext_resource type="Script" uid="uid://cmvlgsjmsk0v5" path="res://Scripts/Classes/Resources/ThemedResource.gd" id="5_jihtx"] [ext_resource type="Script" uid="uid://cmvlgsjmsk0v5" path="res://Scripts/Classes/Resources/ThemedResource.gd" id="5_jihtx"]
@@ -57,9 +56,6 @@ _data = {
&"RESET": SubResource("Animation_xwflf") &"RESET": SubResource("Animation_xwflf")
} }
[sub_resource type="CircleShape2D" id="CircleShape2D_c56yc"]
radius = 4.0
[sub_resource type="Animation" id="Animation_uwkl1"] [sub_resource type="Animation" id="Animation_uwkl1"]
length = 0.001 length = 0.001
tracks/0/type = "value" tracks/0/type = "value"
@@ -170,14 +166,6 @@ libraries = {
&"": SubResource("AnimationLibrary_62gix") &"": SubResource("AnimationLibrary_62gix")
} }
[node name="Top" type="Area2D" parent="."]
script = ExtResource("4_62gix")
metadata/_custom_type_script = "uid://cnheej0sxmoxg"
[node name="CollisionShape2D" type="CollisionShape2D" parent="Top"]
position = Vector2(0, -164)
shape = SubResource("CircleShape2D_c56yc")
[node name="ScoreNoteSpawner" type="Node" parent="."] [node name="ScoreNoteSpawner" type="Node" parent="."]
script = ExtResource("5_dm4yn") script = ExtResource("5_dm4yn")
note_offset = Vector2(0, -160) note_offset = Vector2(0, -160)
@@ -211,5 +199,3 @@ json_file_path = "res://Assets/Sprites/Tilesets/FlagPole.json"
metadata/_custom_type_script = "uid://cqif1li7otvpl" metadata/_custom_type_script = "uid://cqif1li7otvpl"
[connection signal="area_entered" from="Hitbox" to="." method="on_area_entered"] [connection signal="area_entered" from="Hitbox" to="." method="on_area_entered"]
[connection signal="player_entered" from="Top" to="." method="on_player_entered"]
[connection signal="player_entered" from="Top" to="ScoreNoteSpawner" method="spawn_one_up_note" unbinds=1]

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://dybfmrawthall"] [gd_scene load_steps=9 format=3 uid="uid://dybfmrawthall"]
[ext_resource type="Texture2D" uid="uid://boongcly3e2cl" path="res://Assets/Sprites/Particles/LakituCloudBurst.png" id="1_3jvpp"] [ext_resource type="Texture2D" uid="uid://boongcly3e2cl" path="res://Assets/Sprites/Particles/LakituCloudBurst.png" id="1_3jvpp"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="2_cic8a"] [ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="2_cic8a"]
@@ -40,20 +40,12 @@ animations = [{
"speed": 10.0 "speed": 10.0
}] }]
[sub_resource type="GDScript" id="GDScript_3jvpp"]
script/source = "extends AnimatedSprite2D
func _ready() -> void:
pass
"
[node name="LakituCloudBurst" type="AnimatedSprite2D"] [node name="LakituCloudBurst" type="AnimatedSprite2D"]
z_index = 5 z_index = 5
sprite_frames = SubResource("SpriteFrames_xs1ui") sprite_frames = SubResource("SpriteFrames_xs1ui")
autoplay = "default" autoplay = "default"
frame = 3 frame = 3
frame_progress = 1.0 frame_progress = 1.0
script = SubResource("GDScript_3jvpp")
[node name="Timer" type="Timer" parent="."] [node name="Timer" type="Timer" parent="."]
wait_time = 10.0 wait_time = 10.0

View File

@@ -447,7 +447,7 @@ size_flags_vertical = 3
theme_override_constants/separation = -4 theme_override_constants/separation = -4
script = ExtResource("4_avtty") script = ExtResource("4_avtty")
category_name = "SETTINGS_VISUALS" category_name = "SETTINGS_VISUALS"
options = [NodePath("ParallaxStyle"), NodePath("BGParticles"), NodePath("HUDStyle"), NodePath("RainbowEffect"), NodePath("TransformationEffect"), NodePath("TextShadows"), NodePath("BridgeDestructionAnimation"), NodePath("VisibleTimers"), NodePath("TransitionAnimation"), NodePath("SpecialScrollingMode"), NodePath("ColourfulPipes"), NodePath("FirebarStyle"), NodePath("ExtraParticles")] options = [NodePath("ParallaxStyle"), NodePath("BGParticles"), NodePath("HUDStyle"), NodePath("RainbowEffect"), NodePath("TransformationEffect"), NodePath("TextShadows"), NodePath("BridgeDestructionAnimation"), NodePath("VisibleTimers"), NodePath("TransitionAnimation"), null, NodePath("ColourfulPipes"), NodePath("FirebarStyle"), NodePath("ExtraParticles")]
[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals"] [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals"]
custom_minimum_size = Vector2(0, 4) custom_minimum_size = Vector2(0, 4)
@@ -516,13 +516,6 @@ title = "VISUAL_TRANSITION_EFFECT"
values = ["VISUAL_TRANSITION_CLASSIC", "VISUAL_TRANSITION_SMOOTH"] values = ["VISUAL_TRANSITION_CLASSIC", "VISUAL_TRANSITION_SMOOTH"]
settings_category = "visuals" settings_category = "visuals"
[node name="SpecialScrollingMode" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "smbs_scroll"
title = "VISUAL_SMBS_SCROLL"
values = ["VISUAL_SMBS_SCROLL_OFF", "VISUAL_SMBS_SCROLL_X1", "VISUAL_SMBS_SCROLL_PC8801"]
settings_category = "visuals"
[node name="ColourfulPipes" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")] [node name="ColourfulPipes" parent="PanelContainer/MarginContainer/VBoxContainer/Visuals" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2 layout_mode = 2
option_key = "colour_pipes" option_key = "colour_pipes"
@@ -569,6 +562,7 @@ title = "RESOURCE_REFRESH"
[node name="SelectableOptionNode3" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks" instance=ExtResource("9_t6b48")] [node name="SelectableOptionNode3" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks" instance=ExtResource("9_t6b48")]
layout_mode = 2 layout_mode = 2
title = "RESOURCE_PACK_CREATE" title = "RESOURCE_PACK_CREATE"
press_sfx = ""
[node name="ResourcePackLoader" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks"] [node name="ResourcePackLoader" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks"]
script = ExtResource("9_2qqpf") script = ExtResource("9_2qqpf")
@@ -1020,13 +1014,13 @@ script = ExtResource("19_k6yev")
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/BridgeDestructionAnimation" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="bridge_changed"] [connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/BridgeDestructionAnimation" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="bridge_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisibleTimers" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="visible_timers_changed"] [connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisibleTimers" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="visible_timers_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/TransitionAnimation" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="transition_style_changed"] [connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/TransitionAnimation" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="transition_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/SpecialScrollingMode" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="smbs_scroll_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/ColourfulPipes" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="colourful_pipes_changed"] [connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/ColourfulPipes" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="colourful_pipes_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/FirebarStyle" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="firebar_style_changed"] [connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/FirebarStyle" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="firebar_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/ExtraParticles" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="extra_particles"] [connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Visuals/ExtraParticles" to="PanelContainer/MarginContainer/VBoxContainer/Visuals/VisualsSetter" method="extra_particles"]
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/ResourcePackLoader" method="open_folder"] [connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/ResourcePackLoader" method="open_folder"]
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode2" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/ResourcePackLoader" method="get_resource_packs"] [connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode2" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/ResourcePackLoader" method="get_resource_packs"]
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode3" to="ResourcePackTemplateCreator" method="create_template"] [connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode3" to="ResourcePackTemplateCreator" method="create_template"]
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode3" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode3" method="set_title" binds= ["Creating Resource Pack..."]]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DamageStyle" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="damage_style_changed"] [connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DamageStyle" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="damage_style_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/Checkpoints" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="checkpoint_changed"] [connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/Checkpoints" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="checkpoint_changed"]
[connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/ExtraCheckpoints" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="extra_checkpoints_changed"] [connection signal="value_changed" from="PanelContainer/MarginContainer/VBoxContainer/Difficulty/ExtraCheckpoints" to="PanelContainer/MarginContainer/VBoxContainer/Difficulty/DifficultySetter" method="extra_checkpoints_changed"]
@@ -1044,6 +1038,8 @@ script = ExtResource("19_k6yev")
[connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/AchievementData" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_achievement"] [connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/AchievementData" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_achievement"]
[connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/Everything" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_everything"] [connection signal="deleted" from="PanelContainer/MarginContainer/VBoxContainer/Data/Everything" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="delete_everything"]
[connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/Data/RegenROM" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="regen_rom"] [connection signal="button_pressed" from="PanelContainer/MarginContainer/VBoxContainer/Data/RegenROM" to="PanelContainer/MarginContainer/VBoxContainer/Data/DataDeletion" method="regen_rom"]
[connection signal="pack_created" from="ResourcePackTemplateCreator" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode3" method="set_title" binds= ["RESOURCE_PACK_CREATE"]]
[connection signal="pack_created" from="ResourcePackTemplateCreator" to="PanelContainer/MarginContainer/VBoxContainer/ResourcePacks/SelectableOptionNode3" method="play_sfx" binds= ["correct"]]
[editable path="PanelContainer/MarginContainer/VBoxContainer/Video/Language"] [editable path="PanelContainer/MarginContainer/VBoxContainer/Video/Language"]
[editable path="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode"] [editable path="PanelContainer/MarginContainer/VBoxContainer/Audio/SelectableOptionNode"]

View File

@@ -10,15 +10,16 @@ func _physics_process(delta: float) -> void:
global_position.y += 32 * delta global_position.y += 32 * delta
if global_position.y >= target_player.global_position.y - 24 and can_rise: if global_position.y >= target_player.global_position.y - 24 and can_rise:
rise_tween() rise_tween()
$Sprite.play("Fall")
else:
$Sprite.play("Rise")
func rise_tween() -> void: func rise_tween() -> void:
$Sprite.play("Rise")
falling = false falling = false
can_rise = false can_rise = false
var tween = create_tween().set_trans(Tween.TRANS_CUBIC) var tween = create_tween().set_trans(Tween.TRANS_CUBIC)
var dir = sign(target_player.global_position.x - global_position.x) var dir = sign(target_player.global_position.x - global_position.x)
if dir != 0:
direction = dir
$Sprite.scale.x = direction
var target_position := Vector2(32 * dir, -32) var target_position := Vector2(32 * dir, -32)
var final_position = global_position + target_position var final_position = global_position + target_position
var top_point = -176 var top_point = -176
@@ -28,6 +29,7 @@ func rise_tween() -> void:
tween.tween_property(self, "global_position", final_position, 0.75) tween.tween_property(self, "global_position", final_position, 0.75)
await tween.finished await tween.finished
$Sprite.play("Fall")
falling = true falling = true
await get_tree().create_timer(0.25, false).timeout await get_tree().create_timer(0.25, false).timeout
can_rise = true can_rise = true

View File

@@ -50,15 +50,12 @@ func get_target_y(player: Player) -> float:
return player.global_position.y - 8 return player.global_position.y - 8
func show_smoke() -> void: func show_smoke() -> void:
# guzlad: ugly but it'll have to do until we move the metadata stuff to actual variables if is_real: return
if (((Global.current_game_mode == Global.GameMode.CUSTOM_LEVEL) or (Global.current_game_mode == Global.GameMode.LEVEL_EDITOR)) and !is_real):
var smoke = preload("res://Scenes/Prefabs/Particles/SmokeParticle.tscn").instantiate() var smoke = preload("res://Scenes/Prefabs/Particles/SmokeParticle.tscn").instantiate()
smoke.scale = Vector2(2, 2) smoke.scale = Vector2(2, 2)
smoke.global_position =global_position smoke.global_position =global_position
AudioManager.play_sfx("magic", global_position) AudioManager.play_sfx("magic", global_position)
add_sibling(smoke) add_sibling(smoke)
elif has_meta("is_real"):
return
func breathe_fire() -> void: func breathe_fire() -> void:
if can_fire == false: if can_fire == false:
@@ -141,6 +138,14 @@ func play_music() -> void:
if music_enabled: if music_enabled:
AudioManager.set_music_override(AudioManager.MUSIC_OVERRIDES.BOWSER, 5, false) AudioManager.set_music_override(AudioManager.MUSIC_OVERRIDES.BOWSER, 5, false)
func on_timeout() -> void: func on_timeout() -> void:
move_dir = [-1, 1].pick_random() move_dir = [-1, 1].pick_random()
func on_gib_about_to_spawn() -> void:
if is_real:
$FallSFX.play()
$FallSFX.finished.connect($FallSFX.queue_free)
$FallSFX.reparent(get_parent())
# guzlad: ugly but it'll have to do until we move the metadata stuff to actual variables
if ((Global.current_game_mode == Global.GameMode.CUSTOM_LEVEL) or (Global.current_game_mode == Global.GameMode.LEVEL_EDITOR)) and !is_real:
$SpriteScaleJoint/DeathSprite/ResourceSetterNew.resource_json = load("res://Assets/Sprites/Enemies/Goomba.json")

4
Scripts/Classes/Entities/Enemies/MontyMole.gd Executable file → Normal file
View File

@@ -7,7 +7,9 @@ const ACCEL := 1.0
func _physics_process(delta: float) -> void: func _physics_process(delta: float) -> void:
target_player = get_tree().get_first_node_in_group("Players") target_player = get_tree().get_first_node_in_group("Players")
direction = sign(target_player.global_position.x - global_position.x) var dir = sign(target_player.global_position.x - global_position.x)
if dir != 0:
direction = dir
$Sprite.scale.x = direction $Sprite.scale.x = direction
handle_movement(delta) handle_movement(delta)

View File

@@ -18,10 +18,10 @@ func on_area_entered(area: Area2D) -> void:
func give_life(_player: Player) -> void: func give_life(_player: Player) -> void:
DiscoLevel.combo_amount += 1 DiscoLevel.combo_amount += 1
AudioManager.play_sfx("1_up", global_position) AudioManager.play_sfx("1_up", global_position)
if Global.current_game_mode == Global.GameMode.CHALLENGE or Settings.file.difficulty.inf_lives: if [Global.GameMode.CHALLENGE, Global.GameMode.BOO_RACE].has(Global.current_game_mode) or Settings.file.difficulty.inf_lives:
Global.score += 2000 Global.score += 2000
$ScoreNoteSpawner.spawn_note(2000) $ScoreNoteSpawner.spawn_note(2000)
else: else:
$ScoreNoteSpawner.spawn_one_up_note()
Global.lives += 1 Global.lives += 1
$ScoreNoteSpawner.spawn_one_up_note()
queue_free() queue_free()

View File

@@ -32,7 +32,7 @@ func bounce_player(player: Player) -> void:
$Sprite.play("Idle") $Sprite.play("Idle")
func refresh_hitbox() -> void: func refresh_hitbox() -> void:
$Hitbox/CollisionShape2D.set_deferred("disabled", true) $PlayerDetection/CollisionShape2D.set_deferred("disabled", true)
await get_tree().physics_frame await get_tree().physics_frame
$Hitbox/CollisionShape2D.set_deferred("disabled", false) $PlayerDetection/CollisionShape2D.set_deferred("disabled", false)

View File

@@ -6,9 +6,6 @@ static var character_save := "Mario"
func _ready() -> void: func _ready() -> void:
activated.get_node("ResourceSetterNew").resource_json = load(get_character_sprite_path(0)) activated.get_node("ResourceSetterNew").resource_json = load(get_character_sprite_path(0))
if Settings.file.difficulty.checkpoint_style == 0 and (Global.current_game_mode != Global.GameMode.LEVEL_EDITOR and Global.current_game_mode != Global.GameMode.CUSTOM_LEVEL) or Global.current_campaign == "SMBANN":
owner.queue_free()
return
owner.show() owner.show()
if owner.passed: if owner.passed:
sprite.hide() sprite.hide()

View File

@@ -161,6 +161,8 @@ const ANIMATION_FALLBACKS := {
"CrouchJump": "Crouch", "CrouchJump": "Crouch",
"CrouchBump": "Bump", "CrouchBump": "Bump",
"CrouchMove": "Crouch", "CrouchMove": "Crouch",
"WaterCrouchMove": "CrouchMove",
"WingCrouchMove": "WaterCrouchMove",
"IdleAttack": "MoveAttack", "IdleAttack": "MoveAttack",
"CrouchAttack": "IdleAttack", "CrouchAttack": "IdleAttack",
"MoveAttack": "Attack", "MoveAttack": "Attack",
@@ -216,7 +218,9 @@ func _ready() -> void:
character = CHARACTERS[int(Global.player_characters[player_id])] character = CHARACTERS[int(Global.player_characters[player_id])]
Global.can_time_tick = true Global.can_time_tick = true
if [Global.GameMode.BOO_RACE, Global.GameMode.MARATHON, Global.GameMode.MARATHON_PRACTICE].has(Global.current_game_mode) == false: if [Global.GameMode.BOO_RACE, Global.GameMode.MARATHON, Global.GameMode.MARATHON_PRACTICE].has(Global.current_game_mode) == false:
apply_character_physics() apply_character_physics(true)
else:
apply_character_physics(false)
apply_character_sfx_map() apply_character_sfx_map()
Global.level_theme_changed.connect(apply_character_sfx_map) Global.level_theme_changed.connect(apply_character_sfx_map)
Global.level_theme_changed.connect(apply_character_physics) Global.level_theme_changed.connect(apply_character_physics)
@@ -232,22 +236,24 @@ func _ready() -> void:
if Global.level_editor == null: if Global.level_editor == null:
recenter_camera() recenter_camera()
func apply_character_physics() -> void: func apply_character_physics(apply: bool) -> void:
var path = "res://Assets/Sprites/Players/" + character + "/CharacterInfo.json" var path = "res://Assets/Sprites/Players/" + character + "/CharacterInfo.json"
if int(Global.player_characters[player_id]) > 3: if int(Global.player_characters[player_id]) > 3:
path = path.replace("res://Assets/Sprites/Players", Global.config_path.path_join("custom_characters/")) path = path.replace("res://Assets/Sprites/Players", Global.config_path.path_join("custom_characters/"))
path = ResourceSetter.get_pure_resource_path(path) path = ResourceSetter.get_pure_resource_path(path)
var json = JSON.parse_string(FileAccess.open(path, FileAccess.READ).get_as_text()) var json = JSON.parse_string(FileAccess.open(path, FileAccess.READ).get_as_text())
if apply:
for i in json.physics: for i in json.physics:
set(i, json.physics[i]) set(i, json.physics[i])
for i in get_tree().get_nodes_in_group("SmallCollisions"): for i in get_tree().get_nodes_in_group("SmallCollisions"):
var hitbox_scale = json.get("small_hitbox_scale", [1, 1]) var hitbox_scale = json.get("small_hitbox_scale", [1, 1]) if apply else [1, 1]
i.hitbox = Vector3(hitbox_scale[0], hitbox_scale[1] if i.get_meta("scalable", true) else 1, json.get("small_crouch_scale", 0.75)) i.hitbox = Vector3(hitbox_scale[0], hitbox_scale[1] if i.get_meta("scalable", true) else 1, json.get("small_crouch_scale", 0.75) if apply else 0.75)
i._physics_process(0) i._physics_process(0)
for i in get_tree().get_nodes_in_group("BigCollisions"): for i in get_tree().get_nodes_in_group("BigCollisions"):
var hitbox_scale = json.get("big_hitbox_scale", [1, 1]) var hitbox_scale = json.get("big_hitbox_scale", [1, 1]) if apply else [1, 1]
i.hitbox = Vector3(hitbox_scale[0], hitbox_scale[1] if i.get_meta("scalable", true) else 1, json.get("big_crouch_scale", 0.5)) i.hitbox = Vector3(hitbox_scale[0], hitbox_scale[1] if i.get_meta("scalable", true) else 1, json.get("big_crouch_scale", 0.5) if apply else 0.5)
i._physics_process(0) i._physics_process(0)
func apply_classic_physics() -> void: func apply_classic_physics() -> void:
@@ -445,7 +451,7 @@ func enemy_bounce_off(add_combo := true, award_score := true) -> void:
func add_stomp_combo(award_score := true) -> void: func add_stomp_combo(award_score := true) -> void:
if stomp_combo >= 10: if stomp_combo >= 10:
if award_score: if award_score:
if Global.current_game_mode == Global.GameMode.CHALLENGE or Settings.file.difficulty.inf_lives: if [Global.GameMode.CHALLENGE, Global.GameMode.BOO_RACE].has(Global.current_gamemode) or Settings.file.difficulty.inf_lives:
Global.score += 10000 Global.score += 10000
score_note_spawner.spawn_note(10000) score_note_spawner.spawn_note(10000)
else: else:
@@ -698,9 +704,10 @@ func set_power_state_frame() -> void:
can_bump_fly = %Sprite.sprite_frames.has_animation("FlyBump") can_bump_fly = %Sprite.sprite_frames.has_animation("FlyBump")
can_kick_anim = %Sprite.sprite_frames.has_animation("Kick") can_kick_anim = %Sprite.sprite_frames.has_animation("Kick")
func get_power_up(power_name := "") -> void: func get_power_up(power_name := "", give_points := true) -> void:
if is_dead: if is_dead:
return return
if give_points:
Global.score += 1000 Global.score += 1000
DiscoLevel.combo_amount += 1 DiscoLevel.combo_amount += 1
score_note_spawner.spawn_note(1000) score_note_spawner.spawn_note(1000)
@@ -886,6 +893,7 @@ func do_smoke_effect() -> void:
func on_timeout() -> void: func on_timeout() -> void:
AudioManager.stop_music_override(AudioManager.MUSIC_OVERRIDES.STAR) AudioManager.stop_music_override(AudioManager.MUSIC_OVERRIDES.STAR)
await get_tree().create_timer(1, false).timeout await get_tree().create_timer(1, false).timeout
if $StarTimer.is_stopped():
is_invincible = false is_invincible = false

View File

@@ -67,7 +67,7 @@ func on_player_hit(hit_player: Player) -> void:
func award_score(award_level: int) -> void: func award_score(award_level: int) -> void:
if award_level >= 10: if award_level >= 10:
if Global.current_game_mode == Global.GameMode.CHALLENGE or Settings.file.difficulty.inf_lives: if [Global.GameMode.CHALLENGE, Global.GameMode.BOO_RACE].has(Global.current_game_mode) or Settings.file.difficulty.inf_lives:
$ScoreNoteSpawner.spawn_note(10000) $ScoreNoteSpawner.spawn_note(10000)
else: else:
AudioManager.play_global_sfx("1_up") AudioManager.play_global_sfx("1_up")

View File

@@ -59,8 +59,8 @@ signal text_shadow_changed
var debugged_in := true var debugged_in := true
var score_tween = create_tween() var score_tween = null
var time_tween = create_tween() var time_tween = null
var total_deaths := 0 var total_deaths := 0
@@ -314,7 +314,9 @@ func tally_time() -> void:
score_tally_finished.emit() score_tally_finished.emit()
func cancel_score_tally() -> void: func cancel_score_tally() -> void:
if score_tween != null:
score_tween.kill() score_tween.kill()
if time_tween != null:
time_tween.kill() time_tween.kill()
tallying_score = false tallying_score = false
$ScoreTally.stop() $ScoreTally.stop()

View File

@@ -221,8 +221,14 @@ func get_animation_name() -> String:
return "CrouchJump" return "CrouchJump"
elif player.is_actually_on_floor(): elif player.is_actually_on_floor():
if abs(player.velocity.x) >= 5 and not player.is_actually_on_wall(): if abs(player.velocity.x) >= 5 and not player.is_actually_on_wall():
if player.in_water:
return "WaterCrouchMove"
elif player.flight_meter > 0:
return "WingCrouchMove"
else:
return "CrouchMove" return "CrouchMove"
elif player.in_water: else:
if player.in_water:
return "WaterCrouch" return "WaterCrouch"
elif player.flight_meter > 0: elif player.flight_meter > 0:
return "WingCrouch" return "WingCrouch"

View File

@@ -27,13 +27,17 @@ func _enter_tree() -> void:
LevelPersistance.active_nodes = old_state.duplicate(true) LevelPersistance.active_nodes = old_state.duplicate(true)
func _ready() -> void: func _ready() -> void:
if [Global.GameMode.CHALLENGE, Global.GameMode.MARATHON_PRACTICE].has(Global.current_game_mode) or Global.current_campaign == "SMBANN": if [Global.GameMode.CHALLENGE, Global.GameMode.MARATHON_PRACTICE].has(Global.current_game_mode) or Global.current_campaign == "SMBANN" or (Settings.file.difficulty.extra_checkpoints == 0 and optional):
queue_free() queue_free()
return return
if has_meta("is_flag") == false: if has_meta("is_flag") == false:
hide() hide()
if Settings.file.difficulty.checkpoint_style != 0: if Settings.file.difficulty.checkpoint_style != 0:
queue_free() queue_free()
return
elif Settings.file.difficulty.checkpoint_style == 0:
queue_free()
return
if passed and PipeArea.exiting_pipe_id == -1 and Global.current_game_mode != Global.GameMode.LEVEL_EDITOR and Level.vine_return_level == "" and passed_checkpoints[passed_checkpoints.size() - 1] == id: if passed and PipeArea.exiting_pipe_id == -1 and Global.current_game_mode != Global.GameMode.LEVEL_EDITOR and Level.vine_return_level == "" and passed_checkpoints[passed_checkpoints.size() - 1] == id:
for i in nodes_to_delete: for i in nodes_to_delete:
i.queue_free() i.queue_free()
@@ -62,7 +66,7 @@ func on_area_entered(area: Area2D) -> void:
sublevel_id = Global.level_editor.sub_level_id sublevel_id = Global.level_editor.sub_level_id
if Settings.file.difficulty.checkpoint_style == 2 and has_meta("is_flag"): if Settings.file.difficulty.checkpoint_style == 2 and has_meta("is_flag"):
if player.power_state.state_name == "Small": if player.power_state.state_name == "Small":
player.get_power_up("Big") player.get_power_up("Big", false)
respawn_position = global_position respawn_position = global_position
crossed.emit(area.owner) crossed.emit(area.owner)
@@ -71,6 +75,3 @@ func get_id() -> String:
return str(Global.level_editor.sub_level_id) + "," + str(Vector2i(global_position)) + "," + get_parent().name return str(Global.level_editor.sub_level_id) + "," + str(Vector2i(global_position)) + "," + get_parent().name
else: else:
return Global.current_level.scene_file_path + "," + str(Vector2i(global_position)) + "," + get_parent().name return Global.current_level.scene_file_path + "," + str(Vector2i(global_position)) + "," + get_parent().name
func on_tree_exiting() -> void:
pass # Replace with function body.

View File

@@ -85,9 +85,13 @@ func do_lost_levels_firework_check() -> void:
else: else:
await show_fireworks(3) await show_fireworks(3)
if Global.coins % 11 == 0: if Global.coins % 11 == 0:
spawn_one_up_note()
AudioManager.play_sfx("1_up", global_position) AudioManager.play_sfx("1_up", global_position)
if [Global.GameMode.CHALLENGE, Global.GameMode.BOO_RACE].has(Global.current_game_mode) or Settings.file.difficulty.inf_lives:
Global.score += 2000
$ScoreNoteSpawner.spawn_note(2000)
else:
Global.lives += 1 Global.lives += 1
spawn_one_up_note()
const ONE_UP_NOTE = preload("uid://dopxwjj37gu0l") const ONE_UP_NOTE = preload("uid://dopxwjj37gu0l")

View File

@@ -2,21 +2,16 @@ extends Node2D
const FLAG_POINTS := [100, 400, 800, 2000, 5000] const FLAG_POINTS := [100, 400, 800, 2000, 5000]
const FLAG_POINTS_MODERN := [100, 200, 800, 4000, 8000]
signal player_reached signal player_reached
signal sequence_begin signal sequence_begin
func _ready() -> void:
if Settings.file.difficulty.flagpole_lives == 0:
print(Settings.file.difficulty)
$Top.queue_free()
func on_area_entered(area: Area2D) -> void: func on_area_entered(area: Area2D) -> void:
if area.owner is Player: if area.owner is Player:
player_touch(area.owner) player_touch(area.owner)
func player_touch(player: Player) -> void: func player_touch(player: Player) -> void:
player_reached.emit() player_reached.emit()
if Global.current_game_mode == Global.GameMode.MARATHON_PRACTICE: if Global.current_game_mode == Global.GameMode.MARATHON_PRACTICE:
@@ -49,11 +44,13 @@ func player_touch(player: Player) -> void:
func give_points(player: Player) -> void: func give_points(player: Player) -> void:
var value = clamp(int(lerp(0, 4, (player.global_position.y / -144))), 0, 4) var value = clamp(int(lerp(0, 4, (player.global_position.y / -144))), 0, 4)
var nearest_value = FLAG_POINTS[value] var nearest_value = FLAG_POINTS[value]
if Settings.file.difficulty.flagpole_lives:
nearest_value = FLAG_POINTS_MODERN[value]
$Score.text = str(nearest_value) $Score.text = str(nearest_value)
if nearest_value == 8000 and not [Global.GameMode.CHALLENGE, Global.GameMode.BOO_RACE].has(Global.current_game_mode) and not Settings.file.difficulty.inf_lives:
AudioManager.play_sfx("1_up", global_position)
Global.lives += 1
$ScoreNoteSpawner.spawn_one_up_note()
else:
Global.score += nearest_value Global.score += nearest_value
$Score/Animation2.play("ScoreRise") $Score/Animation2.play("ScoreRise")
func on_player_entered(player: Player) -> void:
player_touch(player)
Global.lives += 1
AudioManager.play_sfx("1_up", global_position)

View File

@@ -106,7 +106,7 @@ func handle_challenge_mode_transition() -> void:
%ChallengeScoreText/Target.show() %ChallengeScoreText/Target.show()
%ChallengeCoins2.show() %ChallengeCoins2.show()
%ChallengeCoins.show() %ChallengeCoins.show()
%ChallengeScoreText.text = str(Global.score) %ChallengeScoreText.text = str(int(ChallengeModeHandler.top_challenge_scores[Global.world_num - 1][Global.level_num - 1]))
var idx = 0 var idx = 0
for i in %ChallengeCoins.get_children(): for i in %ChallengeCoins.get_children():
if ChallengeModeHandler.is_coin_collected(idx, ChallengeModeHandler.red_coins_collected[Global.world_num - 1][Global.level_num - 1]): if ChallengeModeHandler.is_coin_collected(idx, ChallengeModeHandler.red_coins_collected[Global.world_num - 1][Global.level_num - 1]):

View File

@@ -3,13 +3,23 @@ extends Node
var files := [] var files := []
var directories := [] var directories := []
signal fnt_file_downloaded(text: String)
var downloaded_fnt_text := []
signal pack_created
const base_info_json := { const base_info_json := {
"name": "New Pack", "name": "New Pack",
"description": "Template, give me a description!", "description": "Template, give me a description!",
"author": "Me, until you change it" "author": "Me, until you change it",
"version": "1.0"
} }
const disallowed_files := ["bgm","ctex","json","fnt", "svg"]
func create_template() -> void: func create_template() -> void:
await get_tree().process_frame
get_directories("res://Assets", files, directories) get_directories("res://Assets", files, directories)
for i in directories: for i in directories:
DirAccess.make_dir_recursive_absolute(i.replace("res://Assets", Global.config_path.path_join("resource_packs/new_pack"))) DirAccess.make_dir_recursive_absolute(i.replace("res://Assets", Global.config_path.path_join("resource_packs/new_pack")))
@@ -19,14 +29,52 @@ func create_template() -> void:
destination = i.replace("res://Assets", Global.config_path.path_join("resource_packs/new_pack")) destination = i.replace("res://Assets", Global.config_path.path_join("resource_packs/new_pack"))
else: else:
destination = i.replace(Global.config_path.path_join("resource_packs/BaseAssets"), Global.config_path.path_join("resource_packs/new_pack")) destination = i.replace(Global.config_path.path_join("resource_packs/BaseAssets"), Global.config_path.path_join("resource_packs/new_pack"))
print("Copying '" + i + "' to: '" + destination) var data = []
if i.contains(".fnt") or i.contains("ScoreFont"):
data = await download_fnt_text(i)
## Imagine being one of the best open source game engines, yet not able to get the FUCKING CONTENTS
## OF AN FNT FILE SO INSTEAD YOU HAVE TO WRITE THE MOST BULLSHIT CODE TO DOWNLOAD THE FUCKING FILE
## FROM THE FUCKING GITHUB REPO. WHY? BECAUSE GODOT IS SHIT. FUCK GODOT.
elif i.contains(".svg"):
## DON'T import SVGs
continue
elif disallowed_files.has(i.get_extension()) == false and i.contains("res://"):
var resource = load(i)
if resource is Texture:
if OS.is_debug_build(): print("texture:" + i)
var image: Image = resource.get_image()
image.convert(Image.FORMAT_RGBA8)
data = image.save_png_to_buffer()
elif resource is AudioStream:
match i.get_extension():
"mp3":
if OS.is_debug_build(): print("mp3:" + i)
data = resource.get_data()
"wav":
## guzlad: CAN NOT BE format FORMAT_IMA_ADPCM or FORMAT_QOA as they don't support the save function
## guzlad: Should be FORMAT_16_BITS like most of our other .wav files
if OS.is_debug_build(): print("wav:" + i)
var wav_file: AudioStreamWAV = load(i)
if !OS.is_debug_build():
wav_file.save_to_wav(destination)
else:
print(error_string(wav_file.save_to_wav(destination)))
## guzlad: No OGG yet
_:
data = resource.get_data()
else:
if OS.is_debug_build(): print("else:" + i)
var old_file = FileAccess.open(i, FileAccess.READ) var old_file = FileAccess.open(i, FileAccess.READ)
if old_file != null: data = old_file.get_buffer(old_file.get_length())
var new_file = FileAccess.open(destination, FileAccess.WRITE) if OS.is_debug_build(): print("else error: " + error_string(old_file.get_error()))
new_file.store_buffer(old_file.get_buffer(old_file.get_length()))
old_file.close() old_file.close()
new_file.close()
if !data.is_empty():
if OS.is_debug_build(): print("saving:" + i)
var new_file = FileAccess.open(destination, FileAccess.WRITE)
new_file.store_buffer(data)
if OS.is_debug_build(): print("saving error: " + error_string(new_file.get_error()))
new_file.close()
var pack_info_path = Global.config_path.path_join("resource_packs/new_pack/pack_info.json") var pack_info_path = Global.config_path.path_join("resource_packs/new_pack/pack_info.json")
DirAccess.make_dir_recursive_absolute(pack_info_path.get_base_dir()) DirAccess.make_dir_recursive_absolute(pack_info_path.get_base_dir())
@@ -34,10 +82,26 @@ func create_template() -> void:
file.store_string(JSON.stringify(base_info_json, "\t")) file.store_string(JSON.stringify(base_info_json, "\t"))
file.close() file.close()
print("Done") print("Done")
pack_created.emit()
func download_fnt_text(file_path := "") -> PackedByteArray:
var http = HTTPRequest.new()
const GITHUB_URL = "https://raw.githubusercontent.com/JHDev2006/Super-Mario-Bros.-Remastered-Public/refs/heads/main/"
var url = GITHUB_URL + file_path.replace("res://", "")
add_child(http)
http.request_completed.connect(file_downloaded)
http.request(url, [], HTTPClient.METHOD_GET)
await fnt_file_downloaded
http.queue_free()
return downloaded_fnt_text
func file_downloaded(result: int, response_code: int, headers: PackedStringArray, body: PackedByteArray) -> void:
downloaded_fnt_text = body
fnt_file_downloaded.emit(downloaded_fnt_text)
func get_directories(base_dir := "", files := [], directories := []) -> void: func get_directories(base_dir := "", files := [], directories := []) -> void:
for i in DirAccess.get_directories_at(base_dir): for i in DirAccess.get_directories_at(base_dir):
if base_dir.contains("LevelGuides") == false: if base_dir.contains("LevelGuides") == false and base_dir.contains(".godot") == false:
directories.append(base_dir + "/" + i) directories.append(base_dir + "/" + i)
get_directories(base_dir + "/" + i, files, directories) get_directories(base_dir + "/" + i, files, directories)
get_files(base_dir + "/" + i, files) get_files(base_dir + "/" + i, files)
@@ -46,7 +110,7 @@ func get_files(base_dir := "", files := []) -> void:
for i in DirAccess.get_files_at(base_dir): for i in DirAccess.get_files_at(base_dir):
if base_dir.contains("LevelGuides") == false: if base_dir.contains("LevelGuides") == false:
i = i.replace(".import", "") i = i.replace(".import", "")
print(i) #print(i)
var target_path = base_dir + "/" + i var target_path = base_dir + "/" + i
var rom_assets_path = target_path.replace("res://Assets", Global.config_path.path_join("resource_packs/BaseAssets")) var rom_assets_path = target_path.replace("res://Assets", Global.config_path.path_join("resource_packs/BaseAssets"))
if FileAccess.file_exists(rom_assets_path): if FileAccess.file_exists(rom_assets_path):

View File

@@ -19,4 +19,11 @@ func handle_inputs() -> void:
if Input.is_action_just_pressed("ui_accept"): if Input.is_action_just_pressed("ui_accept"):
button_pressed.emit() button_pressed.emit()
if press_sfx != "": if press_sfx != "":
AudioManager.play_global_sfx(press_sfx) play_sfx()
func play_sfx(sfx := press_sfx) -> void:
await get_tree().process_frame
AudioManager.play_global_sfx(sfx)
func set_title(text := "") -> void:
title = text

View File

@@ -56,14 +56,15 @@ func frame_limit_changed(new_value := 0) -> void:
3: new_framerate = 144 3: new_framerate = 144
4: new_framerate = 240 4: new_framerate = 240
Engine.max_fps = new_framerate Engine.set_max_fps(new_framerate)
Settings.file.video.frame_limit = new_value Settings.file.video.frame_limit = new_value
func set_window_size(value := []) -> void: func set_window_size(value := []) -> void:
pass
# nabbup: Recenter resized window on launch # nabbup: Recenter resized window on launch
var newpos = get_window().position - Vector2i((value[0]-get_window().size.x), (value[1]-get_window().size.y))/2 #var newpos = get_window().position - Vector2i((value[0]-get_window().size.x), (value[1]-get_window().size.y))/2
get_window().size = Vector2(value[0], value[1]) #get_window().size = Vector2(value[0], value[1])
get_window().position = newpos #get_window().position = newpos
func set_value(value_name := "", value = null) -> void: func set_value(value_name := "", value = null) -> void:
{ {