482 lines
12 KiB
Text
482 lines
12 KiB
Text
|
from direct.interval.IntervalGlobal import *
|
||
|
def start():
|
||
|
base.localAvatar.setZ(7)
|
||
|
def anim1():
|
||
|
base.localAvatar.b_setAnimState(('jumpLand'))
|
||
|
base.localAvatar.collisionsOff()
|
||
|
def anim2():
|
||
|
base.localAvatar.b_setAnimState('ScientistEmcee')
|
||
|
def flip1():
|
||
|
base.localAvatar.setP(90)
|
||
|
def flip2():
|
||
|
base.localAvatar.setP(180)
|
||
|
def flip3():
|
||
|
base.localAvatar.setP(270)
|
||
|
def flip4():
|
||
|
base.localAvatar.setP(360)
|
||
|
def end():
|
||
|
base.localAvatar.collisionsOn()
|
||
|
def onTime():
|
||
|
seq = Sequence()
|
||
|
seq.append(Func(anim1))
|
||
|
seq.append(Wait(.45))
|
||
|
seq.append(Func(anim2))
|
||
|
seq.append(Func(start))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip1))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip2))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip3))
|
||
|
seq.append(Wait(.1))
|
||
|
seq.append(Func(flip4))
|
||
|
seq.append(Func(end))
|
||
|
seq.start()
|
||
|
onTime()
|