screen movement():
default panStep = 0
key "K_RIGHT" action SetScreenVariable("panStep", panStep+1)
key "K_LEFT" action SetScreenVariable("panStep", panStep-1)
key "repeat_K_RIGHT" action SetScreenVariable("panStep", panStep+1)
key "repeat_K_LEFT" action SetScreenVariable("panStep", panStep-1)
fixed:
add "360_test.png": # <<< insert your 360° image here.
xpan panStep
textbutton ">>" clicked [ SetScreenVariable("panStep", panStep+1)] xpos .95 ypos .5
textbutton "<<" clicked [ SetScreenVariable("panStep", panStep-1)] xpos .02 ypos .5
transform panImage:
xpan 0
linear 20.0 xpan 360
repeat
image pan = "360_test.png" # <<< insert your 360° image here
screen pan_test():
spherical:
image "pan"