Child nodes in Parallax2D node changes position erratically

Godot Version

4.3

Question

I’ve created a Parallax2D node and added some pre-created AnimatedSprite2D nodes as child nodes. (Fire and Smoke AnimatedSprite2D nodes).

I wanted to repeat these animated sprites, as same as a parallax background. But when the parallax layer is repeating, these AnimatedSprite child nodes (Fire and Smoke) changes their global position erratically. Some of the nodes change their position as the repeat goes, instead of simply repeating the pattern.

Following are the values I use in the Parallax2D layer.

Is there a way to repeat a bunch of AnimatedSprite2D child nodes as a parallax layer?

This worked fine on 4.2.2 version with ParallaxBackground and ParallaxLayer nodes.

its because every frame of the animated sprite has a different size. to fix it. make a transparent square to the sprite frame(must be bigger that the sprite) and then put it to the other frames(the squares must be equal) or the easier and best way:

lets say you made a fire and smoke of 16x16 pixels. every frame must be 16x16. if there is some space(dont delete it in godot) just let it there and makke sure that every frame of the spritesheet has an equal size.

i hope it was helpful :wink: