automatic stage selection
This commit is contained in:
parent
118fd6b718
commit
51ff405e76
1 changed files with 8 additions and 2 deletions
6
r3.py
6
r3.py
|
@ -245,6 +245,9 @@ wall1 = Wallh(-100,-200)
|
|||
wall2 = Wallh(2150,-200)
|
||||
wall3 = Wallv(-200,-200)
|
||||
wall4 = Wallv(-200,800)
|
||||
if int(datetime.datetime.utcnow().timestamp() % 2) == 1:
|
||||
background = Background('backgrounds/wormhole.png')
|
||||
else:
|
||||
background = Background('backgrounds/galaxy.png')
|
||||
#crash = Crash()
|
||||
#antenna = Antenna()
|
||||
|
@ -304,6 +307,9 @@ while running:
|
|||
wall2 = Wallh(2150,-200)
|
||||
wall3 = Wallv(-200,-200)
|
||||
wall4 = Wallv(-200,800)
|
||||
if int(datetime.datetime.utcnow().timestamp() % 2) == 1:
|
||||
background = Background('backgrounds/wormhole.png')
|
||||
else:
|
||||
background = Background('backgrounds/galaxy.png')
|
||||
live = True
|
||||
complete = False
|
||||
|
|
Loading…
Reference in a new issue