LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
  Search this Thread
Old 05-14-2003, 09:55 AM   #1
LinuxScott
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Rep: Reputation: 0
C++


Hello

I have just purchased a book called C++ on Linux, I have used C++ on a Windows OS before but I am still a beginner to the language. What I want to create is a game. specifically a naval warfare strategy game and It to work in Real Time. I plan to spen alot of time on this project, but to be honest I don't know where to begin. Are there any resources on the web or otherwise I can look at to begin this project. Maybe even so online forums for game programming.

Thanks Scott
 
Old 05-14-2003, 12:26 PM   #2
kev82
Senior Member
 
Registered: Apr 2003
Location: Lancaster, England
Distribution: Debian Etch, OS X 10.4
Posts: 1,263

Rep: Reputation: 51
http://www.gamedev.net

i suggest you start small, try tetris or pong
 
Old 05-15-2003, 02:28 AM   #3
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
first of all you need to choose a graphics liblary like sdl or opengl then if you player are gonna play it over internet or network u need to learn network programming(for network programming go to google search for beej network programming. thats a good tutorial)
 
Old 05-15-2003, 08:22 AM   #4
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
Unfortunately games are not typically written by one programmer unless it has trivial graphics. Ofcouse this could all change if game research and development was made open source. There could be frameworks for different game behavior, for example, flying. You could inherit the implementation, and specialize it for the type of veichle, character, etc. I don't see any of this happening though unless you are a vendor but I see this sharing of objects in different games that I've tried. For the large part, game programming seems to be tightly gaurded and unaccessible to novices and anyone who is not a multi-millionaire.
 
Old 05-15-2003, 08:27 AM   #5
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
Just imagine that if we (open source programmers) had frameworks that supported game development, than finally individuals or small groups could actually write their own advanced games. It would be similar to using Java or .Net frameworks, where you extend the base class functionality and add specializations.

Last edited by GtkUser; 05-15-2003 at 08:28 AM.
 
Old 05-15-2003, 12:08 PM   #6
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Rep: Reputation: 15
C++ is a good place to start though I'm not sure if that book is best for beginners. I've never seen it. What I would recommend is Sams Teach Yourself C++ or go to GameDev.net to check out some other books there. I'm a frequent visitor and I know some people there. Also, if your going to be programming on Linux, I would suggest that you get into OpenGL programming to do the shapes and stuff like that. You could do DirectX but that's Windows and Microsoft.
 
  


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



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration