Hello wanted to ask about Clipping nodes
Will clipping nodes work with tile maps? I’ve seen the clipping node example and notice that it only worked on sprites.
if I parented the tilemap to the clipping node and then the clipping node to the scene, would it work the same way?
To add on, my clipper node was in a separate singleton class with the scene node passed in through a function for no particular reason. I tried both, creating it within the scene and outside and both had the same result.
ClippingNode has a content size of (0, 0), so changing the anchor point does nothing. When you move it to the center of the screen, you are moving the visible part of your tile map off screen. If you comment out clipper->setInverted(true); then you should be able to see the bottom-left of your tile map.