Making "animated" main menu backgrounds? [SOLVED]
Posted: Wed May 24, 2017 1:22 pm
Hello, I'm trying to make a main menu background that's animated - but not with a video. I have already tried doing one where there's only one image that "infinitely scrolls [diagonally]".
This time though, I'm trying to make something that has multiple images.
Something like that. The idea is to have a static background image, with the title sort of fading in and out. The only thing that shows up in the main menu after using the code above is the first block with ba.png(but the animation works for it, so there's that, ha).
I suspect the problem is with the usage of blocks (because I'm not too sure about them), if the problems isn't about being unable to use multiple images in... one image? It would be fantastic if anyone can tell me about possible tweaks, if not alternatives for making this. Thank you!
This time though, I'm trying to make something that has multiple images.
Code: Select all
image mmenu:
"images/background.png"
xanchor 0
yanchor 0
block:
"images/ba.png"
xpos 100
ypos 100
linear 2.0 alpha 1.0
linear 2.0 alpha 0.0
repeat
block:
"images/y.png"
xpos 200
ypos 100
linear 2.0 alpha 1.0
linear 2.0 alpha 0.0
repeat
block:
"images/ba.png"
xpos 300
ypos 100
linear 2.0 alpha 1.0
linear 2.0 alpha 0.0
repeat
block:
"images/ye.png"
xpos 400
ypos 100
linear 2.0 alpha 1.0
linear 2.0 alpha 0.0
repeat
block:
"images/n.png"
xpos 500
ypos 100
linear 2.0 alpha 1.0
linear 2.0 alpha 0.0
repeat
define gui.main_menu_background = "mmenu"
I suspect the problem is with the usage of blocks (because I'm not too sure about them), if the problems isn't about being unable to use multiple images in... one image? It would be fantastic if anyone can tell me about possible tweaks, if not alternatives for making this. Thank you!