You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for raising this, I'm afraid I'm extremely time limited these days.
Could you provide screenshots of the difference - as I don't have the game installed anymore.
Also, it may be worth looking at forking + fixing this yourself, then bringing it back in via pull-request - if this is important for the work you're doing.
Notice how the bottom-right text value is aligned based on the first character of the string in the sim, but on the last character in the game.
I think in-game the position is actually calculated based on the width of the rendered string, since if you horizontally center the text, it can sit between the screen pixel-grid locations.
The bug isn't a big deal for me personally, just stood out a bit when I encountered it.
What I expected to happen
Using screen.drawTextBox() in the VSC plugin produces results as they would be in-game.
What happened instead
When aligned right, the horizontal alignment parameter places the text in reference to it's left side, and not the right.
How do I reproduce this?
Reliable steps that should produce this issue:
screen.drawText(0, 0, screen.GetWidth(), 10, "my text", 1, 0)
in the plugin and in the gameThe text was updated successfully, but these errors were encountered: