Construct 2 and 1080p Capabilities?

Discussion and feedback on Construct 2

Post » Thu Feb 07, 2013 2:37 am

What do you have to do differently per platform thehen for your eventsheets? I've only experience with computers atm, but might still be interesting to know.
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Thu Feb 07, 2013 8:12 am

@BluePhaze @alspal 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 screenshotthehen2013-02-07 08:17:25
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Thu Feb 07, 2013 9:04 am

@TheHen THanks much! That was helpful, any chance you can share the logic for the Reposition function?
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,428

Post » Thu Feb 07, 2013 3:20 pm

@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.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Thu Feb 07, 2013 3:32 pm

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. It's absolutely not finished yet and it's using pixel art, but all the assets are native for 1080P.

My first game, so I kind of stumbled into it.Awakening2013-02-07 15:32:38
B
9
S
3
Posts: 148
Reputation: 1,738

Post » Thu Feb 07, 2013 4:48 pm

@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?
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,428

Post » Thu Feb 07, 2013 5:05 pm

[QUOTE=Awakening] 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.[/QUOTE]

Where's it at, homie? :)
B
4
Posts: 57
Reputation: 514

Post » Thu Feb 07, 2013 5:32 pm

[QUOTE=BluePhaze] @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?[/QUOTE]

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.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Fri Feb 08, 2013 5:58 pm

[QUOTE=thehen]Getting scaling right was one of our biggest challenges.[/QUOTE]

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.
B
4
Posts: 57
Reputation: 514

Post » Sat Feb 09, 2013 12:43 pm

@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.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: Colludium and 9 guests