Take a Peek: Null Op Source Code
People have been asking for the source code for Null Op so I thought I’d give them what they want! I’m releasing the current source code for the game under the MIT license which means you can do pretty much whatever you want with it. It comes with all the necessary libraries and a simple build file to do all the essential things such as run the game and create a webstart.
I hope you find it useful. Be aware that the source for some of the libraries isn’t available (specifically the resourceful library) so please feel free to use a decompiler to take a peek if you’ve just got to know what you’re missing. Anyway, as always let me know what you think in the comments, and if you do find the source code useful consider linking back to this page so others can find it!
Related posts:
Hello, my name is Alex Schearer. I grew up in New York and currently live in Seattle. 
when shade is completed, why not go back and improve null op? :D
i’ve already appreciated your work: good code organization, but not enough comments :( documentation, in particular when you invoke a library, could really be important into source code, no?
note: your next game? a platform? :D
Thanks Gornova. I may come back to Null Op sometime in the future, I’m not sure right now. I’m also glad you’ve found my work useful. I’d love to leave more comments, etc, but unfortunately they always seem to be left out in favor of writing more code. That said I try to write simple methods which explain themselves.
My next game? Who knows!
… Also I realized I had forgotten to upload the source to the server, consider that fixed.
hey! i really like the way you handle all the resource stuff. It keeps the class files clean and you do not have to change (much) source code when adding new themes or editing existing ones. But it makes the code harder to read / understand if you’re not familiar with the resourceful package (had to go through all the resourceful classes before i actually understand what you were doing – but that was quite educating, too).
Hey Kev thanks I appreciate it. The resourceful package is actually an interesting experiment. It’s sort of a pain to actually use which is why I don’t want to publish it officially but it does nicely separate out the data from the code. It let me do some cool things, too, such as re-use the StoreItem class for all four store items. Really being data driven is a great thing to aim for.
And sorry, Kev, that I didn’t provide any explanation for how all that works. For everyone else it is as follows:
Hope that helps people understand what’s going on. Thanks for all the feedback!
I’m glad you released the code this “open source” game of yours. I was just about to get Richard Stallman to come knock down your door!