tilemap working

This commit is contained in:
OddlyTimbot committed 2024-07-29 19:45:32 -04:00
1 parent 4ddac0f0d1
commit fcd9c6601f
10 files changed
+320 -59

No files matched your search

+7 -1
View File
@@ -46,7 +46,13 @@ func _physics_process(delta):
#put the bullet at the Marker
owner.add_child(myBullet)
myBullet.transform = marker_right.global_transform
if not faceLeft:
# facing right
myBullet.transform = marker_right.global_transform
else:
# facing left
myBullet.transform = marker_left.global_transform
myBullet.setSpeed(-750)
# Get the input direction and handle the movement/deceleration.
# As good practice, you should replace UI actions with custom gameplay actions.