Oh geez, those characters are REALLY impressive.
I do have a suggestion for improving MegaMan though, rather than using a menu to swap weapons you should just press select to cycle through them, because I don't think it would be possible to get a custom pause menu that has no bugs and it would get really annoying in multiplayer if the other player keeps pausing to change weapons. I guess the menu could still be there, just somewhere not covering up as much of the screen because it might cover the action.
Also, if it's possible to force both players into the same character I got an idea of how multiplayer could work;
First of all, it would need a new variable, say we're using Wario, it would be warioPlayer, for example.
warioPlayer would store what player is currently using Wario, it would be set to nil(If that is even how it works?), player(Again, not sure this would work right.) or player2.
At the start of his code instead of checking what character the player is using it would check that warioPlayer is NOT nil, and then force the player to be the correct character (In this case, Mario) if they aren't already.
After that, making the character work would be easy, instead of saying "player.x=player.x+5" you would say "warioPlayer.x=warioPlayer.x+5" because warioPlayer will always be either player or player2 at the time this code executes.
Also, doing the HUD would be pretty easy, all you would need to do is like this:
Code: Select all
if not warioPlayer == nil then
if warioPlayer == player then
if player2 == nil then
--Single player code
else -- I don't know how elses work in lua so this is probably wrong
--Multiplayer code for player 1's HUD
end
end
if warioPlayer == player2 then
--Multiplayer code for player 2's HUD
end
end
Remember that is just an example and probably won't actually work properly.
Welp, now I just gotta wait for the beta to be released.