Code: Select all
renpy.show( 'something', at_list=[ place( 0, 0 ), slide( 200, 1.0 ), slide( -200, 1.0, start_offset=200 ) ] )
Maybe I'm tired and may be misunderstanding the internals of renpy again; but after putting in a lot of debugging in my code; I think all of the transforms do run simultaneously (a thread for each maybe?), but are immediately canceled or something by the next one in the list.
Doing this solves the issue:
Code: Select all
renpy.show( 'something', at_list=[ place( 0, 0 ) ] )
renpy.pause( 1.0 )
renpy.show( 'something', at_list=[ slide( 200, 1.0 ) ] )
renpy.pause( 1.0 )
renpy.show( 'something', at_list=[ slide( -200, 1.0, start_offset=200 ) ] )
I cannot do something like this (see below); I cannot animate objects B and C at the same time and have them transform themselves in an order/sequence with different timings...
place (object B), wait 2 seconds, slide 200, wait 3 seconds, slide -200
place (object C), wait 3 seconds, slide 400, wait 2 seconds, slide -400, wait 5 seconds, slide 600
if the timings were the same; then I could do:
Code: Select all
renpy.show( 'B', at_list=[ place( 0, 0 ) ] )
renpy.show( 'C', at_list=[ place( 0, 0 ) ] )
renpy.pause( 1.0 )
renpy.show( 'B', at_list=[ slide( 200, 1.0 ) ] )
renpy.show( 'C', at_list=[ slide( 400, 1.0 ) ] )
renpy.pause( 1.0 )
renpy.show( 'B', at_list=[ slide( -200, 1.0, start_offset=200 ) ] )
renpy.show( 'B', at_list=[ slide( -400, 1.0, start_offset=400 ) ] )
Regards,
Ches