Android Fullscreen Problem

Get help using Construct 2

Post » Sat Feb 23, 2013 7:14 am

[QUOTE=Wink] @guero I wrote a little something about this here:

http://www.scirra.com/forum/multiscreen-cocoonjs_topic61313_post376578.html?KW=screen+resolution#376578

If you read through all the posts I go over some different techniques I use for different game types. Hopefully you will find it helpful. [/QUOTE]

Hi Dude,I've tried your solution.but i dosent work.My project is 480*800 so my layout size 480*800 too.I just set window size 1900*3200 to be larger than layout size.Is it right? i make Unbound scrolling to Yes then i make fullscreen mode scale.I tried on android my layout looks little bit.Is there any wrong my process?
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Sat Feb 23, 2013 8:01 am

@guero If your games window size was 480*800 just set it back to 480*800.

What you want to do first since your window and layout size are the same is extend your background layers tiles, and or sprites much farther past your window size in all directions. This makes your background fill all resolution sizes.

Then extend each layers tiles, and or sprites to match your newly extended background as needed.

Also set the Parallax to 0 in the Layer properties window when Unbound scrolling is set to Yes on certain layers.

Other than that your other settings seem correct. It is hard for me to guess since I cant see your project so you might have to play around with it to get it looking right. There are no rules to this method it is just a lot of trial, and error until you get it working.

Basically you are just trying to create the illusion that your game is in full screen on all devise resolutions. I know this all seems confusing but once you get your game working your next one will be easier because you will just build it differently right from the start.Wink2013-02-23 08:17:31
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Sat Feb 23, 2013 3:43 pm

[QUOTE=Wink] @guero If your games window size was 480*800 just set it back to 480*800.

What you want to do first since your window and layout size are the same is extend your background layers tiles, and or sprites much farther past your window size in all directions. This makes your background fill all resolution sizes.

Then extend each layers tiles, and or sprites to match your newly extended background as needed.

Also set the Parallax to 0 in the Layer properties window when Unbound scrolling is set to Yes on certain layers.

Other than that your other settings seem correct. It is hard for me to guess since I cant see your project so you might have to play around with it to get it looking right. There are no rules to this method it is just a lot of trial, and error until you get it working.

Basically you are just trying to create the illusion that your game is in full screen on all devise resolutions. I know this all seems confusing but once you get your game working your next one will be easier because you will just build it differently right from the start.[/QUOTE]

Thanks so much dude your interest.Sorry but though i've tried lot of times with different way.i cant work it well.It just center my game other side stay white.If you have a time please can you send me an example?.Thanks so much again.

Regards,
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Sat Feb 23, 2013 6:59 pm

@guero Here you go:

https://dl.dropbox.com/u/43763487/examples/multi_resolution_example.capx

This is a simple example of supporting multiple resolutions. Remember every game is built different so you might have to do some experimenting to get things working correctly but this is the basic idea.
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Sun Feb 24, 2013 7:10 pm

[QUOTE=Wink] @guero Here you go:

https://dl.dropbox.com/u/43763487/examples/multi_resolution_example.capx

This is a simple example of supporting multiple resolutions. Remember every game is built different so you might have to do some experimenting to get things working correctly but this is the basic idea. [/QUOTE]

Dude Thanks so much for example.I understand all solution but as i tried before it dosent work my game.Thanks so much again your interest.

Best Regards,
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Sun Feb 24, 2013 7:33 pm

@guero I'm sorry to here it's not working for you. Have you read Ashley's Supporting multiple screen sizes tutorial?

Without actually seeing your .capx game project it is hard to give suggestions.

If you cant find a solution I would be willing to try to help you with this but you would have to share your .capx with me. If your game is a commercial project, and you don't want anyone to see it you could PM me a download link. I will even sign any Non Disclosure Agreement you want before downloading it.
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Mon Feb 25, 2013 8:25 am

[QUOTE=Wink] @guero I'm sorry to here it's not working for you. Have you read Ashley's https://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes/page-1 tutorial?

Without actually seeing your .capx game project it is hard to give suggestions.

If you cant find a solution I would be willing to try to help you with this but you would have to share your .capx with me. If your game is a commercial project, and you don't want anyone to see it you could PM me a download link. I will even sign any Non Disclosure Agreement you want before downloading it.[/QUOTE]

Yes,I read the tutorial but i cant found any solution for my screen.

Thanks realy so much.I've sent you my capx with PM.I will be glad if you check it out
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Post » Mon Feb 25, 2013 8:11 pm

@guero Your welcome. Check your PM.

I think it will be very easy to convert your game to support multiple resolutions. I sent you what I have so far, and what I need from you to complete it.
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Tue Feb 26, 2013 5:30 pm

I've sent you pm again.i explain detail.Your way works good.Thanks so much again.
B
10
S
3
G
3
Posts: 162
Reputation: 3,190

Previous

Return to How do I....?

Who is online

Users browsing this forum: dewetberg, jatin1726, RickUSBstick, Yura G and 20 guests