DTA_Angle

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: DTA_Angle

Re: DTA_Angle

by Nash » Thu Oct 21, 2021 10:40 am

DTA_Rotate flag was added to the Screen API some time ago (thanks to a backend update from Raze) - but more related to the use case in the OP, weapon PSprite overlays are able to rotate and scale for quite a few versions now.

Re: DTA_Angle

by Rachael » Wed Dec 06, 2017 7: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.

Re: DTA_Angle

by The Zombie Killer » Wed Dec 06, 2017 3: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.

Re: DTA_Angle

by Rachael » Tue Dec 05, 2017 3:17 pm

@ZippeyKeys12 could we please not bump old topics with "has this been done?" or "has this been revisted yet?" Thank you.

Re: DTA_Angle

by ZippeyKeys12 » Tue Dec 05, 2017 2: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

Re: DTA_Angle

by Major Cooke » Tue Dec 05, 2017 12:33 pm

This should tie in nicely with the ability to rotate psprites too, perhaps, right?

Re: DTA_Angle

by Rachael » Tue Dec 05, 2017 3: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.

Re: DTA_Angle

by Graf Zahl » Tue Dec 05, 2017 2:07 am

Someone will have to write a 2D drawer for these first or the feature will be a bit limited.

DTA_Angle

by The Zombie Killer » Tue Dec 05, 2017 12: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.

Top