Bonus Tutorial Finished.

This commit is contained in:
Alan Youngblood
2024-12-05 18:37:10 -05:00
parent 98c8da0338
commit a22832a709
10 changed files with 64 additions and 11 deletions

View File

@@ -0,0 +1,10 @@
extends Camera2D
onready var topLeft = $Limits/TopLeft
onready var bottomRight = $Limits/BottomRight
func _ready():
limit_top = topLeft.position.y
limit_left = topLeft.position.x
limit_bottom = bottomRight.position.y
limit_right = bottomRight.position.x