tile map working

This commit is contained in:
Jeremy committed 2024-07-29 19:45:36 -04:00
1 parent de0b856b55
commit 5a069f7d83
9 files changed
+310 -50

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.