Pages: 1
Posted on 06-19-11, 09:08 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 13/4456
Since: 06-08-11
How to import BGs

Coming soon...

Improving the BG quality

BG's are made out of 8x8 tiles, and the total tile number is limited. The editor, when importing, tries to reduce the tile number, by merging similar tiles. For example, if you have a big part of your image filled with a solid color, only ONE tile will be used to fill the whole area.
If you want to get better quality, you'll need to simplify your BG so it needs less tiles. That way, the editor cam make less changes to your BG when importing.

So, to improve the quailty, you should:

- First, enable the grid in your image editor, and set it to 8x8. That's how the BG is split into tiles.
- Avoid gradients. Especially if they fill a big part of the image. These need lots of unique tiles.
- Align vertical and horizontal objects to tile boundaries.
- Make copies of the same object exactly the same, rather than "a bit similar"
- Make copies of the same object be aligned with tiles the same way. That way the same tiles will be used for both copies. Look at NSMB's clouds in the BGs, for example.
- Make sure BG areas that are always off-screen are filled with a solid color. For example, if your level only scrolls horizontally, fill the rest of the BG with a solid color.

These tricks work if your BG is hand-drawn and you can modify it. If it's a real photograph, then making it look good will be way harder.

These are some tricks that can improve photographs:
- Choose simple photographs. Simple means that it doesn't have a lot of detail, that it has big areas filled with more or less similar colors.
- Split the photograph between the two BG layers. That way you'll have the DOUBLE tile space.
For example: Top BG: 256 transparent pixels, 256 photo pixels. Bottom BG: 256 photo pixels, 256 white pixels. Make the two BG's scroll the same speed, and it will look like they are just one. (BTW, i need to implement this trick into the editor)
Posted on 06-28-11, 06:43 pm


Karma: 3752
Posts: 10/2112
Since: 06-28-11
I NEVER considered that.
Thats probybly why I have often low quality. <_<
Posted on 06-28-11, 08:30 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 36/4456
Since: 06-08-11
lol

Now you know why It's actually hard to make good-looking BG's.
Nintendo guys made then tile-by-tile, and then making the tile map. That's why their BGs look good.

However, I think that a tile-ificator like the one I've implemented into the editor is a waaay easier way to import BGs And if you take these things into account, you can get really high quality BGs too.
Posted on 07-03-11, 06:11 pm
Panser


Karma: 382
Posts: 6/335
Since: 06-28-11
Hello I would like to import a background png SMB3 instead of just the amount of grassland gives me the error. how do I do?
Posted on 07-03-11, 06:16 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 109/4456
Since: 06-08-11
What error do you get exactly?
If you don't give more information, I can't help you
Posted on 07-03-11, 06:31 pm
Panser


Karma: 382
Posts: 7/335
Since: 06-28-11
The error is wrong size fuck you
Posted on 07-03-11, 06:36 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 111/4456
Since: 06-08-11
Oh, okay

The background image you import needs to be 512x512 pixels.
If it's not, then use an image editor to resize it, and then import it.

(BTW, i need to remove those bad words from the editor's code )
Posted on 07-03-11, 06:46 pm
Panser


Karma: 382
Posts: 8/335
Since: 06-28-11
sorry for his words but so is the error. But since I have to resize?
Posted on 07-03-11, 06:48 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 113/4456
Since: 06-08-11
Use an image editor like Photoshop, The Gimp.

...Or Paint if you want (bleh)
Posted on 07-03-11, 06:51 pm
Panser


Karma: 382
Posts: 9/335
Since: 06-28-11
to what I have to reduce?
Posted on 07-03-11, 06:54 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 9979
Posts: 114/4456
Since: 06-08-11
512 x 512

:|
Pages: 1