How do I keep tiles the right size when exporting to XDK

0 favourites
  • 1 posts
From the Asset Store
220 Food Sprites in 16x16 pixel size. Perfect for items for a retro style game.
  • I have recently made the switch to XDK to have online features on my bowls app. One issue I cannot seem to resolve in XDK is the size of a tile I am using. With CJS it works fine.

    But in XDK I have to turn on either High DPI or High quality scaling. (If these are off the graphics are really blocky)

    When doing this however my tile no longer fits the screen as it does in XDK preview or C2. It shrinks. Making the tile say 5X bigger than the layout size increases it in the game but even that doesn't cover the whole screen when playing. Has anyone encountered this or got a fix? It seems to happen on newer phones, I guess with higher res displays?

    On device:

    In C2:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)