String objects are cut off and misplaced when built in HTML5

AnswerStackString objects are cut off and misplaced when built in HTML5
Kilk1 asked 6 years ago

Hello,

I’m exporting a game to multiple platforms. At present, I’m working on HTML5. If I test my HTML5 game by choosing “Run Application (F8),” everything looks fine. However, once I build it, the string objects become glitchy, getting cut off or misplaced.

For example, the main menu screen correctly looks like Click image for larger version. Name:	Capture.jpg Views:	11 Size:	55.8 KB ID:	26302 when the application is being tested, but it glitches to Click image for larger version. Name:	Capture.jpg Views:	9 Size:	50.6 KB ID:	26303 after being built.

Furthermore, what’s really problematic is when the credits screen goes from Click image for larger version. Name:	Capture.jpg Views:	9 Size:	107.5 KB ID:	26304 to Click image for larger version. Name:	Capture.jpg Views:	10 Size:	107.3 KB ID:	26305. (I have blue string objects acting as links, overlapping regular string objects. They are supposed to be in the same area, but they are moved after building, as can be seen by viewing the images.)

What do you think is going on? For reference, my OS is Windows 10, and my Internet browser is Firefox.

Thanks,
Kilk

1 Answers
Best Answer
Danny Staff answered 6 years ago

Hey Kilk,
Apologies for the delay in response I had to get some clarification from Fernando. He is currently working on some potential fixes for this.
May I ask what font you’re using? May be best to use a widely supported system font for now (ie: Arial-Tahoma-Verdana) until this gets a full resolution…

Kilk1 replied 6 years ago

Hey Danny,

Thanks for the reply. Glad to hear Fernando’s working on it. Here are the fonts my game uses:

https://www.1001fonts.com/icbm-font.html
https://www.1001fonts.com/call-of-ops-duty-font.html
https://www.1001fonts.com/tempofont-font.html
https://www.1001fonts.com/savings-bond-font.html
https://www.1001fonts.com/rabelo-font.html

One disclaimer is that I converted any font above that was an OTF file to instead be TTF.

Thanks,
Kilk