Android Fullscreen Problem

0 favourites
  • Hi,

    I work on a mobile game with C2 an i use eclipse.Though i've tried all fullscreen modes in C2 i cant get fullscreen all devices.even i tried phonegap fullscreen codes in eclipse but i cant solve.Please help me.

    Regards,

  • I wait your help.

  • Every device has its own resolution, maybe you've to change your project resolution.

  • Every device has its own resolution, maybe you've to change your project resolution.

    Yes,you're right.what do you suggest ?

  • 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.

  • 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.

    Thanks so much your interest.I will look at your way i hope it will work.My game is potrait and dont have a plotform,as i said before i use eclipse to make apk.Thanks so much again :)

    I wait other help.

  • I still wait your help please. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • guero, go over Winks suggestion along with gamegamegame. They have given the right solution direction to fix your problem. It could be me, but I think your inferring the wrong context of their suggestion due to a language barrier.

    Wink suggestion has nothing to with platforms or landscape. It's a guide to just handling any screen size resolution. The help is now there it's time to do your part :) good luck :)

  • guero, go over Winks suggestion along with gamegamegame. They have given the right solution direction to fix your problem. It could be me, but I think your inferring the wrong context of their suggestion due to a language barrier.

    Wink suggestion has nothing to with platforms or landscape. It's a guide to just handling any screen size resolution. The help is now there it's time to do your part :) good luck :)

    Thanks so much your interest.actually i cant understand screen sizes on c2 so i seek a exact way <img src="smileys/smiley1.gif" border="0" align="middle" /> but as you said I will try Wink's solution soon and i will write result.Thanks so much again <img src="smileys/smiley1.gif" border="0" align="middle" />

  • 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.

    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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.

    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,

  • 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.

  • 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.

    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,

  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)