(Jan-26-2018, 01:35 PM)Erepiv1 Wrote: Thank's a lot ! I have no more error message :) but when I write nothing happens, I don't get it
(Jan-19-2018, 12:37 PM)metulburr Wrote: That code is presented within a for loop of events.
for event in pygame.event.get(): if event.type == KEYDOWN: ...
... was just for whatever you want to put to execute. Its going to run, but not do anything. If you put
print('something')
instead of ... then you would see something
every time you press a key.
Recommended Tutorials: