Language…
19 users online: Alex No,  AmperSam,  Anorakun, Big Brawler, GiraffeKiller, Green, h.carrell, Hammerer, JikissGamer, LadiesMan217, MaffYuu, Mecke1990, Metal-Yoshi94, Ray Hamilton,  Segment1Zone2,  StayAtHomeStegosaurus, steelsburg, Tulip Time Scholarship Games, Zatara - Guests: 299 - Bots: 486
Users: 64,795 (2,369 active)
Latest user: mathew

swapping mario for a different character with 16x16 sprites

I am trying to swap Mario with different sprite set (mega man x) Mega man X sprites are 16X16 and to fluidly animate movement it uses more sprite sets. How can I call this extra frames on ASM. As for now I have drawn X in smaller size and it works. animation is a bit quirky but is decent. Mario's walking animation requires 4 different sprites whereas X walking animation requires 11 sprites I could maybe cut down to 8 sprites but, is there a way to fully incorporate the complete sprite set?


It's possible, but it would be rather difficult. Mario has a very difficult-to-edit graphics routine consisting of many large, unfriendly tables (some information can be found on them here). This tool can help you set up some frames, but it's fairly limited, especially since you want to make 16x16 animations instead of Mario's normal 16x32.

If you can actually figure out how to set up those tables (or bypass them altogether by editing his actual GFX routine starting at $00E2BD), you still also have to handle the animation codes themselves. You can find them by searching the ROM for modifications to $13E0, which stores Mario's pose at any time, and then decoding how it's stored to from there. In particular to your question, the number of walking frames Mario has in each powerup is located in a table at $00DC78. However, adding more frames there means you need to shift the rest of the poses over too, unless you redirect them to a different set of values altogether...


...Point is, I wouldn't recommend it unless you're really dedicated to getting this to work. A graphical remapping like that is fairly difficult to do, especially if you're not well-versed in ASM, so I'd recommend just trying to fit your animations into the frames Mario has, if possible.

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
Thanks Thomas,

You knew exactly what I was going for. I will see if it can be done and even thou I am not familiar with ASM you have given me exactly what I was looking for. I will give it a try if not then I will just keep the poses but use different stripes. One more thing. How can I include images on my post?


You can add an image with the [img] tag. Just use it like this:

Code
[img]www.website.url/image.png[/img]


If you need a good place to upload images, imgur is a pretty easy host. Note that you need the image's address, however, not the webpage's. To get that, right click the image after uploading and choose "copy image address". The URL should end with .png/.jpg/.gif/etc. if you have it right.

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer