Hi All
Have been searching the forum for a solution to pygame conversions, Most of it says use scene but I can't quite find what I need as I'm not quite sure what I'm looking at. Most of my drawing functions I've managed to do successfully and some of the sound output stuff is working already but I'm a bit lost in finding how to replicate an event queue.
The snippets I'm looking at converting are
def start_timer():
start = pygame.time.get_ticks()
Qstatus[0] = start
Qstatus[1] = 1
Qstatus[2] = 0
pygame.time.set_timer(USEREVENT + 1, 200) #set timer1 for 0.2 seconds refresh
def safe_timer():
pygame.time.set_timer(USEREVENT + 2, 1000) #set timer2 for 1 seconds refresh
abandon[2] = 11
for event in pygame.event.get():
if event.type == pygame.USEREVENT +1:
timer_symbol()
if event.type == pygame.USEREVENT +2:
abandon[2] = abandon[2]-1
print (abandon)
there's a lot of pointers to threading and/or multiprocessing but no real examples of what I'm aiming at.
Any help or pointers gratefully received.