black line on right edge of graphics only in landscape right

GamePizzaGamePizza Member, PRO Posts: 227
edited May 2012 in Working with GS (Mac)
A strange black line is showing up on the right edge of 6 png graphic images only in landscape right on iPad. Problem doesn't happen in landscape left or running in Game Salad on Macbook Air. Problem does not occur at all on another 18 similar graphic images in the scene. Any ideas how to fix this or what is causing this?

Answers

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Are you tiling or replicating the image across the scene? I had this problem and was told it was a known bug.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    I just made actor few pixels bigger, so it covers the gap :)
  • jckmcgrawjckmcgraw Member Posts: 647
    @gamepizza

    I've ha this problem too. I just moved the x coordinate over 1, and there wasnt a black line on the left.

    Jack McGraw
  • GamePizzaGamePizza Member, PRO Posts: 227
    Are you tiling or replicating the image across the scene? I had this problem and was told it was a known bug.
    I'm not tiling or replicating. Each image is unique and only used once in the scene.
    I just made actor few pixels bigger, so it covers the gap :)
    I tried making the images smaller, but the problem remains. I'll try making the images bigger and see what happens.
    @gamepizza

    I've ha this problem too. I just moved the x coordinate over 1, and there wasnt a black line on the left.
    I've moved the x coordinate but that hasn't fixed the problem.
  • jckmcgrawjckmcgraw Member Posts: 647
    @gamepizza

    I don't know then. Sorry.
  • SlowboySlowboy Member, PRO Posts: 329
    Same for me, but it only shows up in the published game - it looks fine in the preview, but strip appears on the right in the actual game. You will notice that the strip is actually the background of your scene showing - if you change the scene colour to green, the strip will become green.
    I'm not sure how to fix it. I have exactly the same image appearing across multiple scenes, same dimensions, same x,y position. This kind of disproves the suggestion of moving the x position to fix it - the image does not move from one scene to the next, as expected, but the strip appears *over* the scene, or *replaces* it?? Not sure really, but I can confirm that it is nothing to do with the position of the image, at least not in my case. I'm sure that if I change some scene or camera dimensions, or maybe re - import the image and re - place it, I may be able to remove it, but it's a bit of a random faf for something barely noticable :L
    My suspicion is that it's something to do with camera size/origin versus scene dimensions. I'll post back if I manage to remove it, but won't really find out till after the game's published, coz I can't be bothered to do an ad hoc!!!
    Easiest fix in the meantime is to make the scene colour black, coz the univesally loathed letterboxing on the Macbook version is also black!!!! :D
  • SlowboySlowboy Member, PRO Posts: 329
    Ok, sorry, me again, I've just had another look and have some more info!

    In cases where a 'strip' of scene colour appears on the right hand side of the screen, this strip is actually being 'ADDED' to the 'OUTSIDE' of the scene! I have proved this as mentioned above - multiple scenes with the same image, of the same size, in the same place...when scene changes from the scene without the strip to the scene with the strip the image does not move, stretch or change at all, yet the strip appears 'beyond' the image, on the right, encroaching into everyone's favourite black bars.
    I suppose I'm going to have to log this as a bug or something...oh well, hope this info helps though - it looks unfixable from our side, just have to work around it and hope it gets fixed.
    Ta
    Wayne
Sign In or Register to comment.