Giter Club home page Giter Club logo

Comments (3)

mfessenden avatar mfessenden commented on June 6, 2024 1

After looking into this some more, it appears as if this is a SpriteKit limitation. The SKEffectNode renders its children into a framebuffer, but caps the texture size to 2048x2048. If I resize your map to 32x32 tiles and enable effects rendering, it renders as expected.

The SKTilemap node is subclassed from SKEffectNode because enabling effects is an easy way to get rid of the cracks that can sometimes appear between tiles with a minimal performance hit, and with effects turned off it's basically just another SKNode.

I'll look into getting the map to throw a warning on these occasions in the next release and add a mention in the docs.

from sktiled.

mfessenden avatar mfessenden commented on June 6, 2024

It looks as if there's a glitch with SKEffectNode objects in SpriteKit, which the SKTilemap and layer objects inherit from. I haven't seen it happen yet, so I'll have to figure out what's happening here and possibly talk to Apple about the bug.

To fix it, load your map in the demo application and disable the effects rendering option and you should see the entire map (select Map -> Render Effects... or press the 'e' key).

from sktiled.

Relequestual avatar Relequestual commented on June 6, 2024

Thanks. Noted, I'll try that.
Obvioulsy I'm not running on the latest version of MacOS, so may already be fixed.

On the up side, when I intergrated a basic tile map into my current ios game, it all shows up fine, and I don't notice any graphical issues (although performance is another matter ;) )

from sktiled.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.