HTML5 scaled fit fullscreen?

Discussion and feedback on Construct 2

Post » Sat Apr 13, 2013 10:29 am

isn't there an easy way to make scaled fit fullscreen like Flash videos?

I tried to use Anchor behavior but it will mess to each sprites on different position.

While on fullscreen, I set Canvas element with width 100% and height 100% but it resulted a very small window, i was expected to make it look really scaled fullscreen.

http://blogs.sitepointstatic.com/examples/tech/full-screen/index.html
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Sat Apr 13, 2013 12:49 pm

Why? Won't you have the same problems as using 'Scale' mode?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Apr 13, 2013 1:00 pm

@Ashley im using 640 x 480 resolution, if i change scale fullscreen, it shows empty white space on right out of layout. My monitor resolution is 1920 x 1080Joannesalfa2013-04-13 13:01:52
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Sun Apr 14, 2013 12:43 am

why Canvas doesn't scale on fullscreen in Mac OS X?
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Sun Apr 14, 2013 1:57 am

This is the effect I too would like to see


http://blogs.sitepointstatic.com/examples/tech/full-screen/index.html

I cannot get this effect using CocoonJS. I have a 4:3 that I would like to scale to fit side to side on a 16:9 phone. No matter what I try it just won't work.
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Sun Apr 14, 2013 2:22 am

@czar I have a formula it supports multi-resolution, it's using 640 x 480 that can fit to 16:9 iPod (960 x 640) without showing empty spaces.

I will create a new topic in creations when i get chance.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Sun Apr 14, 2013 5:01 am

@Joannesalfa that sounds intriguing. Be keen to see what you have found.
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Mon Apr 15, 2013 3:30 am

B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644


Return to Construct 2 General

Who is online

Users browsing this forum: KaMiZoTo, Yahoo [Bot] and 16 guests