horizontal and vertical line on right and top of graphic

MarcoColMarcoCol Member, PRO Posts: 297
edited June 2012 in Working with GS (Mac)
Hi,
I always finish my app and test it now in the newest viewer and also getting it over iTunes in sync on iPad and iPod touch.
On the iPod touch, everything worked fine.
But on the iPad, I have a small (1px) line on the right and top of images which are put on a white background. The images didn't have this line included. It must came from GameSalad.
What did I am wrong?

Answers

  • MobileRocketGamesMobileRocketGames Member Posts: 128
    Are you stretching the screen/actors to display on the ipad?
    That line is a graphical artifact caused by the engine resizing the image.
    This is why it displays fine on the ipod (original resolution).
  • MarcoColMarcoCol Member, PRO Posts: 297
    Hmmm. No. I am not stretching them. I use them on the original size for iPad and for iPhone there is then a restretching I think. But I will have a look on it, if they can divided by 4...
  • MobileRocketGamesMobileRocketGames Member Posts: 128
    edited June 2012
    oh sorry, a solution is what you need =)
    To remove these artifacts, replace the images in the ipad version with images of the correct size.
    If the actor is 60x60 in the ipod version and 80x80 in the ipad version, replace the 60x60 image with an 80x80 image, and so on for all the images that have these artifacts.
  • MarcoColMarcoCol Member, PRO Posts: 297
    But I thought, that the version will automaticaly streched down for the iPhone? I only position the images on the iPad schema.
  • MarcoColMarcoCol Member, PRO Posts: 297
    Well, I change the sizes and use the original size in the project, so no resizing. In the viewer, there are still those lines, but if I publish it and tried it on my device, the lines are away!
  • rotorrotor Member Posts: 25
    Just a guess, but try setting the Horizontal Wrap and Vertical Wrap attributes of the graphic in the actor to 'fixed'. Hope that helps :)
  • MarcoColMarcoCol Member, PRO Posts: 297
    Yes. if I set both on fixed it worked. And if I all use with the original size, it worked also.
    Good to know.
Sign In or Register to comment.