Construct 2 and 1080p Capabilities?

0 favourites
From the Asset Store
Casino? money? who knows? but the target is the same!
  • BluePhaze Yep we leave all the objects in there. For windows 8 we wrap all the Windows 8 specific logic in an 'Is Windows 8 app' condition and put it in a separate event sheet.

    Bear in mind this is only platform specific stuff, not screen size. So the Windows 8 charms, roaming data etc. For changes in screen size, we have breakpoints (not unlike media queries), where we readjust UI/zoom to work best for that resolution.

    Edit -> Here's a screenshot

  • thehen THanks much! That was helpful, any chance you can share the logic for the Reposition function?

  • BluePhaze reposition function is very complicated and essentially resizes/repositions everything in the game dependent on window size.

    We call the same function on window resize (and for a second or so after), when the view is changed on Windows 8 and when switching to and from fullscreen on desktop.

  • thehen So the Reposition function is what is handling the resizing for Mobile as well so that you don't have to use different sized assets or worry about the scaling looking all wrong on the smaller form factors as well?

  • I have a 1080P game, it's quite violent so adults only, but your welcome to have a look if you want, see how it runs.

    Where's it at, homie? :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thehen So the Reposition function is what is handling the resizing for Mobile as well so that you don't have to use different sized assets or worry about the scaling looking all wrong on the smaller form factors as well?

    It's handling all the resizing :) So if you resize the browser it ensures UI elements scale at a different rate to the field of play etc. Scaling stuff equally between tiny phone screens and massive monitor displays simply doesn't work, so everything readjusts itself accordingly. Getting scaling right was one of our biggest challenges.

  • Getting scaling right was one of our biggest challenges.

    D'ya think that's an issue with the way Construct does business, or with the way HTML5 works? Flash... everything's all pretty and vectorized. I never understood why Flash, which operates (I've been told) under a virtual machine environment that your PC either emulates well or doesn't, was never "overclocked" or "unlocked" to run with straight hardware powering it.

  • Lovelocke64 Scaling was only a challenge for us because we had a very bespoke system. I was insistent the the foreground elements frame the composition and due to parallax, the foreground position has to be calculated. Everything else was fine.

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