Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
It seemed to work when I hacked it into this mod's code.
When you draw something to the screen in the mirror dimension you need to invert the X value in some way. I tried a bunch of different things, but this was the only value I found that was consistent in all room types. I assume it has something to do with how the mirroring is implemented.
In the mirror dimension, instead of using the X value directly, you subtract it like so:
An example from your code would be changing this from
to
I haven't tried with all of your settings, so this might need to be tweaked a little.
All of this appears to be needed if you're within MC_POST_RENDER.
I noticed some of your code uses MC_POST_EFFECT_RENDER which doesn't seem to need this workaround. It positions things correctly, but mirrored, if in the mirror dimension. That might be something else to explore.
On line 400 there's this:
On the next line, add this: