Am I VERY new to the world of Java, so plz help!

Right now, I’m in high school, and this is only my first year of learning Java in my CS class. So yeah, I don’t really know a lot on Java programming, but I want to learn!

Anyways, just for fun, I wanted to challenge myself and see if I can create a really small game. Perhaps ya’ can tell me some basics to start off or perhaps a website where they can teach me?

Another thing, I’m using BlueJ. Is it possible to create RPG’s on there? And say I drew a picture and saved it onto my computer. Can I import it to BlueJ and make it appear in Applet or Canvas?

Sorry if I’m asking too much. I’m just a noob as of now. -_-

Thanks in advance!

[quote]Another thing, I’m using BlueJ. Is it possible to create RPG’s on there?
[/quote]
bluej is an ide for java, why shouldn’t you be able to do this particular thing? o-O

anyways, google will answer most of your questions ( http://www.google.com/search?q=java+tutorial+game ) :wink:

[quote]Perhaps ya’ can tell me some basics to start off or perhaps a website where they can teach me?
[/quote]
I suggest you dont start straight from games, after you know the theory, start by making something simple (a clock for example) because you realise that there are more problems than the books show.

But anyways, after that, I have found many answers from these articles (such as how to update/draw the game, how the enemies are made etc.)
http://www.cokeandcode.com/info/tut2d.html
http://www.planetalia.com/cursos/index.jsp

[quote]And say I drew a picture and saved it onto my computer. Can I import it to BlueJ and make it appear in Applet or Canvas?
[/quote]
Why not? Graphics-class has this paintImage-method which does such things. Of course you should read theory first. Then read some more theory. And if you are like me, code some (=lots of) excersises at the same time :slight_smile:

imo, you should get to the point where you know the following before making games:

  • arrays and loops
  • timers
  • keylisteners or mouselisteners (depends what you wanna do)

and most importantly:

  • how paintComponent() and repaint() are used
  • random numbers!

If you know all that you’re ready.
After that (some of this stuff I haven’t even touched yet):

  • midi playback
  • polymorphism
  • directx/opengl
  • fullscreen mode
  • more complicated stuff…

Biggest thing to watch out for is to not use magic numbers :smiley: