First person state drawer that isn't a weapon?

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
Spotlight Team
Posts: 418
Joined: Tue Oct 05, 2010 12:04 am
Graphics Processor: nVidia with Vulkan support

First person state drawer that isn't a weapon?

Post by kevansevans »

At the moment, I'm investigating ways to draw sprites in a first person perspective in the same way a weapon class would, but without it being a weapon so it can run independently from a weapon class. I was suggested this thread here: viewtopic.php?f=3&t=54909 which I could not make heads or tails of. The solution in that thread seems to take advantage of A_Overlay in a custominventory class, which in of itself I've found is a bit janky to work with. I think having a dedicated class that can work as a hud drawer and uses states would be mighty helpful with keeping classes bloat free and offering more control over animations.

(Yes, am aware I could do something with the Screen struct, but the point here is offering the ease of a state class instead)

Return to “Feature Suggestions [GZDoom]”