How to achieve background repetition?

Godot Version

4.6.2

Question

How to achieve background repetition?

I need to implement texture repetition and control the number of repetitions.

In Unity, create a texture, then go to Assets → Wrap Mode: Repeat. Then, in the material settings, change the X and Y values ​​of the tiling to determine the number of repetitions.

I’m new to Godot and I want to replicate a Unity project.

I’m not sure to understand what you want to achieve. If you want to repeat a texture yes, you can do it at the amterial as you did it on Unity but you have in Godot the Parallax2D node too.

https://docs.godotengine.org/en/stable/classes/class_parallax2d.html#class-parallax2d

https://docs.godotengine.org/en/stable/tutorials/2d/2d_parallax.html

1 Like