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

[Feature] Determining draw order for actor/visualthinker sprites #2930

Open
zhs2 opened this issue Feb 5, 2025 · 0 comments
Open

[Feature] Determining draw order for actor/visualthinker sprites #2930

zhs2 opened this issue Feb 5, 2025 · 0 comments

Comments

@zhs2
Copy link

zhs2 commented Feb 5, 2025

GZDoom version

GZDoom 4.14

Which game are you running with GZDoom?

Doom 2

What Operating System are you using?

Windows 10

If Other OS, please describe

No response

Relevant hardware info

No response

Is your feature request related to a problem? Please describe.

Currently sprite draw order for Actors or VisualThinkers depends on the order in which they are spawned. This can currently only be worked around by spawning Actors that should be underneath first and Actors that should be on top last, which may not always be desirable outside of writing a controller entity that spawns actors in a specific order.

Describe the solution you'd like

A variable or function that can be changed or called (I suspect the latter to be more feasible) to set draw order for the calling Actor or VisualThinker.

Describe alternatives you've considered

As mentioned in "related problem", the only way around this is to set up a Rube Goldberg-esque controller (a Thinker is good but it must keep a position, while an Actor has overhead but is desired in situations where this assembly should be interactive for the player) that spawns other Actors or VisualThinkers in a very specific order, perhaps constantly if constantly spawning effects are part of the assembly and wanting a sprite to stay on top at all times is desired.

Add any other context or screenshots about the feature request here.

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant