Node-webkit scaling export problem

Discussion and feedback on Construct 2

Post » Thu Dec 19, 2013 1:09 pm

Hi,

I have a little problem. I exported to Node-Webkit. The windows size is 1280x720 but on some computer the layout is xoomed out (of around 50%) in the center of the windows but on some computer everything is alright.. and scaled up to the windows internal size.

What could cause such a problem ? the resolution is higher than 1280x720 on thoses computers.

Here what i mean in screenshots...

My computer:
http://www.mediafire.com/view/azhbhuovrwqmt3e/my_computer.png

Two other computer i tested on:
http://www.mediafire.com/view/llzubjz5h2pjdb4/other_computer.png

Also i am using theses settings:
http://www.mediafire.com/view/vo1l101ljo49m46/project_settings.png

I am really lost.. anyone can help ?

Thanks!Rushino2013-12-20 05:07:25
B
16
S
5
G
1
Posts: 190
Reputation: 2,489

Post » Fri Dec 20, 2013 5:21 am

Umm... it seem that if i reduce the windows size by 1 (just a slight move) it scale down to http://www.mediafire.com/view/llzubjz5h2pjdb4/other_computer.png otherwise it start like http://www.mediafire.com/view/azhbhuovrwqmt3e/my_computer.png.

Strange behavior.. the game and layout are both 1280x720 so why is the layout not taking up all the space on some computer ?
B
16
S
5
G
1
Posts: 190
Reputation: 2,489

Post » Fri Dec 20, 2013 9:06 am

Maybe you use "Letterbox integer scale" in project properties.
See https://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes#h2a4
B
34
S
9
G
1
Posts: 47
Reputation: 4,612

Post » Sat Dec 21, 2013 3:41 pm

I changed the way to handle stuff.. Crop seem the best option for me.. since i do not really care if you can see more in the level because anyway the levels are loaded dynamically. For big resolution i manually handle the scale ratio and also lets the player choose the scale ratio.

So fixed...
B
16
S
5
G
1
Posts: 190
Reputation: 2,489


Return to Construct 2 General

Who is online

Users browsing this forum: technofou, TheFoXeletan and 1 guest