Texture tail is now wrapping nicely but nothing else is...
This commit is contained in:
@@ -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
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user