I'm actually coding a game and i have a problem in that following situation ... When i press Up and Then Down it only recognize one at the same time.
So my question is : How can i make my program recognize both keys at the same time ?
Thanks in advance
from lycee import *
from tkinter import *
fenetre=Tk()
def print_flèche_haut(event):
print("Flèche haut")
def print_flèche_bas(event):
print("Flèche bas")
fenetre.bind("<Up>",print_flèche_haut)
fenetre.bind("<Down>",print_flèche_bas)
fenetre.mainloop()