Mario

Show off your games, demos and other (playable) creations.
Maurice
Prole
Posts: 23
Joined: Mon Jul 19, 2010 11:41 am

Mario

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Mario

Post by bartbes »

The controls feel a bit laggy, and eating the shrooms doesn't make you grow, but otherwise it's great!
User avatar
Tesselode
Party member
Posts: 555
Joined: Fri Jul 23, 2010 7:55 pm

Re: Mario

Post 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?
EMB
Citizen
Posts: 70
Joined: Sat Jan 08, 2011 8:49 pm

Re: Mario

Post by EMB »

Pressing Right-Control crashes it, why?
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Mario

Post by Robin »

EMB wrote:Pressing Right-Control crashes it, why?
It doesn't for me.
Help us help you: attach a .love.
User avatar
EmmanuelOga
Citizen
Posts: 56
Joined: Thu Apr 22, 2010 9:42 pm
Location: Buenos Aires, Argentina
Contact:

Re: Mario

Post 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. ^^
--------------------------------------------------------------------------------------------------------
http://EmmanuelOga.com
Gnx
Prole
Posts: 40
Joined: Sun Nov 09, 2008 6:38 am

Re: Mario

Post by Gnx »

Nice stuff, I especially like how you seem to have nailed the jumping physics, because thats where these things usually fail.
EMB
Citizen
Posts: 70
Joined: Sat Jan 08, 2011 8:49 pm

Re: Mario

Post 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?
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
Maurice
Prole
Posts: 23
Joined: Mon Jul 19, 2010 11:41 am

Re: Mario

Post 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
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Mario

Post 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.
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 7 guests