Problem with tile maps

TwilightHunterTwilightHunter Member Posts: 146
edited November -1 in Working with GS (Mac)
Hey, I'm using a very simple function for a tile. Basically I just want the image to repeat when I stretch it, and I've used it before many times, I guess not with a recent update of GameSalad? I make my actor 146 x 146, and I go into Graphics and select Tile for Horizontal. It works fine in the GameSalad Preview, but when I go into my iTouch to test it, everything is all stretched, I'm guessing this was because the Vertical wrap was on stretch, so I switched that to Tile as well. It isn't stretched, it's shrunk in size and it's just odd looking now. Any help on why this is happening would be great! I just want to tile this ground sideways across the scene.

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    there have been some reported bugs about tiling with the iPhone 4. I personally have not had issues so not sure whats causing it, but that could be it. Also make sure your images are 72DPI
  • TwilightHunterTwilightHunter Member Posts: 146
    Yeah I made sure they were 72 DPI... and nothing is wrong inside the regular GS previewer just when I go to test on my iTouch. >.> I guess I'll try again tomorrow and see if it's cleared up.
  • BSideGamesBSideGames Member Posts: 392
    Make sure your art is in the power of 2 (32,64,128,ect) I had to redo tons of art on my last game because of this.
  • MarkOnTheIronMarkOnTheIron Member Posts: 1,447
    Also remember that tiling images has problems when publishing with resolution independence checked.

    Moreover you can't use hi-res images for the retina display when tiling. For example if you want to do a tiling of 12x8 tiles you have to use a 40x40 image, that will result in a 12x8 tiles on your game but it may look a little blurry on an iPhone 4. If you used a 80x80 image you would have obtained a 6x4 tiled image and it would have been still blurry.

    ________________________________
    【ツ】iPhone Icon Pack 【ツ】 - 【ツ】Graphic Pack【ツ】
    Free GS demo: High score simple and advanced; Game Center; App Rating System
  • HoneyTribeStudiosHoneyTribeStudios Member Posts: 1,792
    So is there no way to have tiling if you want to use resolution independence?

    I didn't use tiling in our first game but I'm thinking to use it a lot in the second.
  • TwilightHunterTwilightHunter Member Posts: 146
    Thanks, I'll try some of those things. Yeah I was planning on using alot of tile map for this game, I'll try the power of 2 thing.
  • TwilightHunterTwilightHunter Member Posts: 146
    It didn't work like that in my other game, I used alot of high resolution images and it just tiled them regularly
  • TwilightHunterTwilightHunter Member Posts: 146
    Setting the image size into the power of 2 worked! Thanks BSideGames! And everyone else that replied, thanks!!
Sign In or Register to comment.