aboutsummaryrefslogtreecommitdiff
path: root/src/Player.py
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-04-16 04:47:58 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-04-16 04:47:58 +0200
commit422ad3b2c2241b423c7767a0d70401eda38a0ffa (patch)
tree52b6e3d0a4adadf9ad2c0572299e92c81c71c36a /src/Player.py
parentaa2162d1c2c873161b08efa3affff8ac73e27824 (diff)
downloadMacpan-422ad3b2c2241b423c7767a0d70401eda38a0ffa.tar.xz
Macpan-422ad3b2c2241b423c7767a0d70401eda38a0ffa.zip
Implemented an A* but there is a bug that causes a jitter in movement when the manhatten distance is equal
Diffstat (limited to 'src/Player.py')
-rw-r--r--src/Player.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Player.py b/src/Player.py
index eac2d62..430a974 100644
--- a/src/Player.py
+++ b/src/Player.py
@@ -33,7 +33,7 @@ class Player():
self.x = 30 * 17 - 15
self.y = 30 * 25 - 15
self.sprite = get_sprites(sprite_sheet)
- self.speed = 5
+ self.speed = 6
self.direction = DIRECTION.LEFT
def draw(self, screen, counter):