how to design board games in c++

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jun 2007
Posts: 33
Reputation: bvgsrs is an unknown quantity at this point 
Solved Threads: 1
bvgsrs bvgsrs is offline Offline
Light Poster

how to design board games in c++

 
0
  #1
Jun 21st, 2007
Hi,
I have the basic knowledge in C++ and C. I am now looking for workign on some game programming.
Well, in C++ how can I get those buttons, text boxes frames etc as we have in Java or VB.
would you suggest me some books or links also, that can help me in this activity.

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 539
Reputation: thekashyap will become famous soon enough thekashyap will become famous soon enough 
Solved Threads: 50
thekashyap's Avatar
thekashyap thekashyap is offline Offline
Posting Pro

Re: how to design board games in c++

 
0
  #2
Jun 21st, 2007
Use MS Visual C++ (get Visual Studio).. you can find lotsa online tutorials for that..
Are you Agile.. ?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,374
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1466
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: how to design board games in c++

 
0
  #3
Jun 21st, 2007
Here is a link to basic win32 api gui programming. It doesn't teach you how to write games but it does introduce you to adding buttons and other controls/resources to windows.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,610
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 465
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: how to design board games in c++

 
1
  #4
Jun 21st, 2007
> I have the basic knowledge in C++ and C.
Better start off with some console based games. They would help you in concentrating on the logical aspects of the game without wasting your time in developing the GUI.

Plus commercial games make use of API's like DirectX and OpenGL and not just plain old Win32. Once a console based program is ready, making a graphical version of it won't be much difficult.
Last edited by ~s.o.s~; Jun 21st, 2007 at 1:06 pm.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 84
Reputation: phalaris_trip is an unknown quantity at this point 
Solved Threads: 5
phalaris_trip's Avatar
phalaris_trip phalaris_trip is offline Offline
Junior Poster in Training

Re: how to design board games in c++

 
0
  #5
Jun 21st, 2007
During this year we (my college year) have covered far less than 60% of basic C++ syntax.. we never touched on pointers, structures, classes, namespaces or any modularization... whatever else I learned I learned as a hobby.

And yet, sometime in the third week of next year we will start using this graphics package: http://www.libsdl.org/
I guess what that says is that it must be relatively easy!

According to my next year's lecturer, there's only about 3 functions or something.. draw screen, draw sprite and something else.. it focuses mostly on your algorithms, and you need to have a decent knowledge of maths to use it..

Here is a link to someone's page from my college:
http://www.maths.tcd.ie/~wfoc/programs/
There you can download the game he made using this package, just as a taster of what you can achieve..
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1,066
Reputation: Sturm is on a distinguished road 
Solved Threads: 24
Sturm's Avatar
Sturm Sturm is offline Offline
Veteran Poster

Re: how to design board games in c++

 
1
  #6
Jun 21st, 2007
if your learning sdl look at some of my sdl functions under c++ code snippets. I think you will find them helpful. I know I do!
"Hey ass, don't hijack my thread. This is serious." -JoshSCH
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 33
Reputation: bvgsrs is an unknown quantity at this point 
Solved Threads: 1
bvgsrs bvgsrs is offline Offline
Light Poster

Re: how to design board games in c++

 
0
  #7
Jun 22nd, 2007
hi,
well when I was doing some google on this subject ... I came across these terms like OpenGL ... windows programming etc ...
so would one of you please let me know what actually is OpenGL and what are the tools IDE etc what we require to work with it.

is OpenGL different from Visual C++ ??? can the programs of OpenGL be compiled and executed using the Turbo c or are there are any seperate editors / compilers for the same ?

Thanks for all the links and suggestions that I have been receiving ....
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,610
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 465
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: how to design board games in c++

 
0
  #8
Jun 22nd, 2007
Your concepts seem to be shaky.

OpenGL and DirectX are API's, or simply put, libraries which you can use in your program to render graphics on the screen. There are other alternatives, but these two, by far, are the best and famous. DirectX is exclusively used in almost all commercial games and is properietary to Windows.

Visual C++ is a tool, C++ is the language used for developing games and OpenGL is the API which provides the graphics rendering functionality. Your game in C++ won't look much different than a normal C++ with the exception of some API calls and mandatory entry point functions.

Considering that a primitive set of functions is provided by OpenGL and DirectX, beginners almost always make use of Game Engines which act as wrappers around these API and help in developing cross platform games(if OpenGL is supported by your game engine).

Read here for more information. But still, considering that the little information you have on this subject, it would be better to stick to console games for a while, till you get the real feel of _Game Development_.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1,066
Reputation: Sturm is on a distinguished road 
Solved Threads: 24
Sturm's Avatar
Sturm Sturm is offline Offline
Veteran Poster

Re: how to design board games in c++

 
0
  #9
Jun 22nd, 2007
if you really really want to get into graphics development, allegro is a very very easy API.

here for tutorials and here for website.
"Hey ass, don't hijack my thread. This is serious." -JoshSCH
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 33
Reputation: bvgsrs is an unknown quantity at this point 
Solved Threads: 1
bvgsrs bvgsrs is offline Offline
Light Poster

Re: how to design board games in c++

 
0
  #10
Jun 25th, 2007
Thanks for all the responses. They were quiet helpful. I am inching very slowly in the process of learning to program. Also one of links that was quiet helpful is http://www.daniweb.com/forums/thread50370.html
It contains hyperlinks to various topics on C and C++ programming.

Ram Sharma
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC