Enemy final boss - #158
Open
mialskywalker wants to merge 56 commits into
Open
Conversation
…ded basic detectionaggro
…tion of the state
…shed nova state and added debug draw for it
…onfig values and exposed transform in boss controller
…ound (ENGINE BUG)
… being the teleport anchors
AndreuMiroSabate
approved these changes
Aug 23, 2026
AndreuMiroSabate
left a comment
Contributor
There was a problem hiding this comment.
For what I tested it works good and looks cool. The battle seems difficult and entertaining. Also all the abilities here seem useful (I can't test it properly since I test it alone).
Also the abilities I think they are well implemented. The UI is correct also.
Soon I will upload the boss level so we can start testing the battle there.
Good job.
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.
Summary
Adds the King Aelorin boss encounter with the core Phase 1 / Phase 2 gameplay logic.
Included
Documentation
Setup and designer configuration guide:
https://deserted-ceres-f98.notion.site/King-Aelorin-Quick-Setup-3c58b0f059e780f0b11ed49f14b447ef
IMPORTANT
Scene / Summon Stability
The boss is currently set up and tested using the Level1 scene due to an existing engine issue with
instantiatePrefab()that can cause crashes during runtime spawning.A
SceneCapacityPrewarmscript has been added to theCapacityPrewarmGameObject as a temporary workaround. This significantly reduces the frequency of the crashes, but does not fully solve the underlying engine issue.Crashes may still occur when multiple Summoner enemies spawn enemies repeatedly while King Aelorin is also using his Summon ability.
Threshold / Phase / Fury Validation
All boss thresholds, the Phase 1 → Phase 2 transition, and the Fury trigger are implemented using the HP percentages specified in the GDD.
These mechanics are working at the intended percentage values, but there is currently no final boss health bar UI in the scene, so the exact HP thresholds are not visually displayed during testing.
Placeholder Assets
All current boss presentation assets are placeholders, including:
They are intentionally temporary and were added to allow the full gameplay logic and encounter flow to be implemented and tested. They can be replaced later without changing the core boss logic.