Question Adding a sky background with parallax in a modded map?

joyinrespite

Newcomer
Hiya! I've been tinkering with a custom farm map for a few weeks now and learning how to use Tiled along the way (so pardon if my questions get kinda technical, haha). I want the map to have some visible sky to it, and so far I've been making it work by using DaisyNiko's panorama tilesheet on the "back" layer. However, this means that the sky is very static and flat with no parallax to it. I'm also not sure how to prevent strange capsules from spawning in the middle of the sky when doing it like this without resorting to some hackneyed layering, haha.

The most obvious-seeming solution would be to have the sky tiles on a layer behind "back" and mess around with Tiled's "parallax factor" settings, but I have no idea how to do that without completely breaking the map. Tried putting the sky on Back and having the rest of the map on Back 2, but that broke the tile properties (couldn't till the grass anymore). Not sure if that can be circumvented somehow?

I've cracked open some of the vanilla maps that have the parallax sky (summit and island north), and I'm not able to figure out how they get it to work, since the .tmx files have completely blank backgrounds, so I assume they're using some other means to reference the vanilla sky textures. Not sure if I'd be able to replicate that, with either the vanilla or modded sky textures.

Ideally, I'd love to be able to replicate the vanilla sky effect as closely as possible. I've cracked open a couple modded maps with skies, but none of them seem to have found a better solution than putting the sky tiles on the Back layer, so I fully accept that my dream may be impossible. I'm not a coder or a computer whiz, though, so I defer to the wisdom of the community u_u
 

Attachments

bansaighdear

Cowpoke
Hi there!
"Tried putting the sky on Back and having the rest of the map on Back 2, but that broke the tile properties"
Did you make a new Objects Layer for and move the existing one to "Back 2" or did you only make a new Tiles Layer?
 
Top