PDA

View Full Version : learn game programming for linux



tavati
August 6th, 2008, 02:03 PM
what is a good place to learn game programming for linux.
i am very serious and desperate.

Cypher
August 6th, 2008, 02:12 PM
The first question would be, do you know programming in general? C/C++? If so, the BEST way to learn is to look at the sources of the numerous free Linux games out there.

Start with a simple game to not get too overwhelmed in the beginning and understand how the code does what it does. Make modifications and "enhance" an existing game.

finer recliner
August 6th, 2008, 02:35 PM
http://nehe.gamedev.net/

tavati
August 6th, 2008, 03:23 PM
thanks everyone i really like the community feeling in here.

nick_h
August 6th, 2008, 04:26 PM
You may be better posting in the Programming Talk (http://ubuntuforums.org/forumdisplay.php?f=39) section.

Joeb454
August 6th, 2008, 04:34 PM
Moved to Programming Talk.

See the stickies in this sub-forum :)

era86
August 6th, 2008, 04:35 PM
I'd say learn the basic programming concepts first. Then try programming a simple game like Connect 4 or Hangman.

Titan8990
August 6th, 2008, 04:40 PM
Or you could check out the programming challenges here in the programming talk forums (recently recreated for beginners).

nvteighen
August 6th, 2008, 05:25 PM
Welcome!

Some nice steps:
1) Read the Sticky.
2) If you have no programming experience, learn how to program first. Usually, Python is the wildcard language adviced.
3) If you do have programming experience, well it depends on how much experience you have and in what.
4) Never stop to ask!

Kadrus
August 6th, 2008, 06:22 PM
1)Google:You will find lots of answers to this subject.(Google is your best friend)
2)Read the sticky if you want,it might be useful.
3)Start programming if you haven't before,take your time and don't rush into things or try to skip essential concepts of programming,because if you do later on you will have problems,and you will lack basic and important concepts.
4)Get familiar with SDL and OpenGL.
5)Start hacking open source games,there are plenty:Happy Penguin (http://www.happypenguin.org/).
6)Start by writing clones,of small games like:tetris,pacman,pong,etc.
7)Convert your game idea to a real game.
Good luck :)

haTem
August 6th, 2008, 08:34 PM
If you decide to learn SDL, this site has excellent articles/tutorials: http://lazyfoo.net/.

I have found it very helpful. Of course, it assumes you already know C++.

Cygnus
August 6th, 2008, 09:07 PM
If you are not very used to ui and graphical programming I would suggest to first start with a simple game using just the console. For example a card game where the cards are printed as numbers, or something similar. Then when this works you can start adding graphics or ui on top. This was what I did first and it worked fine for me, and you learn a lot. Aiming too high on the first game is often a recipe for giving up or never finish, because it is a lot of work.