Compare commits
2 Commits
27db6d6d27
...
0e447f80ec
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e447f80ec | |||
| fd636e2d9a |
@@ -63,8 +63,8 @@ func get_boundaried_position(position):
|
||||
#return position.clamp(Vector2.ZERO, screen_size)
|
||||
|
||||
# periodic
|
||||
position.x = wrapf(position.x, 0, screen_size.x)
|
||||
position.y = wrapf(position.y, 0, screen_size.y)
|
||||
position.x = wrapf(position.x, -viewport_size.x/2 , screen_size.x + viewport_size.x/2)
|
||||
position.y = wrapf(position.y, -viewport_size.y/2, screen_size.y + viewport_size.y/2)
|
||||
return position
|
||||
|
||||
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"
|
||||
|
||||
[display]
|
||||
|
||||
window/size/viewport_height=656
|
||||
|
||||
[editor_plugins]
|
||||
|
||||
enabled=PackedStringArray()
|
||||
|
||||
Reference in New Issue
Block a user