Is there a way to sort of wrap a [tiled] background as it scrolls across the screen so it looks like it scrolls endlessly? Right now I'm using a motif quick backdrop, but I could change it to an active if needed. Thanks![]()
Is there a way to sort of wrap a [tiled] background as it scrolls across the screen so it looks like it scrolls endlessly? Right now I'm using a motif quick backdrop, but I could change it to an active if needed. Thanks![]()
Try changing the virtual width and height to -1.
Marv
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm
that makes it scroll infinitely down. I want it to go up :P
Oh...Sorry about that.
Marv
458 TGF to CTF 2.5+ Examples and games
http://www.castles-of-britain.com/mmf2examples.htm
Put your background in its own layer. In the layers toolbar, click the layer. In the properties window, name your layer "Background" and click "wrap vertically."
Now, create a layer object in your frame. Do this in the event editor:
Something like that oughta do it.Code:Always -->Layer object: Set Y layer "Background" to lyrGetLayerBnYPos( "Layer object", "Background")-1
Thanks it workedAlthough you Add to the Y axis to make it go down and not up.
If you can't see the layers object, right click on the play area,
and click on the manager. search.
here are couple of videos about the layers object.
https://youtu.be/w3vpaxMKBcE
https://youtu.be/ikgUHR9bDr0
![]()
I found the layer object but in the events editor could not replicate what was written above..
Anyways let me explain what i want to do:
1. horizontal flappy SOMETHING clone (640x480 window)
2. make clouds horizontally scroll infinitely (640 width transp png with clouds)
I cannot for the love of god (or alien masters) make it work. I tried following your tutorial at https://www.youtube.com/watch?v=2ymYvOavfEw changing Y with X for my horizontal stuff but.. cannot make it work. I always see the second copy of clouds ending and.. thats it. No infinite scrolling.
infinite-problem.PNG
Right, you can replicate in y but not in x.
bug?