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

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 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: [2.8pre-259-g974619d] Negative actor scales don't work

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

by randi » Sun Jan 31, 2016 10:10 pm

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

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

by Blzut3 » Fri Jan 29, 2016 8:26 pm

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.

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

by Graf Zahl » Fri Jan 29, 2016 7:17 pm

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.

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

by Major Cooke » Fri Jan 29, 2016 7:05 pm

I'm curious, what all would need to change about that? TEXTURES has FlipX and Y, can't it borrow from the same place?

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

by Graf Zahl » Sat Nov 30, 2013 6:14 pm

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.

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

by Blzut3 » Fri Nov 29, 2013 10:43 pm

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.

Top