I have a scene in which the lens will (hopefully) pan to the left or right side of the background image, depending on the menu choice chosen. (No characters are present in this scene.) My game's dimensions are set as 1280x720, so I doubled the width of the background to be 2560x720. The scene starts by showing the middle half of the BG, and I've managed to trigger it to show the leftmost half of the background after "choice_left". However, the transition is jumpy. it cuts immediately from the centre (x = 0.5) to far left (x = 0.0). Is there any way I can add time to slow down this transition, even to just 2 seconds?
My current code is as follows:
Code: Select all
show bg city:
xalign 0.0