Peashooters
This commit is contained in:
parent
161f87da75
commit
68cfe89f1d
47 changed files with 1571 additions and 279 deletions
4
scripts/components/field_segment_shape.gd
Normal file
4
scripts/components/field_segment_shape.gd
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
extends CollisionShape2D
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
shape.b = Vector2(FieldParams.field_rect.end.x-global_position.x+FieldParams.TILE.x,0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue