| | |
how to design board games in c++
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
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.
> 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.
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.
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..
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..
•
•
Join Date: Jun 2007
Posts: 33
Reputation:
Solved Threads: 1
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 ....
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 ....
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_.
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.
•
•
Join Date: Jun 2007
Posts: 33
Reputation:
Solved Threads: 1
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
It contains hyperlinks to various topics on C and C++ programming.
Ram Sharma
![]() |
Other Threads in the C++ Forum
- Previous Thread: Could someone please help me?(C++ Code)
- Next Thread: WinSocket question
| Thread Tools | Search this Thread |
api array beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion count data database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game getline google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates test text text-file tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






