fixed loading bug

This commit is contained in:
Ultrablob 2024-04-23 14:38:44 -04:00
parent 4750befdfb
commit 5708cf5ea2
14 changed files with 421 additions and 98 deletions

1
Gun.gd
View file

@ -7,5 +7,4 @@ func shoot():
var node = bullet.instantiate()
node.global_position = global_position
node.linear_velocity = Vector2(500, 0).rotated(global_rotation)
print(node.linear_velocity)
$/root/Node2D.add_child(node)