Looking for OS Code describing tutorials

Hi all,
I’m at a point now where I feel I am not really picking up anything new while watching java tutorials but I’m also still feeling quite overwhelmed when reading through some open source code (especially mojangs) from ludum dare for example. I was wondering if anyone knew of any tutorial series that took os java games and instead of recreating the code they simply went through how the code works.

I would definitely not recommend looking through Notch’s/Mojang’s ludum dare code…it’s terribly complex and non “proper” for beginners.

Have you seen thenewboston’s Youtube videos?

Also, what is OS code? :stuck_out_tongue:

Open Source is my guess.

Is there any specific aspect you are hoping to learn about? A particular need or goal at this stage?

Did you check all the tutorials cited in the Java Gaming Resources link (just under the logo)?

princec’s “Revenge of the Titans” might be a good read for you. And he even has a thread here where he answers questions.


(Is that the longest string of “appreciation badges” on any single post?)

I found the code pretty readable, and learned a few things while looking at his sound implementation. I didn’t read the whole game–my main reason was to handle a sound problem I had at the time. But I remember it looked very interesting.

Oh, a fellow named Harbour wrote a book on Java games where he implements a version of Asteroids. So, it is mostly just a game and explanation. As the chapters progress, he adds more features/complexity to the game. I don’t generally recommend it as a way to learn Java, as it was a bit over my head when I was just beginning. I could probably handle it now, okay. (I’m about 2 or 3 years in.) Maybe I should try reading it again.

http://www.amazon.com/Beginning-Java-Programming-Second-Edition/dp/1598634763

Mojang’s code were created by experienced devs. Sometimes creatures like them have their own pattern and mindset which could be different and radical. Really bad for learning since by learn, it means you’ll follow it.

LD’s code were created in factor of speed. We use all dirty ways to make it works within 48 hours. No one. NO ONE can say static/singleton is bad when it comes to LD. No one. We’re making game there, not following pattern/culture.

Thanks for the help guys. Revenge of the Titans seems to be about perfect for my level and will keep me very busy :slight_smile:

If you look for open source free person shooters, maybe these one will be interesting for you:

  • Tesseract
  • Flesh Snatcher
  • Wolkenstein
  • jogl-shooter
  • TUER (mine)