Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Screen Resolutions Issues — Gideros Forum

Screen Resolutions Issues

DoradoLabDoradoLab Member
edited January 2014 in General questions

Hi Gideros,

We have started with a company and we are going to develop games. Hence looking for a good framework. Got Gideros and before buying the pro... need to clarify how it helps better than other framework. After working with free version we are facing the basic issue of screen resolution and we have refereed some of your examples and tried as it is. But still we are not satisfied as we are getting lot of difference in the screen display like white gaps or image stretch . Mentioned some of the issues we faced in different resolution devices. Need a quick help and solution so that we can buy the pro and start our work with Gideros.


The example projects which we refereed...


GameTemplate-master
UniversalProject
provided here: http://www.giderosmobile.com/forum/discussion/comment/13692#Comment_13692
We went through the above link but didn't find the solution.


The UniversalProject we implemented in GameTemplate-master and following issues we are facing...


In the page it is mentioned as the image is taken according to the device resolution means absolute or relative as there are 2 images named @1 and @2 we can observe in any device with different resolution it is taking only @1 image and displaying it.

Hence to make you understand this issue best way , we are including the same project what we tried with the two images. Please check it and give us the solution.


Problems :
-----------


320X480 --- Background Image is not fitting in the screen area properly. Border is going out of the screen.

240X320 --- Only top and bottom is not inside the screen area. Both the sides are proper.

480X800 --- Background Image is not fitting in the screen area properly. Border is going out of the screen.

640X960 --- Background Image is not fitting in the screen area properly. Border is going out of the screen.

540X960 --- Only Both the sides are not inside the screen area. top and bottom are proper.

480X854 --- Only Both the sides are not inside the screen area. top and bottom are proper.

600X800 --- Only top and bottom is not inside the screen area. Both the sides are proper.

So any solution will help us to move on with Gideros.

Regards,
DoradoLab

zip
zip
GameTemplate-master.zip
2M

Comments

  • ar2rsawseenar2rsawseen Maintainer
    edited January 2014 Accepted Answer
    Hello @DoradoLab ;)
    Looking at your project now and:

    1) you have set the logical dimensions as 480x800, it means that only this portion of your image will be shown on any resolution, and your border is usually out of the screen because the part of the image that border encapsulates is actually something like 550x810 (going out of logical dimensions 480x800) thus being cut off.

    Here is the example image that should be working:
    image


    2) the @2 image does not appear because you did not set the suffix in the Gideros project properties.
    http://docs.giderosmobile.com/automatic_image_resolution.html

    Basically right click to the Gideros project name in Gideros Studio's select Graphics tab and click + icon, and set Suffix as @2x and Scale as 2
    and it should work
    Here was the example project with such settings:
    http://www.giderosmobile.com/forum/discussion/comment/13694#Comment_13694

    Hope that helps
    And if you have any more questions, feel free to ask ;)
    6708OS_02_03.png
    852 x 600 - 12K
  • petecpetec Member
    edited January 2014
    I think that image might need to be a little bit wider to cope with the 1280x720 resolution in gideros player (not sure what device actually uses that ratio!). It is minutely more elongated than the iphone5. Hardly anything in it but you do get very thin black lines right and left using the size above.
Sign In or Register to comment.