




























Hello again, now that I made this account  I need to use it 
1. def keyPressed(self):
2.      if key == 'a':
3.          self.x = self.x - 1.5
4.      elif key == 'd':
5.          self.x = self.x + 1.5
6.      elif key == 's':
7.          self.y = self.y + 1.5
8.      elif key == 'w':
9.          self.y = self.y - 1.5
Is there any way to make my player object move in diagonal by adjusting something in this code, or I need to do something complex with tan() cos() sin()β¦ ?































