Code: Select all
init:
# Images taken from the tutorial game for repeatability.
python:
transimage = Image("id_dream.png")
transin = ImageDissolve(transimage,1,alpha=True)
testrans = ComposeTransition(Dissolve(1), after=transin)
testransb = ComposeTransition(transin, after=Dissolve(1))
e = Character('Eileen', color="#c8ffc8")
image bg a = Solid("#f00")
image testimage = Image("eileen_concerned.png")
label start:
scene bg a
e "This transition works the same in both software mode and OpenGL."
show testimage at truecenter with testrans
pause
hide testimage
e "The documentation is not terribly clear on what result should I expect from this one, but it's clearly different between OpenGL and software mode."
show testimage at truecenter with testransb
pause
hide testimage

