r/programming • • Sep 13 '16

Super Mario source code in java by Brent Aureli. (Today marks 31st anniversary of Super Mario Bros. the first Super Mario ever)

https://annot.io/github.com/BrentAureli/SuperMario/blob/master/core/src/com/brentaureli/mariobros/Sprites/Mario.java
901 Upvotes

103 comments sorted by

View all comments

Show parent comments

-4

u/argv_minus_one Sep 14 '16

Then you have no idea how the physics actually are in this game, so you are not qualified to criticize it on not being close enough to the original.

3

u/salgat Sep 14 '16

It's implemented using Box2D... look at the source code. Hell, I wrote my own platformer with my wife that also uses Box2D lol. Comon dude, you know better than that.

0

u/argv_minus_one Sep 14 '16

It's implemented using Box2D.

This, by itself, proves nothing relevant.

I wrote my own platformer with my wife that also uses Box2D

Good for you, but that also proves nothing relevant.

Using a physics library does not prove that the game's physics are substantially different from the original, nor that there is no way to bring them into line with the original. It's math, not magic.

3

u/salgat Sep 14 '16

Now I know you completely missed my point, which is that he used a library instead of actually showing how the game was actually implemented in source, including physics.

0

u/argv_minus_one Sep 14 '16

The original game already shows that. That is not the purpose of this project. The purpose of this project is to remake SMB in Java.

3

u/salgat Sep 14 '16

Which I said is fine, I was just wishing he covered the most interesting and difficult part of making mario.