Looping an image
Posted: Fri Feb 10, 2017 2:54 pm
Hello.
I want to make animated background in main menu, and i done it, but there's some glitch, when image looping from start.
i dunno how to discribe that, heh.
https://drive.google.com/file/d/0B4YvWx ... sp=sharing here's a video of glitch.
transformation:
main menu screen:
I want to make animated background in main menu, and i done it, but there's some glitch, when image looping from start.
i dunno how to discribe that, heh.
https://drive.google.com/file/d/0B4YvWx ... sp=sharing here's a video of glitch.
transformation:
Code: Select all
init:
transform _moveleft(delay=0.1):
xalign 1.0
linear delay xalign 0.0
repeat
Code: Select all
screen main_menu:
add "images/GUI/mainmenu/bg_ground.png" at _moveleft(15)
add "images/GUI/mainmenu/bg_hover.png"
imagemap:
hover "images/gui/hover_menu1.png"
ground "images/gui/ground_menu.png"
hotspot (1175, 484, 376, 90) action Start()
hotspot (1223, 576, 342, 62) action ShowMenu("gallery")
hotspot (1232, 640, 310, 60) action ShowMenu("preferences_table")
hotspot (1298, 698, 178, 75) action ShowMenu("gallery")
hotspot (1294, 700, 190, 79) action Quit(confirm=True)