keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Improved Health Flower and Thought Bubble positioning in Forced Perspective

Open AdamPlenty opened this issue 2 years ago • 6 comments

Fixes #1777

AdamPlenty avatar Aug 21 '22 20:08 AdamPlenty

It's scaled by zoom level, and was before this PR.

AdamPlenty avatar Aug 21 '22 21:08 AdamPlenty

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.

Loobinex avatar Aug 21 '22 22:08 Loobinex

Isn't it the same function?

AdamPlenty avatar Aug 22 '22 00:08 AdamPlenty

Isn't it the same function?

I don't think so. But in any case, the behavior is different between straight and normal view.

Loobinex avatar Aug 22 '22 00:08 Loobinex

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.

AdamPlenty avatar Aug 22 '22 00:08 AdamPlenty

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.

AdamPlenty avatar Aug 22 '22 01:08 AdamPlenty