High DPI Scaling Behavior

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.
  • Exported Fusion games and apps look blurry if you have the Windows 10 scale setting above 100.
    This can be fixed if you click the "Override high DPI scaling behavior" in the Properties of the exe file.

    Please login to see this picture.


    But I don't expect everyone who might play my game to know this fix.
    So is there was a way to fix this problem directly from within Fusion?

  • did you try to do this using registry2 and file objects

    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

    ------------------------------> your fullpath application path e,g: c:games01\mages01.exe ------------------> "HIGHDPIAWARE" (String Value)


    Please login to see this attachment.

    check that directory may be different if you are testing in debug mode or build &run

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  • Wow thanks, it works! :D
    But there's one poblem, you have to run the exe file 2 times until it's not blury anymore.
    I could fix this with a launcher for the game, but is there a better solution?

    EDIT:
    Okay, I fixed the problem this way:
    At the first launch of the game, the game shuts down automatically and restarts itself.
    I used Ini to make it happen only at the very first launch and not every time.

    Please login to see this picture.

    Edited once, last by Banduck (September 9, 2018 at 8:47 AM).

  • Thanks for sharing this, didn't even realize this problem existed XD

    Please login to see this link.
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • Implemented the fix today, thanks again, guys, this issue not only rendered the app blurry but corrupted my scaling routine as well. All runs well now:)

    I've one question tho: What happens if the user decides to rename the .exe? As "Game.exe" is hardcoded in the examples it won't work then. Any expression to grab the real name of the current .exe running?

    Please login to see this link.
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

  • It worked! I further modified the code example using simple string comparisons to also register if the user changed the game's Apppath$.
    A new registry entry will be made and the app restarted if the following events trigger

    x Game is run the first time
    x User renames the game's .exe
    x User moves the .exe in another folder

    Please login to see this picture.

    edit: a quick note that this works only stand-alone, in editor mode the code has to be deactivated or it will always close the app

    Files

    Please login to see this link.
    Please login to see this link. | Please login to see this link. | Please login to see this link. | Please login to see this link.

    Edited 2 times, last by Julian82 (September 12, 2018 at 7:51 PM).

  • Had the problem with string changing frame size on some player's systems (which can be fixed by clicking the "Override high DPI scaling behavior") and tried this method to fix this.
    Here's more info on the issue: Please login to see this link.

    Sadly, it didn't work. Can you please tell me what can I do to fix this? Thank you!

    Please login to see this attachment.

Participate now!

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