I have a problem with my RPG.
I want enemies to wander randomly. So I put:
enx_speed = random.randint(-2, 2)
eny_speed = random.randint(-2, 2)
in the main loop (while true:
).
However, that loops every 20 milliseconds (it's what I use to redraw, find key presses, etc).
How can I have two infinite loops running at the same time with different loop times?