So, how would i make a basic game like this: a 100x100 pixel square with a black dot in the center, that can be moved left/right/up/down with the arrow keys? I think I know one way to do it but I would like to get your guys's feedback! Thanks!
Please take a look at your private messages for an important administrative issue.
Why don't you tell us about the one way that you already know?
Joined: Nov 21, 2011
Well I know a very limited amount about making a class that extends JComponent, and then inserting a paint method and painting individual shapes to the JComponent, and then adding the JComponent to a JFrame, and just adding keylisteners to get user input, but I would really like to see a simple example, because I just feel like my way is more tedious than it should be. And I think the other issue is all cleared up now, thanks