Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Z-Layer System For User Interface #219

Open
AMastryukov opened this issue Sep 14, 2021 · 0 comments
Open

Dynamic Z-Layer System For User Interface #219

AMastryukov opened this issue Sep 14, 2021 · 0 comments
Labels
area/code Something regarding the codebase area/UI Something regarding the user interface type/enhancement New feature or request

Comments

@AMastryukov
Copy link
Member

Right now, we are statically creating elements on the UI (alivehud, generalhud). RadarDisplay is one of these elements, and it needs to be below certain HUD items (such as the crosshair, the inspection menu, etc).

The problem is that RadarDisplay is directly linked to an item (ttt_radar). If someone wishes to add another item (e.g. "Hunt" item that shows other players through walls briefly), they will need to edit the alivehud statically and add a custom HUD element that renders other players on the UI somehow.

This needs to be done dynamically instead, so we want to create a system where there are specific z-layer presets of some kind that players can choose from (e.g. item-related stuff should always go under the inspection menu, crosshair should almost always be on the bottom layer, etc).

@AMastryukov AMastryukov added area/code Something regarding the codebase type/enhancement New feature or request labels Sep 14, 2021
@AMastryukov AMastryukov added the area/UI Something regarding the user interface label Sep 20, 2021
@AMastryukov AMastryukov removed their assignment Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/code Something regarding the codebase area/UI Something regarding the user interface type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant