News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Animating Tiles in SMB1  (Read 2625 times)

Shane M.

  • Newbie
  • *
  • Posts: 3
    • View Profile
Animating Tiles in SMB1
« on: September 17, 2014, 11:41:05 am »
I'm trying to add animation to water/lava in SMB but I need an example of how a routine like that is done. Would anyone be able to point me in the right direction?

snarfblam

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 590
  • CANT HACK METROID
    • View Profile
    • snarfblam
Re: Animating Tiles in SMB1
« Reply #1 on: September 17, 2014, 03:12:49 pm »
Do you understand, in theory, how you would even do something like that? You would either need to animate the CHR (which requires a mapper conversion or a conversion to CHR RAM) or add new tiles (good luck, there's no free space in the CHR ROM) and animate the nametable (good luck keeping track of what needs to be animated). It sounds like a simple modification, but unless I'm overlooking an easier option, SMB lacks the necessary features out of the box and as I understand it, there's very space in the ROM to add new data/code/GFX without expanding the ROM and using a mapper.

Bregalad

  • Hero Member
  • *****
  • Posts: 2650
    • View Profile
Re: Animating Tiles in SMB1
« Reply #2 on: September 17, 2014, 04:03:32 pm »
I think this would be pretty simple to do my changing the mapper to #3 for example. Just switch between 3-4 different animation frames by switching CHR ROM, and make all the banks identical exept the lava/water tiles.

Chpexo

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
.
« Reply #3 on: September 18, 2014, 03:06:10 pm »
.
« Last Edit: January 01, 2016, 10:14:35 am by Chpexo »

altoiddealer

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: Animating Tiles in SMB1
« Reply #4 on: September 22, 2014, 02:47:27 pm »
There's definitely animated tiles all over the place in Extra Mario Bros as well

Darkdata

  • Full Member
  • ***
  • Posts: 121
  • People who hurt others to feel better are idiots.
    • View Profile
Re: Animating Tiles in SMB1
« Reply #5 on: September 23, 2014, 01:24:29 am »
This is a patch that will give you animation for SMB1. It gives you 4 pages of tile and sprite graphics.

You will need to expand the rom yourself, the ordering for pages goes: [Sprite][Tile][Sprite][Tile][Sprite][Tile][Sprite][Tile]

The patch uses the code-space of where the palette animation for coins was, so you'll need to recreate that in your 4 pages of animation.

Patch Link

'daiz made this patch years ago. Heh.