• Advertisement
Sign in to follow this  

Beginner Java Question

This topic is 2135 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Im new on programming, and i really want to program games, im learning java but i wanna know how much of this language i need to know to start game programming? Or should i start learning right directly from game development?

Share this post


Link to post
Share on other sites
Advertisement
It really depends how comfortable you feel with the language, just learn the core stuff first, once you feel like you can control the language fairly well you can get started with game development, I recommend you use JOGL or LWJGL for graphics. Anything you don't know can be learned along the way.

Share this post


Link to post
Share on other sites
Its not really a matter of the language: a simple game can be done with basic language features, without (necessarily) involving advanced stuff. What you need, though, is to choose and implement data structures and algorithms, and this is not much related with Java.

If you have still to implement a simple (and yet complete) application, then I would suggest to start with that, so you can familiarize with the problems you are going to face.

Share this post


Link to post
Share on other sites

Its not really a matter of the language: a simple game can be done with basic language features, without (necessarily) involving advanced stuff. What you need, though, is to choose and implement data structures and algorithms, and this is not much related with Java.

If you have still to implement a simple (and yet complete) application, then I would suggest to start with that, so you can familiarize with the problems you are going to face.

I agree. I was just reading "Coders at Work" that interviews some of the best programmers of our time and one common theme I noticed that a lot of them said that before they even start to code they figured out what data structures they needed and everything else fell into place after that.

Share this post


Link to post
Share on other sites
Here,
http://math.hws.edu/javanotes/index.html
Go through that online text book, paying careful attention to Chapters 6, 12 and 13.
I'm assuming that you know the basics of Java. If not, best start from the beginning and do all of it.
It's a pretty good resource.
After that go here:
http://lazyfoo.net/articles/article01/index.php
His grammar is a little off, but the advice he gives is sound. I'm still following his progression
I suggest making a text based tic tac toe game, with methods (this is important) and then after you understand how to make a GUI
in Java, transfer it over to a GUI of some sort.
That should teach you the basics of game programming.
I made snake, and Pong after that.

Hope this helps,
Peter

"Other than that I have no opinion"

Share this post


Link to post
Share on other sites

Here,
http://math.hws.edu/...otes/index.html
Go through that online text book, paying careful attention to Chapters 6, 12 and 13.
I'm assuming that you know the basics of Java. If not, best start from the beginning and do all of it.
It's a pretty good resource.

Wow that's a pretty good intro to Java from what I could see. Surprised I haven't heard of it before. Will add it to my list of recommendations it to anyone new to Java since it's also free!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement