Added in tilemap

This commit is contained in:
winniewk committed 2024-07-29 19:45:39 -04:00
1 parent af1b5267b9
commit 3a5f2d7908
10 files changed
+313 -55

No files matched your search

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