Why not scale the HUD?

Discussion and feedback on Construct 2

Post » Sat May 12, 2012 6:19 pm

Hey, I have heard people saying not to scale the HUD layer.

But I can't see how that would ever be a good idea..

I am not using Parallax on the HUD but I use Anchor and Scale 100%.


When would it ever be use full not to fit the HUD to the size of the rest of the game :o
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Tue May 29, 2012 12:52 am

Your post helped me bigtime. thanks!!
Image
B
35
S
13
G
9
Posts: 142
Reputation: 7,340

Post » Tue May 29, 2012 1:29 pm

@Gillis - your post reads like a post by a spambot. Make sure you contribute something to the thread otherwise you risk a moderator mistaking you for a spammer and deleting your account.

@Schoening - it's up to you whether you scale the HUD or not. On some devices it can make the HUD too small or too big though if you don't scale it. On the whole I would recommend scaling the HUD and test it on a range of devices to see if that works well.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Tue May 29, 2012 6:17 pm

@Ashley

What in the world would a spambot do on this topic ? :p
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Tue May 29, 2012 10:46 pm

Spambots have no logic.
And they like to pick on people who asked nothing of them.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Thu Dec 06, 2012 12:59 am

Greetings. I know this is resurrecting an old thread, but it's pertinent to the issue I'm having.

I set up the HUD on its own layer and it stays in the same spot--works great, no problems there. However, when the browser is resized / game tested on smaller screens, the HUD elements are bordering on unreadable (too small). I can't seem to figure out how to prevent or reduce the HUD scaling with the rest of the game.

I tried setting the HUD layer scaling to 0 and even manually using events to re-size the HUD if the browser is re-sized. Is there some trick I'm missing? Is the project properties of 'fullscreen in browser' overriding everything else?

One more thing! What's the difference between using the browser object to 'request fullscreen' and setting the 'fullscreen in browser' scale option in project properties?

Thanks!
B
16
S
6
G
2
Posts: 152
Reputation: 3,764


Return to Construct 2 General

Who is online

Users browsing this forum: Ethan and 12 guests