Page 1 of 1
[SOLVED] The backgrounds I edit are... broken?
Posted: Wed Mar 19, 2025 11:43 am
by ToadZ
Hello! I am currently working on a Game Boy style (visually) episode. The problem is, that some of the backgrounds are weird, probably because of the paralax. Can somebody tell me, how I can fix this issue?
EDIT: How to solve the issue: find the background's config file in SMBX2/data/config/backgrounds and paste a copy into the Episode folder, then edit that copy.
Re: [HELP] The backgrounds I edit are... broken?
Posted: Wed Mar 19, 2025 12:39 pm
by raulhedgebomber
how is the size of the background2?
Re: [HELP] The backgrounds I edit are... broken?
Posted: Wed Mar 19, 2025 12:52 pm
by ToadZ
raulhedgebomber wrote: ↑Wed Mar 19, 2025 12:39 pm
how is the size of the background2?
It's one from the graphics folder in SMBX2. One screen wide and high, no changes to height. I simply repainted them.
Re: [HELP] The backgrounds I edit are... broken?
Posted: Wed Mar 19, 2025 1:33 pm
by raulhedgebomber
What is the ID of that background?
Re: [HELP] The backgrounds I edit are... broken?
Posted: Wed Mar 19, 2025 2:12 pm
by mariobrigade2018
ToadZ wrote: ↑Wed Mar 19, 2025 11:43 am
wait, is that widescreen?
Re: [HELP] The backgrounds I edit are... broken?
Posted: Wed Mar 19, 2025 2:33 pm
by ToadZ
raulhedgebomber wrote: ↑Wed Mar 19, 2025 1:33 pm
What is the ID of that background?
background2-62, background2-69 and background2-69e
Re: [HELP] The backgrounds I edit are... broken?
Posted: Wed Mar 19, 2025 2:59 pm
by raulhedgebomber
Now I see and understand. It looks like you used a parallax background. I'm new to this, but usually, if I use static backgrounds, I use backgrounds that don't use parallax. I suggest you change the ID and set your background to background2-6.
Added in 58 seconds:
raulhedgebomber wrote: ↑Wed Mar 19, 2025 2:59 pm
Now I see and understand. It looks like you used a parallax background. I'm new to this, but usually, if I use static backgrounds, I use backgrounds that don't use parallax. I suggest you change the ID and set your background to background2-6.
Once you've done this, send me a screenshot to see the result.
Added in 34 minutes 37 seconds:
mariobrigade2018 wrote: ↑Wed Mar 19, 2025 2:12 pm
ToadZ wrote: ↑Wed Mar 19, 2025 11:43 am
wait, is that widescreen?
Evidently yes, I checked the files and it's using a parallax background. I don't know much about background 2.0 programming, but I do know what backgrounds I should use.
Re: [HELP] The backgrounds I edit are... broken?
Posted: Wed Mar 19, 2025 10:10 pm
by ToadZ
raulhedgebomber wrote: ↑Wed Mar 19, 2025 3:35 pm
Now I see and understand. It looks like you used a parallax background. I'm new to this, but usually, if I use static backgrounds, I use backgrounds that don't use parallax. I suggest you change the ID and set your background to background2-6.
Added in 58 seconds:
raulhedgebomber wrote: ↑Wed Mar 19, 2025 2:59 pm
Now I see and understand. It looks like you used a parallax background. I'm new to this, but usually, if I use static backgrounds, I use backgrounds that don't use parallax. I suggest you change the ID and set your background to background2-6.
Once you've done this, send me a screenshot to see the result.
Added in 34 minutes 37 seconds:
mariobrigade2018 wrote: ↑Wed Mar 19, 2025 2:12 pm
ToadZ wrote: ↑Wed Mar 19, 2025 11:43 am
wait, is that widescreen?
Evidently yes, I checked the files and it's using a parallax background. I don't know much about background 2.0 programming, but I do know what backgrounds I should use.
It's broken on other backgrounds. Because of the scalable ceiling, it causes it to wrap weirdly.
Re: [HELP] The backgrounds I edit are... broken?
Posted: Thu Mar 20, 2025 2:41 am
by KBM-Quine
you're missing the fill-color config. it makes any area that the background image doesn't cover that color. most basegame backgrounds' configs (located in <X2 install>/data/configs/background) have fill-color set to the color that takes up the most space. if you don't feel like going to look at the basegame configs, it is formated like so: fill-color=#rrggbb. put it at the top of the file.
Re: [HELP] The backgrounds I edit are... broken?
Posted: Thu Mar 20, 2025 3:05 am
by ToadZ
KBM-Quine wrote: ↑Thu Mar 20, 2025 2:41 am
you're missing the fill-color config. it makes any area that the background image doesn't cover that color. most basegame backgrounds' configs (located in <X2 install>/data/configs/background) have fill-color set to the color that takes up the most space. if you don't feel like going to look at the basegame configs, it is formated like so: fill-color=#rrggbb. put it at the top of the file.
My sibling in Christ, I thank thee for this valuable information. It works perfectly now!