How do I get my layout to scale correctly?

Just started using Construct 2? Post your questions here

Post » Fri Feb 13, 2015 3:13 am

Hi,
I can't see my whole see my whole layout in my browser. I'm taking the Memory Matching Card Game tutorial and both my layout and Project are have a layout property value of 640, 580.

I Can see my whole layout if I turn scaling off, but If i choose any form of scaling (in the Fullscreen in browser option) I can only see around half or less of the project. Why is this?
B
7
Posts: 16
Reputation: 363

Post » Fri Feb 13, 2015 10:08 am

I am afraid that without your capx we will not be able to find your problem. Could you attach it?
(in full editor you should have access to "Upload attachment")
B
12
S
6
G
2
Posts: 99
Reputation: 1,727

Post » Fri Feb 13, 2015 3:52 pm

Here you go,
(I hope this won't introduce some sort of security issue with my license)
Thanks for the help.
You do not have the required permissions to view the files attached to this post.
B
7
Posts: 16
Reputation: 363

Post » Sat Feb 14, 2015 11:08 am

@laserbeak43

Ok, problem is not that you cannot see whole layout while in full screen but that your cards are too big.
You resize them according to WindowHeight and WindowWidth, which returns value of the screen, and thats conflicts with scalling. Here are more details:
https://www.scirra.com/forum/windowwidth-and-windowheight-not-working_t67117

Would it be ok if instead of WindowHeight and WindowWidth you use LayoutHeight and LayoutWidth?

If not maybe we can try to find some other solution.
B
12
S
6
G
2
Posts: 99
Reputation: 1,727


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests