Hi I was wondering if anyone can help me. I am trying to create a game in visual python and have come to a complete stop. I need to be able to run many while loops at the same time, i have looked into threading but can't get my head around it. Any help would be appreciated, thank you.
Xlphos
16
Veteran Poster
Recommended Answers
Jump to PostI'm guessing that what you want is an event loop:
while True: check for events respond to events
and then all of your many while loops could be separate events. What do you have in mind?
Jeff
Jump to PostI've never used VPython, but the documentation looks accessible. Can you post your code?
Jeff
All 6 Replies
jrcagle
77
Practically a Master Poster
Xlphos
16
Veteran Poster
jrcagle
77
Practically a Master Poster
Xlphos
16
Veteran Poster
Azurea
0
Light Poster
woooee
814
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.