r/java • u/rubyantix • Sep 14 '16
Super Mario Source Code in Java
https://annot.io/github.com/BrentAureli/SuperMario/blob/master/core/src/com/brentaureli/mariobros/Sprites/Mario.java6
u/firsthour Sep 14 '16
Wow, this guy has a pretty good Youtube tutorial accompanying this code, very cool, been wanting to get into Libgdx for a while now, just so busy.
14
5
2
1
1
u/rocker895 Sep 14 '16
Dumb question: So if I have a java compiler (or JRE, not sure about the terminology), can I play Mario with this? Or is some key piece missing?
3
u/shaidoclan Sep 14 '16
I believe you need a JDK and set the path/environment variables along with the JRE.
-2
Sep 15 '16
This is ugly code. Would never get through code review, and would probably be flagged in build.
0
Sep 15 '16
[deleted]
1
Sep 15 '16
By any review process.
Multiple oss projects, and enterprise projects. I try to always write good code even if it's proof of concept. You never know when someone will see it or use it
23
u/okmkz Sep 14 '16
No unsigned byte, 0/255