how can threading in python help me in my traffic simulation project? can i use it to detect other cars?
harrykokil
0
Light Poster
Recommended Answers
Jump to PostThreading is used to run two things at once so it could help you if needed a collision detection method to run and to run the cars as well. But personally i think you could do it without threading in pygame, all you would do is use image.rect.colliderect() and that …
All 3 Replies
lllllIllIlllI
178
Veteran Poster
harrykokil
0
Light Poster
scru
909
Posting Virtuoso
Featured Poster
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.