keeperfx
keeperfx copied to clipboard
Improved Health Flower and Thought Bubble positioning in Forced Perspective
Fixes #1777
It's scaled by zoom level, and was before this PR.
I see yes, this was the bug before your fix too, and this is still the case. It seems you raised it simply.
The distance between the flower and the unit should scale along with the size of the unit with zoom level, so that is remains at relatively the same distance at all zoom levels. Now, when zoomed out, the flower is relatively far away, and zoomed in, it's good.
On #1777 it was too low when zoomed in and right when zoomed out. It should just stay in place. I believe @rainlizard said it was a pain to accomplish this, but he did so in normal view. Try to take inspiration there.
Isn't it the same function?
Isn't it the same function?
I don't think so. But in any case, the behavior is different between straight and normal view.
I disabled all modifications to the y position in Forced Perspective, but it still moves; something else is causing it to move further up as you zoom out, but I've no idea what.
I've just checked the original game, and it looks like the flowers moving up as you zoom out in Forced Perspective has always been the case.