Page 1 of 2

Mario

Posted: Fri Mar 18, 2011 4:44 pm
by Maurice
It's Mario. Super Mario Bros. In Lua. With Multiplayer.
Something I've been working on (or more like not working on) for far too long (2 months?)

Image

http://stabyourself.net/marioR14.love

Basically I decided to rewrite Mario so I can change stuff.
The main goal in the rewriting was to come as close to the original as possible. I think it's even better than "Super Mario Crossover".
Then, I first tried to find an artist to make "HD" versions of the sprites but nobody likes me so I am doing multiplayer (like new super mario bros) instead.

Still need to add a lot of things like enemies and the levels beyond 1-2 are all only generated, so they're enemy-free and pretty boring in general.
If something is missing, it's likely because it's still missing. Yes I know the mushroom doesn't make you grow. (#1 thing pointed out by classmates)

Standard controls are arrow keys, X for jump and C for run.
You can change the controls in main.lua line 218. You can even use joysticks.

Other fun things you might do:
  • Turn on "autosize" (l. 33) to see the game struggling to look good on your resolution
  • Change "scale" (l. 26) to something ridiculously small
  • Change "width" (l. 29) to something ridiculously big
  • Control more than 1 player at the same time!
  • Change "players" (l. 24) to something really high (And don't navigate in the menu because that will reset it)
  • Play with a friend!
Fun buttons you might press:
  • 0-9: Go through the sublevels in each level.
  • E: Turn on/off editor mode.
  • Mouse: While in Editor mode Rightclick to open/close palette, leftclick to place a block and middle click to select the block your mouse is over.
  • K: Save the level!
  • N: Jump to next level (you cheat)
  • S: Turn off sound! Except the music because I'm lazy.
I added the multiplayer 2 days ago. It's all still pretty buggy and not well designed.
I am planning on internet multiplayer too. I have no real experience with networking though but I'll see.
That's it I guess. Enjoy.

Re: Mario

Posted: Fri Mar 18, 2011 5:49 pm
by bartbes
The controls feel a bit laggy, and eating the shrooms doesn't make you grow, but otherwise it's great!

Re: Mario

Posted: Fri Mar 18, 2011 8:52 pm
by Tesselode
I'm going to assume you know about everything that's missing, but the engine feels pretty much perfect to me! Nice job.

Are you going to remake all of the levels?

Re: Mario

Posted: Fri Mar 18, 2011 9:00 pm
by EMB
Pressing Right-Control crashes it, why?

Re: Mario

Posted: Fri Mar 18, 2011 9:30 pm
by Robin
EMB wrote:Pressing Right-Control crashes it, why?
It doesn't for me.

Re: Mario

Posted: Fri Mar 18, 2011 10:01 pm
by EmmanuelOga
Wow, very accurate remake, excluding the missing features. For a minute I felt like I was the first person playing the game before it got finished and unleashed to the world. ^^

Re: Mario

Posted: Sat Mar 19, 2011 5:01 am
by Gnx
Nice stuff, I especially like how you seem to have nailed the jumping physics, because thats where these things usually fail.

Re: Mario

Posted: Sat Mar 19, 2011 8:46 am
by EMB
Robin wrote:
EMB wrote:Pressing Right-Control crashes it, why?
It doesn't for me.

Code: Select all

Error: [string "game.lua"]:1231: attempt to index global 'debug' (a nil value)
stack traceback:
	[string "game.lua"]:1231: in function 'game_keypressed'
	[string "main.lua"]:284: in function 'keypressed'
	[string "boot.lua"]:156: in function '?'
	[string "boot.lua"]:348: in function <[string "boot.lua"]:319>
	[C]: in function 'xpcall'
That be my error, could it just be me?

Re: Mario

Posted: Sat Mar 19, 2011 9:50 am
by Maurice
EMB wrote:Pressing Right-Control crashes it, why?
rctrl turns on lua debug or whatever. Don't know why it would crash for you.
Line 1230 in game.lua

Re: Mario

Posted: Sat Mar 19, 2011 10:06 am
by bartbes
EMB wrote:
Robin wrote:
EMB wrote:Pressing Right-Control crashes it, why?
It doesn't for me.
[...]
That be my error, could it just be me?
You don't happen to be running SELÖVE, by any chance?
Anyway, I quickly figured out it was the debug console too, before I knew that X and C were the controls.