Pages: 1
Posted on 07-18-14, 12:11 pm (rev. 2 by Wesley on 04-04-15, 10:32 am)
Inactive, don't bother

Karma: 1285
Posts: 290/377
Since: 10-07-12


A few people asked me how i made a working imported scrolling peach castle Background.
So i will show you how i did that in the following 3 steps.

Step 1
The first thing what you do is to export an background that has no animation to your computer. for an example (TOP 0:Grasland (hills and clouds).

Step 2
Import the background that you exported at step one from your computer into the TOP 8:Grasland(Peach Castle) background with the "Import button".

Step 3
Import an Background like this one into NSMB with the "Import PNG button".


Keep in mind when importing a background into the peach castle slot that you know about that between the red border lines the background repeats there all the time.


To calculate where the border line exactly is you can use the following formula, BG= 512 - 256 = the scrolling area width.
512 indicates the full width of the image.
256 is the width of the left part of the image that isn't repeating.
And that results into a width of 256 pixels at the right side of the scrolling side of the image.
__________________________________________________________________________________________________________________________________
I hope that this tutorial helped you people a lot.
If you got any questions about this subject feel free and ask me.
~Wesley

New Super Holiday Bros - Mario Kart GTA San Andreas
Posted on 08-08-14, 06:52 am


Karma: 11
Posts: 8/11
Since: 07-13-14
This is cool and helpful, thanks.
Posted on 08-08-14, 09:11 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 1/4456
Since: 06-08-11
Posted by wesley

To calculate where the border line exactly is you can use the following formula, BG= 512-263= scrolling area width
512 indicated the full width of the image
263 is the width of the part of the image that isn't repeating.
And that results into a width of 249 pixels at the right side of the scrolling side of the image


No. It's 256 pixels, which is exactly half of the background width.

But yea, nice tutorial
Posted on 08-08-14, 12:08 pm
この記号は… 解読できないよ…


Karma: 6012
Posts: 988/2723
Since: 01-17-13
Oh yeah, I knew about the BG scrolling, it was obvious.


Cool tutorial. Pretty useful for new hackers having troubles with this background.
Pages: 1