LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C++ (https://www.linuxquestions.org/questions/programming-9/c-59757/)

LinuxScott 05-14-2003 09:55 AM

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

kev82 05-14-2003 12:26 PM

http://www.gamedev.net

i suggest you start small, try tetris or pong

nakkaya 05-15-2003 02:28 AM

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)

GtkUser 05-15-2003 08:22 AM

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.

GtkUser 05-15-2003 08:27 AM

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.

Ekim Gram 05-15-2003 12:08 PM

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.


All times are GMT -5. The time now is 03:18 AM.