Resize Window to fit Browser Window

Get help using Construct 2

Post » Sun May 19, 2013 9:36 am

Hey guys, I need to find out if you can do this:

Basically, I want my layout AND my window size set in Construct 2 to fit the window size of the browser. I also want objects in the layout to scale relative to their position in the editor.

Basically, I am trying to create a game interface where there are buttons on the side like a toolbar. I want this "HUD" layer in my layout to resize to fit the browse window, along with the Window Size property of the project. I want it to work in a similar way to Spotify Web Player or Google's Gmail interface.

Is this possible to do? And could someone give me a pointer as to how to do it?

P.S: I think I saw this somewhere before, but i just want to clarify: Can you remove the grey border around the project?
B
10
S
2
Posts: 94
Reputation: 1,536

Post » Sun May 19, 2013 2:17 pm

Did you try the Option "Fullscreen in browser :" for different values?

EDIt: it is on the project propritiesAphrodite2013-05-19 14:17:41
https://www.scirra.com/forum/viewtopic.php?t=152506

And that is why you shall respect the bug reports guidelines, not only giving a capx is making the bug reproductible in one click in a situation they can work with (less time wasted trying to reproduce vague instructions) but also it helps filtering false positives.

Game design is all about decomposing the core of your game so it becomes simple instructions.
B
42
S
17
G
16
Posts: 2,093
Reputation: 15,353

Post » Sun May 19, 2013 2:54 pm

@Aphrodite Thank you so much :) I though I looked everywhere, but I obviously didn't look hard enough :P Thank you!
B
10
S
2
Posts: 94
Reputation: 1,536


Return to How do I....?

Who is online

Users browsing this forum: Ahr Ech, benajad, Braus, R0J0hound, shinkan and 17 guests