Hi, I’m currently rewriting the game engine of a Space Invaders game I found from a tutorial (coincidentally, I’ve seen the author of the original code around here). I work on this during my spare time and primarily learn java through the tutorials, sample code, decompiled code, etc., and I think I’ve reached a point where I need feedback from others.
The project can be found here https://github.com/pelep/SpaceInvaders and the original tutorial code can be found here http://www.cokeandcode.com/info/tut2d.html. I know I’ve probably made it overly complicated for a Space Invaders game, but my goal here is to experiment with writing a 2d game engine and figure out what I can do with java only (no libraries). Eventually, if I think I’ve reached my limit or get bored, I’ll move on to using libraries, reuse the engine, and tailor it for a different game.
I made this thread in case someone would be kind enough to browse through my code and give suggestions/tips, but I have more specific questions and I’ve made threads for them which I’ll link to below. To keep things organized, I’ll probably update this thread in case I have more questions. Anyway, I’ve arranged them in order of importance. If you prefer to answer those anyone decides to comment on a topic, please answer there not here. Although if anyone wants to give general feedback on the code (engine structure, readability, field/method naming, etc.), I’d really appreciate it and you can comment here.
Thank you in advance!