Page 1 of 1
Megaman Playable [v1.01] - Ready to Rock!
Posted: Wed Jan 01, 2025 9:22 am
by Marioman2007
Heya!
This is a playable I've been working on for a while.
It all started when I wanted to overhaul the weapons for mega man, but I quickly scrapped that, and after a while, I tried to rewrite the playable but stopped due my lack of knowledge at that time.
And the third time, I decided to start from scratch and here we are.
Features:
Accurate movement - walking, jumping, sliding and climbing, and a mega man X styled boost
Customizable health system, for both the player and NPCs
A custom pause menu
A partner system (and proper rush coil and rush jet)
Costume support!
Random drops and items
Fixes for barrels, clearpipe cannons and bumper, they are not perfect but still decent enough
And a bonus feature!
Changelog:
[1.0] - Initial release.
[1.01] - Fixed pipe warps and added world map sprites.
Credits:
Script Credits:
- Marioman2007 (Most of the scripting)
- MrDoubleA (Code help, animationPal & solid color shader)
- Emral (Code help & palette swap shader)
Graphics Credits:
- Hansungkee (Directional shooting, throwing and victory frames)
- Jon Gandee (Mario costume sprites)
- SilentDream (Luma sprites)
- Tileset from the Megamix engine
Documentation:
https://docs.google.com/document/d/1yyo ... sp=sharing
Basic usage is provided in documentation given above.
Give credit if used, and report bugs if you find any!

Re: Megaman Playable [v1] - Ready to Rock!
Posted: Wed Jan 01, 2025 9:38 am
by squp
this is insane you are a hero
Re: Megaman Playable [v1] - Ready to Rock!
Posted: Wed Jan 01, 2025 9:59 am
by IAmPlayer
holy crap
Re: Megaman Playable [v1] - Ready to Rock!
Posted: Wed Jan 01, 2025 10:26 am
by Alagirez
Really awesome stuff to start 2025. Great job!
Re: Megaman Playable [v1] - Ready to Rock!
Posted: Wed Jan 01, 2025 3:08 pm
by mariobrigade2018
Wait it’s out now?! Now that sure is a surprise. Thanks for your work, this must have been an insanely long thing to work on.
Re: Megaman Playable [v1] - Ready to Rock!
Posted: Thu Jan 09, 2025 12:51 pm
by glitchprofessor
this is great stuff but theres a bug when going into pipes
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Mon Jan 13, 2025 10:18 am
by Marioman2007
Thank you everyone for the nice comments!
glitchprofessor wrote: ↑Thu Jan 09, 2025 12:51 pm
this is great stuff but theres a bug when going into pipes
..that's weird.
The warps work fine in the test level, so I created a fresh level to test again, and found the bug.
Updated the link to fix this and also added world map sprites.
Thanks for the report!
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Sun Jan 19, 2025 11:37 am
by glitchprofessor
another bug i found is when megaman slides on a plant a lua error message appears but it doesnt damage any of the lua code
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Fri Jan 24, 2025 10:47 pm
by Murphmario
glitchprofessor wrote: ↑Sun Jan 19, 2025 11:37 am
another bug i found is when megaman slides on a plant a lua error message appears but it doesnt damage any of the lua code
Something to note is that the error is only caused if the grass contains an NPC.
Another bug I found is that if an NPC passes through two or more projectiles at the same time, then the custom damage system gets completely ignored, the projectiles don't disappear, and the NPC takes regular SMBX projectile damage.
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Sun Feb 09, 2025 9:42 pm
by punkitt
my GOD youre a GENIUS
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Sun Feb 16, 2025 6:59 pm
by AlphaBlue1011
Nice! Though, how do custom weapons work?
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Sun Feb 16, 2025 9:51 pm
by Marioman2007
AlphaBlue1011 wrote: ↑Sun Feb 16, 2025 6:59 pm
Nice! Though, how do custom weapons work?
You create a lua file for the weapon (say weaponName) and an image for its icon and energy bar (weaponName-icon.png) and put those two files in the "weapons" folder.
Then you put this code in your luna.lua file to register your weapon.
Code: Select all
local mega = require("megaman/megaman")
local myWeapon = mega.addWeapon("Test Weapon", "weapons/weaponName")
You'll need to code the main functionality (shooting for example) by yourself
For the appearance, you can modify the weapon.settings table (check weapons/metalBlade.lua for example)
For more information on the weapon.settings table, press ctrl+F on the documentation and search for "mega.weaponDefaults"
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Mon Feb 17, 2025 5:49 pm
by AlphaBlue1011
for some reason, this sprite glitch happens when going onto a ladder while facing left. NOT when facing right, but when facing LEFT. Could you look into this?
Added in 1 minute 10 seconds:
Here's a gif of it happening in case you needed it:

Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Mon Feb 17, 2025 7:22 pm
by Marioman2007
AlphaBlue1011 wrote: ↑Mon Feb 17, 2025 5:50 pm
for some reason, this sprite glitch happens when going onto a ladder while facing left. NOT when facing right, but when facing LEFT. Could you look into this?
Huh, it looks like the player sprite meant to be rendered on the map is somehow being rendered in the level.
Did you use anything that could mess with the player sprites? It does not happen for me.
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Mon Feb 17, 2025 7:31 pm
by AlphaBlue1011
Marioman2007 wrote: ↑Mon Feb 17, 2025 7:22 pm
Did you use anything that could mess with the player sprites? It does not happen for me.
i used the code here.
viewtopic.php?t=29755
The values were set to 512 for the width and 448 for the height, btw.
Added in 47 seconds:
though, idk how it would affect sprites.
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Tue Feb 18, 2025 2:02 pm
by AlphaBlue1011
I think it might have something to do with the fact that i replaced the base mega man's death effect (effect-149) with a blank image, since the level i'm making uses lava, and it causes that effect to appear normally. Maybe an update could get rid of the death effect?
Re: Megaman Playable [v1.01] - Ready to Rock!
Posted: Sat Aug 02, 2025 12:40 am
by DisasterMaster
I'm getting a very strange issue. When I start a level as Mega Man, neither the "READY" nor the player appears on screen, yet the NPCs move as usual.
When I press start, I get the following error:

If I press ok (and continue on the editor test mode), READY appears and Mega Man drops down like normal, except he clips into the ground about 32 pixels. It runs fine after that...until the next level.
In editor test mode this also occurs if you start the level as another character and then select Mega Man in the start menu.