Hi! I'm new to the whole "Game Programming" scene here.
Well, here's the thing.
I've already made one game. It works just fine, but the code is sloppy as anything... it's pretty much all written in one class. For my next game, still very simple, I wanted to separate the common game items (the player, enemy, powerups, bullets, etc) into different classes, as a lot of games do.
My main question is: How can I paint each of the class's sprites into one JPanel?
Also, should there be one central class where all the collisions are computed?
I know that's absolute "Bare Basics" of OOP Game Programming, but I just need some help getting started.
Thanks in advance for your help