r/java • • 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.java
191 Upvotes

15 comments sorted by

View all comments

23

u/okmkz Sep 14 '16

No unsigned byte, 0/255

2

u/firsthour Sep 14 '16

Kinda confused, feel like I'm missing out on something here. How is that relevant to the source code or libgdx? Is it that signed primitives aren't as useful for game development as unsigned?

3

u/shouldvebeenworkin Sep 14 '16

Having unsigned makes a lot of things nicer. Like color, simple stats, etc.