+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Changing Brick blocks color and gfx in SMB
Pages: [1]
Author Topic: Changing Brick blocks color and gfx in SMB  (Read 2 times)
FireStar
Guest
« on: January 12, 2008, 03:05:50 pm »

I'm trying to change brick blocks in SMB to look like spin blocks, but I've come across a few problems.
1.Obviously, I need to change the colors of brick blocks, but I don't know how.
2. How do I actually get the graphics for spin blocks to work?
When they're put in they look funny,(I know why)
And I can't find any way to get them right.
Dr. Floppy
Guest
« Reply #1 on: January 12, 2008, 04:55:30 pm »

What exactly do you mean by "spin" blocks?

The blocks in SMB1 aren't animated; doing so would take some 1337 ASM skillz. As for changing their color and/or appearance, that's quite easy. (DataCrystal should have everything you need to find the relevant palettes.)
FireStar
Guest
« Reply #2 on: January 13, 2008, 08:22:28 am »

I just mean that I want the brick blocks to look like spin blocks, they'll still act like brick blocks.
The only problem I having is with the gfx. There are only 2 spots for the gfx, and I don't know how to place them.
I'll post pictures in a minute to explain.
Edit: The spin blocks are like the ones in this video: http://www.youtube.com/watch?v=sEtSn7JXs1s&sdig=1
« Last Edit: January 13, 2008, 08:31:56 am by FireStar »
Dr. Floppy
Guest
« Reply #3 on: January 13, 2008, 02:52:02 pm »

Quote from: FireStar on January 13, 2008, 08:22:28 am
There are only 2 spots for the gfx, and I don't know how to place them.
I'll post pictures in a minute to explain.


Ah, the squinty-eyed blocks from Super Mario World. Natch.

SMB1 is notoriously tight on programming space; most of the graphics are "mirrored", and the brickblocks are no exception. The good news is that replacing these objects (with asymmetrical replacements, if you like) isn't difficult. In your case, the "spin-blocks" *are* symmetrical, so it's just a matter of re-designing the tiles.
FireStar
Guest
« Reply #4 on: January 16, 2008, 05:32:52 pm »

What do you mean by re-designing the tiles?
frantik
Guest
« Reply #5 on: January 16, 2008, 05:55:15 pm »

the things you would like to do are basic skills and are not SMB specific.  I recommend you check out tutorials on palette editing and tile editing/TSA editing.  :thumbsup:

and Dr Floppy none of the background tile elements are mirrored.. the only objects using mirrored tiles  in SMB are sprites Smiley
« Last Edit: January 16, 2008, 09:01:15 pm by frantik »
Dr. Floppy
Guest
« Reply #6 on: January 17, 2008, 12:07:21 am »

Quote from: frantik on January 16, 2008, 05:55:15 pm
the things you would like to do are basic skills and are not SMB specific.  I recommend you check out tutorials on palette editing and tile editing/TSA editing.  :thumbsup:

and Dr Floppy none of the background tile elements are mirrored.. the only objects using mirrored tiles  in SMB are sprites Smiley


There I go again, dotting my T's and crossing my I's. My blood-aspartame level must be low...  :huh:

(He *was* talking about those brown square things you smash with your head, right?)
frantik
Guest
« Reply #7 on: January 17, 2008, 03:57:05 am »

i think he's talking about the yellow blocks with the eyes on them which spin when you hit them from below in SMW

When you hit a brick in SMB the bumped brick sprite isn't mirrored, but if you hit a question block the empty block graphic is mirrored (actually it's the same sprite for all 4 tiles just mirrored every way)
Dr. Floppy
Guest
« Reply #8 on: January 17, 2008, 01:00:05 pm »

Quote from: frantik on January 17, 2008, 03:57:05 am
i think he's talking about the yellow blocks with the eyes on them which spin when you hit them from below in SMW

When you hit a brick in SMB the bumped brick sprite isn't mirrored, but if you hit a question block the empty block graphic is mirrored (actually it's the same sprite for all 4 tiles just mirrored every way)

What's with the Underground/Dungeon bumped bricks? Apparently, they aren't the same as their overworld counterparts... 
frantik
Guest
« Reply #9 on: January 17, 2008, 01:55:47 pm »

Underground bricks don't have lines on their tops...
Dr. Floppy
Guest
« Reply #10 on: January 18, 2008, 02:01:37 pm »

Quote from: frantik on January 17, 2008, 01:55:47 pm
Underground bricks don't have lines on their tops...

That explains why, when you replace their overworld counterparts, the underground bricks retain their lower two tiles. This is one of about three things I never got around to ameliorating in Super Catholic Bros.

For the original poster: DataCrystal should have the ROM locations of the relevant palettes you're looking for. Note that $28 is about as close to "yellow" as the NES gets. (Think overworld "safety" pathways in Zelda II.)
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC