Infinitely Scrolling Backgrounds Forum Home > Construct 2 General > How do I....? |
Post Reply
|
| Author | |
Post Options
Quote Reply
Topic: Infinitely Scrolling BackgroundsPosted: 25 Sep 2011 at 10:55pm |
|
|
i tried out your method, except i replicated it so that it scrolled on y axis. so i put: sea: y<=windowheight|set y to window height, but its not working...
thanks for the quick replies, by the way |
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Sep 2011 at 10:34pm |
|
|
A single tiledbackground is not the best of ways to go I think.
In my example it works because the texture is power of 2 (128) and the WindowWidth is too. If your texture file (the one you "feed" the TiledBackground) is power of two and the WindowHeight is too, it should work "seamlessly". Make sure the height of your tiledbackground matches the WindowHeight and you should have it. Edited by Kyatric - 25 Sep 2011 at 10:34pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Sep 2011 at 10:22pm |
|
|
thanks for the reply!
but, i'm trying to get it to work on the y axis. taking two of my tiled backgrounds and mashing them together does not form a seamless background, i think thats wat is happening in kyatrics file. is there a way to do this with a single background file |
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Sep 2011 at 10:11pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Sep 2011 at 9:57pm |
|
|
How would I do a infinitely scrolling tiled background? I have set a bullet property to the background and a wrap property but the background does not wrap until the whole thing is off screen.
Thanks in advance! |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |