how can i do a clean transition between layout

Get help using Construct 2

Post » Mon May 06, 2013 10:36 pm

how can i do a clean transition between layouts? resizing backgrounds elements considering differents screens.

my particular problem is when i resize from one layout to another and i can see a white glimpse. (watch video)

http://www.youtube.com/watch?v=3c8nmVBGbp8

The original size is 480x800, and the samsung galaxy tab 10.1 es 1280x800

I use:

1.-cocoonJS
2.-Samsung galaxy tabII 10.1'
3.-Android 4.0,
4.-and for background-> anchor behavior


thanks for all support.

B
5
Posts: 8
Reputation: 294

Post » Mon May 06, 2013 11:54 pm

What I have seen others do to hide any of the initial resizing stuff is to start each layout with a large white sprite that covers the screen and then fades out. That allows you to have anything that would be visible on the screen to be hidden, and then once your actions are completed, you fade the sprite out and then destroy it.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Tue May 07, 2013 2:04 am

Big sprite fading is a great idea i think . But what about fade in?kemalgunel2013-05-07 02:05:16
B
7
Posts: 5
Reputation: 642

Post » Tue May 07, 2013 2:22 am

Same thing, fade in a large sprite at the end of a layout, fade out a large sprite on the start of the next layout. Basically the new layout starts with a large white sprite covering the screen then fades out. The other side is fade in a large sprite at the end of each layout. That way it looks like a seamless experience.
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Wed May 08, 2013 6:42 pm

Thank,worked perfectly!!!
B
5
Posts: 8
Reputation: 294


Return to How do I....?

Who is online

Users browsing this forum: suicidenutella and 1 guest