fix: Wave 8 Kamikaze nicht alle Feinde + Blaues Schiff Texturen - #46
Open
geraldHack wants to merge 2 commits into
Open
fix: Wave 8 Kamikaze nicht alle Feinde + Blaues Schiff Texturen#46geraldHack wants to merge 2 commits into
geraldHack wants to merge 2 commits into
Conversation
Wave 8 Bug Fix: - Fixed Kamikaze waves not spawning all enemies - When squadsToSpawn reached 0 but enemies remained, spawning stopped - Now continues spawning until all enemies are deployed Blue Ship Textures (all 3): - Added player_blue_thruster.png (384x48, 8-frame spritesheet) - Added player_blue_bank.png (384x48, 8-frame spritesheet) - Added player_blue_bowwave.png (384x48, 8-frame spritesheet) - Added Base64-encoded texture data to EmbeddedTextures - Removed TODO comment in DeltaBladeFactory Co-authored-by: geraldHack <geraldHack@users.noreply.github.com>
The Base64-encoded texture data for player_blue_thruster.png, player_blue_bank.png, and player_blue_bowwave.png didn't match the actual PNG files, causing preload errors on startup. Regenerated Base64 data from the correct PNG source files. Co-authored-by: geraldHack <geraldHack@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Zusammenfassung
Dieser PR behebt zwei zusammenhängende Probleme:
1. Wave 8 Spawn-Bug
Der
WaveManagerhatte einen Fehler bei Kamikaze-Wellen (Wave 8+), bei dem nicht alle Feinde gespawnt wurden. Das Problem war:squadsToSpawnkonnte auf 0 fallen, obwohl noch Feinde übrig warenFix: Die
update()Methode wurde angepasst, umsquadsToSpawnauf 1 zurückzusetzen, wenn noch Feinde gespawnt werden müssen.2. Fehlende blaue Schiff-Texturen
Die Base64-kodierten Texturdaten für die blauen Spieler-Sprites (
player_blue_thruster.png,player_blue_bank.png,player_blue_bowwave.png) stimmten nicht mit den tatsächlichen PNG-Dateien überein, was zu einer roten Fehlermeldung beim Start führte.Fix:
EmbeddedTextures.javawurden aus den korrekten PNG-Quelldateien regeneriertGeänderte Dateien
src/main/java/deltablade/WaveManager.java- Spawn-Logik-Fixsrc/main/java/deltablade/EmbeddedTextures.java- Korrekte Base64-Texturdatensrc/main/resources/assets/textures/player_blue_*.png- Textur-Dateien hinzugefügtTests