Register - Login
Views: 95804919
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
11-19-18 04:43:53 AM

Jul - NSMB Hacking (Archive) - Tileset Editing tutorial: Creating your own blocks and more New poll - New thread - New reply
Next newer thread | Next older thread
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 260/-1288
EXP: NaN
For next: 0

Since: 07-28-09

From: Spain

Since last post: 7.0 years
Last activity: 6.0 years

Posted on 12-30-09 02:08:28 PM Link | Quote
Objects in NSMB are in tilesets.

To edit tilesets you have to open Tileset Editor in nsmb editor. You can do this from the Tools tab.

A tileset is split in several parts:

Graphics

These are the drawings that you actually see. They consist in a palette (a list of colors) and the actual graphics, which are in paletted format, which means that in each pixel, instead of having the RGB values of its color, you have a color number, that points to the palette. (dont worry about this too much).
Graphics are 8x8 tiles and have two palettes. In the original tilesets from NSMB, some objects use one, and some objects use another. For example, in grassland tileset, the walls and ground use the second palette, while the flowers and mushrooms use first palette.
To edit graphics you can do it either with the builtin graphics editor (rather limited, plus you're restricted to the colors in the actual palette, unless you change them by hand, which is a pain) and exporting the graphics to PNG, edit them with any image editor you like, and import them back.

Map16

The 8x8 tiles are grouped in 16x16 tiles. Each 16x16 tile consists in 4 8x8 tiles.
In the map16 editor, you can select a map16 tile and set each 8x8 tile in it by first selecting which one do you want to set in the 4 buttons, and clicking the tile you want to set on the graphics. Also you can flip the 8x8 tiles.

Tips and Tricks:
- Select a Map16 tile and control-click a 8x8 tile to set automatically all the 4 tiles.
- Alt-click a Map16 tile to flip it horizontally.
- Shift-click a Map16 tile to flip it vertically.
(note that you can flip 8x8 tiles individually)

Objects

(coming soon)
Dark_fusionX
Tana~
Level: 36


Posts: 48/304
EXP: 303236
For next: 4874

Since: 12-03-09

From: Wynnum, Queensland, Australia

Since last post: 7.0 years
Last activity: 5.0 years

Posted on 12-31-09 12:01:15 AM Link | Quote
thanks for this, cant wait to find out how to do those platforms!
Next newer thread | Next older thread
Jul - NSMB Hacking (Archive) - Tileset Editing tutorial: Creating your own blocks and more New poll - New thread - New reply




Rusted Logic

Acmlmboard - commit 220d144 [2018-11-04]
©2000-2018 Acmlm, Xkeeper, Inuyasha, et al.

25 database queries.
Query execution time: 0.205960 seconds
Script execution time: 0.005674 seconds
Total render time: 0.211634 seconds