DTA_Angle

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

Moderators: Developers, ZDoom.org Team

DTA_Angle

Postby The Zombie Killer » Tue Dec 05, 2017 1:09 am

Allows a graphic to be rotated when drawn via the Screen API.

Necessary for animating Blood's weapons, as they make use of rotations often.
User avatar
The Zombie Killer
King of the Kangaroos
 
 
 
Joined: 14 Jul 2011
Location: Gold Coast, Queensland, Australia
Discord: Zombie#1795

Re: DTA_Angle

Postby Graf Zahl » Tue Dec 05, 2017 3:07 am

Someone will have to write a 2D drawer for these first or the feature will be a bit limited.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: DTA_Angle

Postby Rachael » Tue Dec 05, 2017 4:13 am

What Graf means is that currently the 2D drawers in Software mode use the sprite/wall drawers which are incapable of doing these things. You would need an actual rotating drawer to accomplish this - they're not hard to write, but they tend to be a deathly performance killer if you don't do it just right.

Yes, these drawers are important. We're not dropping a feature just because it's too inconvenient for any given contributor to help maintain it.
User avatar
Rachael
Not all elves needs a stocking hat...
 
Joined: 13 Jan 2004

Re: DTA_Angle

Postby Major Cooke » Tue Dec 05, 2017 1:33 pm

This should tie in nicely with the ability to rotate psprites too, perhaps, right?
User avatar
Major Cooke
Slaughterer of Sewers
 
Joined: 28 Jan 2007
Discord: Major Cooke#0846

Re: DTA_Angle

Postby ZippeyKeys12 » Tue Dec 05, 2017 3:00 pm

Major Cooke wrote:This should tie in nicely with the ability to rotate psprites too, perhaps, right?
:lol:, that topic :lol:. Anyway, I would very much like both
ZippeyKeys12
 
Joined: 15 Jun 2016

Re: DTA_Angle

Postby Rachael » Tue Dec 05, 2017 4:17 pm

@ZippeyKeys12 could we please not bump old topics with "has this been done?" or "has this been revisted yet?" Thank you.
User avatar
Rachael
Not all elves needs a stocking hat...
 
Joined: 13 Jan 2004

Re: DTA_Angle

Postby The Zombie Killer » Wed Dec 06, 2017 4:16 am

Would it be possible to get this hardware-only until support for rotations in software is added? It'd be like a +ROLLSPRITE situation.
User avatar
The Zombie Killer
King of the Kangaroos
 
 
 
Joined: 14 Jul 2011
Location: Gold Coast, Queensland, Australia
Discord: Zombie#1795

Re: DTA_Angle

Postby Rachael » Wed Dec 06, 2017 8:11 am

The Zombie Killer wrote:Would it be possible to get this hardware-only until support for rotations in software is added? It'd be like a +ROLLSPRITE situation.

Absolutely not. Besides, writing software drawers is not as bad as you think.
User avatar
Rachael
Not all elves needs a stocking hat...
 
Joined: 13 Jan 2004


Return to Feature Suggestions

Who is online

Users browsing this forum: Discord [Bot], Linqz [Bot], The Zombie Killer and 1 guest