String Oddities in different Operating Systems

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hey everyone,
    Before my game’s release, I encountered a strange anomaly with the String Object.
    When testing the game on my Windows 8.1 computer, all string objects were a single line each:

    Open game
    What is your File Name?
    What is the Capital of Washington?


    Opening Game....

    It remained the same when running it as an .exe file.

    But when I tested the game on an older computer that had Windows 7, the strings alignment was apparently shortened:

    Open game
    What is your
    File Name?
    What is the
    Capital of
    Washington?


    Opening
    Game....

    What made it worse was each string were individual objects, so they all begin to overlap.
    I see a few workarounds (one was actually turning the text into Active Objects), but is there a way to keep string objects the same alignment no matter what version of Windows you play the game on?

  • This is just a guess, but it might be because you're using a font that's installed on your Windows 8 computer that isn't installed on your Windows 7 computer. I'm pretty sure resizing the screen can also cause this kind of issue. If you turn the strings into active objects, you won't have this problem (as you mentioned). That's not an option if you plan to have the text change of course. If you need variable text, you can alternatively use Text Blitting.

  • I’ll look into “text blitting”, thank you for the suggestion! The thing is, I don’t mind the string automatically changing font: it was the reformatting and overlapping to became the problem.

    One idea I had was using an object (that I can’t remember the name of it right now!) that can be used to add multiple strings into it like a text document, and use that instead of leaving strings singular and loose. But, I am uncertain if I can edit it in the same fashion as a loose string. Perhaps that’s where “text blitting” may come into play.

    Again, thanks for your help [MENTION=11175]gkinfinity[/MENTION]!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!