Godot Version
v4.4.1.stable.official [49a5bc7b6]
Question
`I guess right now is a good time to ask, as any.
Where is the wrap around option in Godot?
I know about this option because it’s in every other program, and game engine.
I just have not seen this anywhere, or tutorials don’t mention that.
- Where is the screen wrap around?
- Where is the parallax or background wrap around?
- Where is the texture wrap around?`
You can do that with a shader.
The propagated design is more important here.
Let’s start with the first one.
- Where is the screen wrap around?
In RPG Maker Xp the character is usually in the middle of the screen.
The character moves in 16 pixles in any direction. There’s no normalized. It’s a dumb idea for 2D games.
When reaching the top, bottom, left or right edges the character would be able to move to the appropriate leading edge.
On top of all that in the map settings there’s a simple button that enables traveling from the left to right facing in the same direction. And, so does the same work for top and bottom.
I think a few people should know what I mean.
I can do it with code in a few ways in 2D or 3D.
Still would rather stick to one liners if you don’t mind. Where is that option in Godot.
It’s a pretty straightforward question.
Yes or No.
For repeating textures, all CanvasItem
s have a texture_repeat
property mentioned in the docs here.
For repeating textures with extra space, Sprite2D
has region_rect
that you can manipulate mentioned in the docs here.
For infinitely repeating your entire background or adding a parallax effect, you can use the Parallax2D
node which also has a tutorial mentioned in the docs here.
1 Like