Problem with moving background
BasGoodboy
Member, PRO Posts: 310
Hey all, I have a moving clouds background in my game which keeps coming back via de x wrap.
The picture is perfectionised so the player shoudn't see a miserror in the cloud, if i put the front and back in photoshop after eachother, it looks smooth.
On GS Creator preview, it looks smooth too, altho.. when AdHoc testing, i see a very thin line of 1px width which seem to border the background when wrapping.
You can see what I mean in the next screenshot:
Any idea how to solve this?
Best regards,
The picture is perfectionised so the player shoudn't see a miserror in the cloud, if i put the front and back in photoshop after eachother, it looks smooth.
On GS Creator preview, it looks smooth too, altho.. when AdHoc testing, i see a very thin line of 1px width which seem to border the background when wrapping.
You can see what I mean in the next screenshot:
Any idea how to solve this?
Best regards,
Goodboi Gamestudios | Monster Jumper now on the App Store
Comments
http://forums.gamesalad.com/discussion/58732/tiling-leaving-seams
Really wonder why the line is there.
Goodboi Gamestudios | Monster Jumper now on the App Store
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
The way I would do it is to have a cloud image that is a fairly large image say 1024 wide by 512 high. Then bring that on stage and you can scale it much larger than it already is as it is just some mushy soft faint clouds in the background.
With your clouds make them have transparent sides with no sharp edges.
Then recycle them as normal and make them overlap a bit so you get the effect they are always changing.
Send them back to a random position (within reason) and make them move at a random speed (within reason) and you will get an organic cloud pattern with zero tile issues.
And if the pixels are bigger with your style that could look cool too.
You would also get rid of that obvious mirror going on.
I hope this helps
Cheers, M@
I'm trying to understand you but don't understand a line you mean.
Transparant sides with no sharp edges?
Reclycing them as normal and make them overlap a bit?
Send hem back to a random position?
I'm still quite of a noob in GameSalad im afraid and don't understand what you mean..
Hope to hear from you.
Goodboi Gamestudios | Monster Jumper now on the App Store