Hi All,
Text objects ( display.newText() ) appear positionally different for me whether I’m viewing them on my simulator on my PC, on my simulator on my Mac or viewing them on iOS based hardware.
What’s the best approach for getting locational consistency between these platforms? I guess I can understand there might be some difference between my PC and my Mac since the display.newText references fonts that are housed on those machines (even though it’s the same font).
I guess I’m a bit surprised about the discrepancy between the simulator on my Mac and my iOS hardware builds.
To be clear, the fonts are correct, the discrepancy is their location. The text object is centered correctly on my PC. If I open that project on my Mac, the font displays further down by about the size of the font (substantial difference). When I then build from that Mac and put the build on my iPhone the font is much more as it appeared on my PC (which I primarily develop on so that’s the desired location) but it is shifted slightly up (enough to not look polished).
Any tips on how I can get a “what you see is what you get” result with text objects?
Is there some other approach I should be considering for displaying scores, etc other than display.newText?
It’s not the end of the world if I’m stuck with some discrepancy between my PC and Mac but I would hope that my Mac build would appear the same on hardware.
Thanks in advance for any help you can offer,
Erik
