Theory behind 2d Game making?
Hello, i have a little bit of knowledge with JFrames (and with basic programming) but i want to know how i start making 2d Java games.. the first thing i want to make is just somthing like Pong so i can start learning... then ill make my own version of mario e.t.c.
so, my question is what i use to start making 2d Java games (what techniqes and stuff e.t.c.) as much info as possible would help...thanks!
Re: Theory behind 2d Game making?
Well the Java 2D API might help you out :)
All you need to do it check that out and you'll be on you way in no time even if you know very little about Swing, because its not really required. AWT events are needed more though for getting user inputs but its not too hard to work you. Java2D is a rather rich API for this sort of thing :)
Chris
Re: Theory behind 2d Game making?
Java2D for drawing
Swing/AWT events for user interaction
SwingTimers/Threads for animations (and how to use Threads with Swing - aka the Swing single threaded model)
elementary physics for things like game responses (such as a ball changing trajectories)
Re: Theory behind 2d Game making?
Swing/AWT for the window
OpenGL bindings for the graphics
// Json