I'm just going to make this so people have a easy way to find the answer to the "moving backdrop" question. I'll cover the basics. This tutorial is covering a very simple topic! If you have questions, feel free to ask and I'll answer as best I can. I'm no coder, though.
SO, first!
go to client>media>materials>scripts and find GUIMat
then do ctrl + f and search for backdrop1
Right above that you will see the logo waves, those are animated. you can copy that code and paste it directly under "tex_address_mode clamp" in the backdrop1 section you searched up. Or, you can replace the backdrop1 code with this: (only do this if you know what you are doing, save a copy of the GUIMat)
- Code:
material GUIMat/Backdrop1
{
technique
{
pass
{
lighting off
depth_check off
texture_unit
{
texture backdrop1.jpg
tex_address_mode clamp
scroll_anim -0.01 -0.01
scale 2 2
}
}
}
}
Now save, and go in game and test! Congrats you have a moving backdrop!
But wait, it looks funny and stretched!
Don't worry, you can fix that!
the "-0.01 -0.01" is what way it will move. the 1 stands for speed.
Scale is how "stretched" your image will look, I suggest using large images on a large canvas.
Hope this helped!