[2.8pre-259-g974619d] Negative actor scales don't work

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Blzut3
 
 
Posts: 3204
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

[2.8pre-259-g974619d] Negative actor scales don't work

Post by Blzut3 »

http://forum.zdoom.org/viewtopic.php?p=726063#p726063

Either set by A_SetScale or directly through respective properties, the result is an invisible actor. Technically, this probably isn't a bug since I believe only positive scales are officially supported, but reporting in case it's a simple fix.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [2.8pre-259-g974619d] Negative actor scales don't work

Post by Graf Zahl »

Added for XScale. Unfortunately for YScale this would be a lot more complicated because it has to change the actual sprite drawing direction. XScale just meant an additional check to toggle sprite flipping if a negative scale was passed.
User avatar
Major Cooke
Posts: 8209
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town
Contact:

Re: [2.8pre-259-g974619d] Negative actor scales don't work

Post by Major Cooke »

I'm curious, what all would need to change about that? TEXTURES has FlipX and Y, can't it borrow from the same place?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [2.8pre-259-g974619d] Negative actor scales don't work

Post by Graf Zahl »

No. What needs to be done here is to invert the column drawer to draw from bottom to top - and to be honest - I wouldn't expect it to happen. But on the other hand stranger things have become reality...

XScale was trivial, though.
Blzut3
 
 
Posts: 3204
Joined: Wed Nov 24, 2004 12:59 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Contact:

Re: [2.8pre-259-g974619d] Negative actor scales don't work

Post by Blzut3 »

Graf Zahl wrote:No. What needs to be done here is to invert the column drawer to draw from bottom to top - and to be honest - I wouldn't expect it to happen. But on the other hand stranger things have become reality...
I don't think I'd call it one of the stranger things to happen since the code is mostly there. Unless Randi takes care of it though it'll be a 2.8.1 fix since I'm not 100% confident with my ability to complete the implementation correctly.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [2.8pre-259-g974619d] Negative actor scales don't work

Post by randi »

Added. And, yes, it helped a lot that this was already in for decals and wall sprites (though not via negative scale).
Post Reply

Return to “Closed Bugs [GZDoom]”