How do I rescale a game after exporting?

0 favourites
  • 3 posts
From the Asset Store
20 high quality click sounds, ready to improve your game's UI instantly
  • Hey friends,

    I just wondered, if there is any possibility to rescale a complete game after export to HTML5.

    I just need that, to make it fit in these small resolutions some Arcade-sites offer.

    Rescaling the whole thing in C2 would be like making the game again...

    Any help on this? Would be great!

    Thanks,

    beav

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could probably add a Set Layout Scale action to all your layouts. Set the Layout Scale to LayoutWidth/WindowWidth or LayoutHeight/WindowHeight, which ever is the bigger difference. I'm pretty sure dividing layout size information by window size information should give you the proper scale to use.

    Let me know if that works for you and good luck with your project.

  • If you want EVERYTHING to rescale you can add the following to the event sheet that effects the levels in question:

    "On start of layout > Set layout scale to *number you want to scale the layout to* "

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)