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.
Introducing a "nametag" system for actors!
As the name implies, this gives the ability to render floating nametags above actors that are billboarded (facing the camera always). The text leverages the in-game font textures, meaning that text is limited to what is supported by the game, but will benefit from HD textures.
Features include:
A nametag can be registered for an actor with the following methods:
Name tags are automatically removed/freed when actors are killed/destroyed, or when the play state is destroyed. So name tags have to be re-registered during/after new actors are spawned in.
The following hooks were added:
The nametag render system maintains its own display list buffer in the system heap, and then is loaded onto the XLU display buffer via a DL call. This mimics the collision viewer approach, ensuring that we do not over consume the Zelda Arena heaps. Memory is freed and cleared as necessary to ensure no leaks.
nametag-system.mp4
Build Artifacts