Texture tail is now wrapping nicely but nothing else is...

This commit is contained in:
2026-03-01 17:22:43 +01:00
parent a11805ad30
commit fd636e2d9a
3 changed files with 9 additions and 5 deletions

View File

@@ -63,8 +63,8 @@ func get_boundaried_position(position):
#return position.clamp(Vector2.ZERO, screen_size) #return position.clamp(Vector2.ZERO, screen_size)
# periodic # periodic
position.x = wrapf(position.x, 0, screen_size.x) position.x = wrapf(position.x, -viewport_size.x/2 , screen_size.x + viewport_size.x/2)
position.y = wrapf(position.y, 0, screen_size.y) position.y = wrapf(position.y, -viewport_size.y/2, screen_size.y + viewport_size.y/2)
return position return position
func get_new_flow(): func get_new_flow():

File diff suppressed because one or more lines are too long

View File

@@ -23,6 +23,10 @@ config/icon="res://icon.svg"
GameManager="*res://game_manager.gd" GameManager="*res://game_manager.gd"
[display]
window/size/viewport_height=656
[editor_plugins] [editor_plugins]
enabled=PackedStringArray() enabled=PackedStringArray()