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.
[2.8pre-259-g974619d] Negative actor scales don't work
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.
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.
- Graf Zahl
- 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
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.
- 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
I'm curious, what all would need to change about that? TEXTURES has FlipX and Y, can't it borrow from the same place?
- Graf Zahl
- 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
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.
XScale was trivial, though.
-
-
- 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
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.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...
Re: [2.8pre-259-g974619d] Negative actor scales don't work
Added. And, yes, it helped a lot that this was already in for decals and wall sprites (though not via negative scale).