A video of what I have so far that hopefully shows what effect I'm going for: http://sendvid.com/kpfmq8nb
And the code I have so far:
Code: Select all
image bg_bus_interior_window_welcome_to_cascadia_ani:
contains:
parallel:
#queue image in the back and wait for the end of the second copy to scroll on-screen
HBox("images/bg/parts/cascadia_outskirts_bg.png","images/bg/parts/cascadia_outskirts_bg.png")
xoffset 0
pause 5.05
linear 8.5 xoffset 1980
xalign 1
yalign 1
repeat
contains:
parallel:
HBox("images/bg/parts/cascadia_outskirts_bg.png","images/bg/parts/cascadia_outskirts_bg.png")
xoffset 0
linear 8.5 xoffset 1980
xalign 1
yalign 1
repeat
contains:
subpixel True
"images/bg/bus_interior.png"
xalign 0.5
yalign 0.5
parallel:
#Bus sway
#Hori sway
linear 2.25 xoffset 13
linear 2.25 xoffset -13
#Hori sway
linear 2.25 xoffset 13
#Double jump
linear 0.032 yoffset -1
pause 0.041
linear 0.035 yoffset 1
pause 0.3
linear 0.033 yoffset -1
pause 0.15
linear 0.03 yoffset 1
pause 0.05
#Hori sway
linear 2.25 xoffset -13
#Hori sway
linear 2 xoffset 13
linear 2 xoffset -13
#Jump
linear 0.026 yoffset -2
pause 0.032
linear 0.022 yoffset 2
repeat