Beginner Java Question

Started by
4 comments, last by daviangel 12 years, 1 month ago
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?
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.
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.

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.
[size="2"]Don't talk about writing games, don't write design docs, don't spend your time on web boards. Sit in your house write 20 games when you complete them you will either want to do it the rest of your life or not * Andre Lamothe
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"
-------------------------------------
"Other than that, I have no opinion."
My Blog - Check it Out

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!
[size="2"]Don't talk about writing games, don't write design docs, don't spend your time on web boards. Sit in your house write 20 games when you complete them you will either want to do it the rest of your life or not * Andre Lamothe

This topic is closed to new replies.

Advertisement