Lines show up when tiling images on iPhone simulator

rob.ertrob.ert Member Posts: 42
edited November -1 in Working with GS (Mac)
I've got an actor that is wide, and has an image that tiles horizontally. It looks fine on the preview in GS, but when I load it into the iPhone Simulator (I don't have a Apple license, so can't test on real device), lines randomly show up where the image is tiled. Anyone else have this problem or have a solution?

Comments

  • NayGamesNayGames Member Posts: 1
    Anyone? I'm also having this happen to me, this bug is driving me crazy, I've never had this happen before!
  • AfterBurnettAfterBurnett Member Posts: 3,474
    EDIT: Sorry, I read the question too quickly and my response was incorrect. LOL. Not sure what to do about this issue... an odd one, for sure!
  • rob.ertrob.ert Member Posts: 42
    @POLYGAMe
    Ok, would a screenshot be helpful at all? It's basically just a 1 pixel blackish line that flickers when the scene scrolls. Sometimes it stays, sometimes it doesn't. I've never had it before, and can't find anything on it.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    You will have better luck if the dimensions of your image are a power of 2:

    2,4,8,16,32,64,128,256,512,1024
  • JBULLFROGJBULLFROG Member Posts: 58
    firemaplegames said:
    You will have better luck if the dimensions of your image are a power of 2:

    2,4,8,16,32,64,128,256,512,1024

    Yep, i had the same thing happen, I had a 480x320 background image, which I stretched the actor to the stage size of 5000 wide, and on the GS Viewer on the iphone it would show that gap between the tiled background. Once I changed the actor image to be a 512x512 image, all looks good.

    Thanks
Sign In or Register to comment.