Really bad tiling problem with Mac apps

13»

Comments

  • HymloeHymloe Member Posts: 1,653
    Is 1024 x 1024 too large, perhaps?
  • HymloeHymloe Member Posts: 1,653
    I just tried 512x512, but the same problem. The image is not wrapping around properly, I can clearly see where's it's joining. But in Photoshop, I've made a proper tiling texture, that I can use the Filter > Other > Offset, and shift the image around vertically and horizontally, and not see any joins.

    So what is going on there, anyone know?
  • SocksSocks London, UK.Member Posts: 12,822
    I should say, on the iPad, I'm now not seeing the seams/lines where the image tiles.
    There you go ! Problem solved ! As P-O-M pointed out you need to preview your project on the target device.
  • HymloeHymloe Member Posts: 1,653
    edited March 2013
    Cheers guys. I find the tiling thing a bit confusing. I wish it worked on the viewer as well, to make previewing it quicker and easier. That bug's been in there for yonkaroonies.
  • SocksSocks London, UK.Member Posts: 12,822
    Cheers! My image tiles nicely horizontally, but not vertically. Weird. It's 1024x1024, and set to tile horizontally and vertically. Strange that it won't work vertically for me.
    It's not entirely clear what you are saying here. Do you mean that when viewed on the target device you are seeing horizontal lines between tiled elements ?
    Also, would be great if the viewer displayed the textures properly. Guess I'd better report it as a bug.
    You could report it as a bug, or post it on Youtube or simply write it down on some paper and eat it, they all do much the same thing.

    :))
  • HymloeHymloe Member Posts: 1,653

    You could report it as a bug, or post it on Youtube or simply write it down on some paper and eat it, they all do much the same thing.
    :))
    Haahaa! I think I've got it working now, at least on the device. Hooray.

    I really hope they get it working in the Viewer for the next build. It ruins the entire feel of my game to have to develop it on the Mac with all these blinking flashing lines between my background images.

    Thanks Socks.
  • CodeWizardCodeWizard Inactive, Chef Emeritus Posts: 1,143
    edited April 2013
    Here's an interesting note... it looks like the OpenGL texture clamping mode was set in such a way as to sample the black area outside of textures on occasion. I've implemented a fix for this and will see if it breaks anything else. If all goes well, it should make it into a coming release.

    In my personal tests, this fixes the unsightly black lines in the creator and mac viewer. Haven't tested on device yet, but it looks promising! :D

    Thanks to @imGua for providing a nice repro case for me to look at.
  • HymloeHymloe Member Posts: 1,653
    Excellent, great to hear @CodeWizard! That'll make it much nicer. Lovely.
  • SnapFireStudiosSnapFireStudios Member Posts: 1,603
    You are a lifesaver @CodeWizard! I have also had this problem, and even after multiple bug reports, nothing happens. Then you come along and whip up a solution in a few minutes! :-O ^:)^
    Thank you once more for you dedication to responding to creator issues quickly and effectively ;)
    - Thomas
  • Gordio283Gordio283 Member, PRO Posts: 31
    Bump

    I'm having this issue while ad hoc testing on iPhone : ( I need to fix this bug. It's seriously the last thing I need to fix. Then I can upload to the App Store.

    It looks fine when testing on the Game Salad app.
  • Gordio283Gordio283 Member, PRO Posts: 31
    edited December 2013
    How do you post pictures? I want to post a pic of the screenshot.
  • HymloeHymloe Member Posts: 1,653
    Do you have all of your textures that you are tiling as a power of 2 (2,4,8,16,32,64,128,256,512), and also have the tiling size set to a power of 2 value as well?

    You'll have problems with little seams between the tile if they aren't power of 2, I think. Make sure you have that right, first.

Sign In or Register to comment.