Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Beginner Java Question

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
5 replies to this topic

#1 Seephirot   Members   

110
Like
0Likes
Like

Posted 14 March 2012 - 09:45 AM

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?

#2 ic0de   Members   

974
Like
0Likes
Like

Posted 14 March 2012 - 12:19 PM

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.
Currently working on new DOS game, Chuck Jones: Space Cop of the Future, Check out my Dev Blog
 

you know you program too much when you start ending sentences with semicolons;


#3 cignox1   Members   

735
Like
0Likes
Like

Posted 16 March 2012 - 01:21 AM

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.

#4 daviangel   Members   

604
Like
0Likes
Like

Posted 16 March 2012 - 07:23 PM

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.
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

#5 destructivArts   Members   

205
Like
1Likes
Like

Posted 20 March 2012 - 04:45 PM

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

#6 daviangel   Members   

604
Like
0Likes
Like

Posted 21 March 2012 - 12:15 AM

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!
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




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.