Here, Crazy Li and I posted some modified versions of Tom's "SlideBoth" ATL transition.
Another ATL transition based on that code can be useful when showing location changes or flashback moments.
Basically, it will zoom in and fade out the current scene, while simultaneously zoom out and fade in a new scene (what? ).
Well, give it a try and see for yourself.
Put this code anywhere on your game:
Code: Select all
transform locationchange(new_widget, old_widget):
delay 1.0
contains:
new_widget
truecenter
zoom 2.0 alpha 0.0
ease 1.0 alpha 1.0 zoom 1.0
contains:
old_widget
truecenter
zoom 1.0 alpha 1.0
ease 1.0 alpha 0.0 zoom 2.0
Code: Select all
scene washington
show eileen_happy
with dissolve
e "We are now ready to take you to the White House where Lucy will tell us what's going on. We take you now to the White House."
scene whitehouse
show lucy_happy
with locationchange
l "Thank you, Eileen. Well, nothing's going on here. This is Lucy speaking. We are returning you now to Eileen."
scene washington
show eileen_concerned
with locationchange
e "Thank you, Lucy. Now that's really embarrassing."