LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 06-03-2008, 11:34 PM   #1
AustinMarton
Member
 
Registered: May 2007
Location: New Zealand
Distribution: Fedora at home, Ubuntu 10.04 at work
Posts: 88

Rep: Reputation: 16
How do I learn to start Game Programming In Java (Or any language)


Hi there,

I have a reasonable level of programming experience, mainly in Java through a 200 level University course. But we have only ever designed things like sorting algorithms and data structures.

I would love to start to learn game programming, just to make some basic 2D and maybe somedy 3D games remeniscent of my childhood Amiga games. I really don't know how to move from programming concepts to moving graphics and accepting key inputs. Can anyone please tell me what I need to start researching/reading up about? Point me in the direction of some tutorials? I would be using Eclipse on Linux.

I have been reading around 'http://wiki.gamedev.net' but it doesn't say how to get from "Hello World" type things to actual games.

I would happily learn another language if it is going to be more beneficial.

Thanks,
Austin.
 
Old 06-03-2008, 11:44 PM   #2
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,695
Blog Entries: 5

Rep: Reputation: 237Reputation: 237Reputation: 237
try this. If you know Python
 
Old 06-03-2008, 11:47 PM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 49
Hmmm ... that's a tough one.

For 2D stuff, you can do anything from using X widgets (or better still GTK2 widgets for portability) to generating html pages for rendering (see the project "nowhere else and beyond").

If you do it in Java, it will be portable - you just have to learn enough Java to be able to render your images before you start.

Also, look through source of various free and open source games from side-scrolling shooters to cell-based RPGs.

The 3D stuff almost invariably uses a "rendering engine" for the graphics, something else for sound, maybe something else again for physics, and since the internet is so popular, many games have a network layer too.

For examples of 3D engines, have a look at the OGRE project and also Crystal Space. There are actually numerous engines to choose from and people have made interfaces to all sorts of languages.

When you find you can read through the source code for an existing game and actually understand it, then you can set off on your own.
 
Old 06-06-2008, 09:01 AM   #4
tur third
Member
 
Registered: Jun 2005
Location: Surrey, UK
Distribution: Ubuntu 10.04, 10.10
Posts: 187

Rep: Reputation: 24
Late response, Not sure about online tutorials but I would recommend this book http://eu.wiley.com/WileyCDA/WileyTi...470068221.html
Game Programming: The L Line, The Express Line to Learning

For simple 2D games Pygame seems ideal and can really do a lot of the leg work for you. I have to admit I am very much still a learner but even I managed to create a dodgy skiing game over a few evenings.

All you need is python, the SDL stuff, pygame and gedit.
 
Old 06-08-2008, 10:53 PM   #5
iwasapenguin
Member
 
Registered: Jul 2007
Posts: 110

Rep: Reputation: 15
SDL and C++ seem to be working for me with the help of a book by Alan Thorn called
"Games programming" it shows just enough so to get started on a small cross-platform
puzzle game that can be expanded out into something decent later on.
 
Old 06-10-2008, 07:00 AM   #6
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 128Reputation: 128
Just visit Sun and download their javadoc as well as their jave tutorial(s). In order to make any use of java3D, it is vital that you are comfortable with 2D and AWT/Swing first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best programming language to learn jax8 Programming 25 04-04-2010 10:21 AM
The best gui programming language and quickest to learn on linux. shadow5277 Programming 7 11-18-2007 03:11 PM
Which Programming Language to Learn? BlahBlah_X Programming 6 06-19-2007 08:12 AM
What programming language, languages to learn for linux. gimmee Programming 11 11-28-2006 07:30 PM


All times are GMT -5. The time now is 05:06 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration