Page 1 of 1
Why parallaxing backgrounds didn't work?
Posted: Fri Jun 25, 2021 5:38 pm
by Twisted4932
I did a parallaxing smb3 castle background with two layers and the txt. configuration but it don't work when I test the level.
Re: Why parallaxing backgrounds didn't work?
Posted: Fri Jun 25, 2021 8:53 pm
by Hoeloe
Hard to tell what's going on with literally no information. Share the .txt file. Show which background ID you're using in the editor. Show us what happens, and explain what you expected to see.
Without this it's basically impossible to tell what you've done wrong.
Re: Why parallaxing backgrounds didn't work?
Posted: Sat Jun 26, 2021 12:12 pm
by Twisted4932
This is the txt. file of background-4(smb3 fortress)
[General]
fill-color=0x000000
[Layer1]
name="pillars1"
depth=100
alignX=LEFT
alingY=BOTTOM
img="prlx_pillars1.png"
fitY=true
repeatX=true
[Layer2]
name="pillars2"
depth=200
alignX=LEFT
alingY=BOTTOM
img="prlx_pillars2.png"
fitY=true
repeatX=true
I expected the vanilla smb3 parallaxing fortress as the original game. But when I test nothing happens. Just the normal background.
Re: Why parallaxing backgrounds didn't work?
Posted: Sun Jun 27, 2021 2:21 pm
by Hoeloe
Weirdgoomba4932 wrote: ↑Sat Jun 26, 2021 12:12 pm
This is the txt. file of background-4(smb3 fortress)
Background 4 is not SMB3 fortress, that's Background 3. Be sure to match up the number listed in the editor, not the number on the graphics.
Re: Why parallaxing backgrounds didn't work?
Posted: Sun Jun 27, 2021 6:44 pm
by Twisted4932
I changed the number of the txt code and now the background works!
Added in 7 minutes 58 seconds:
Thanks Hoeloe, I thought parallaxing background works with the background file number, not the editor number
