C++ tutioral for tetris
Page 1 of 114 Replies - 34670 Views - Last Post: 05 February 2010 - 03:39 PM
#1
C++ tutioral for tetris
Posted 02 January 2010 - 08:29 AM
thanks
Replies To: C++ tutioral for tetris
#2
Re: C++ tutioral for tetris
Posted 02 January 2010 - 09:39 AM
#3
Re: C++ tutioral for tetris
Posted 02 January 2010 - 02:38 PM
#4
Re: C++ tutioral for tetris
Posted 02 January 2010 - 02:50 PM
#5
Re: C++ tutioral for tetris
Posted 02 January 2010 - 03:03 PM
#6
Re: C++ tutioral for tetris
Posted 02 January 2010 - 03:45 PM
Instead of looking for a way to learn how to make a Tetris game using OpenGL first learn OpenGL, then learn about Tetris, then mix the knowledges and work in a game.
But the best is learning a programming language and OpenGL and do the game logic by yourself.
#7
Re: C++ tutioral for tetris
Posted 02 January 2010 - 07:12 PM
#8
Re: C++ tutioral for tetris
Posted 02 January 2010 - 07:35 PM
#9
Re: C++ tutioral for tetris
Posted 02 January 2010 - 07:40 PM
#10
Re: C++ tutioral for tetris
Posted 03 January 2010 - 10:46 AM
#11
Re: C++ tutioral for tetris
Posted 05 January 2010 - 12:16 PM
This post has been edited by milleja46: 05 January 2010 - 12:33 PM
#12
Re: C++ tutioral for tetris
Posted 06 January 2010 - 02:45 PM
#13
Re: C++ tutioral for tetris
Posted 23 January 2010 - 01:53 PM
milleja46, on 6 Jan, 2010 - 01:45 PM, said:
Well I may be wrong but if the OpenGL program uses anything from the MSDN libraries it will not work. The express edition of visual C++ does not come with the msdn libraries and things like #include<windows.h> will cause an error. The express edition is just for learning the language and doesn't come with any of the larger libraries. You may have to purchase Visual Studios 2008 or 2010.
#14
Re: C++ tutioral for tetris
Posted 05 February 2010 - 03:15 PM
Bartuc, on 23 January 2010 - 01:53 PM, said:
milleja46, on 6 Jan, 2010 - 01:45 PM, said:
Well I may be wrong but if the OpenGL program uses anything from the MSDN libraries it will not work. The express edition of visual C++ does not come with the msdn libraries and things like #include<windows.h> will cause an error. The express edition is just for learning the language and doesn't come with any of the larger libraries. You may have to purchase Visual Studios 2008 or 2010.
Yeah and xoax said is that i had to add them in, for a opengl program to work since they used the same thing for most of their tutiorals
#15
Re: C++ tutioral for tetris
Posted 05 February 2010 - 03:39 PM
Bartuc, on 23 January 2010 - 03:53 PM, said:
milleja46, on 6 Jan, 2010 - 01:45 PM, said:
Well I may be wrong but if the OpenGL program uses anything from the MSDN libraries it will not work. The express edition of visual C++ does not come with the msdn libraries and things like #include<windows.h> will cause an error. The express edition is just for learning the language and doesn't come with any of the larger libraries. You may have to purchase Visual Studios 2008 or 2010.
Actually, you are incorrect there. VSC++ 2005 Express didn't come with the ability to create native window applications. You could only create console and CLR projects. There was a way to download the SDK needed for developing native windows applications but it was a real pain in the you know where. VSC++ 2008 Express does come with the Windows SDK. You can create native windows programs with it. You just have to choose the right project template for doing it when you are creating a new application. You can create the same applications with the express edition as you can with the full version. The limitations are the you can not create MFC applications or ATL. If you want to create a native windows application just select New Project from the file menu, select Win32 and then Win32 project.
@OP:
If you are still interested in using OpenGL for your game development, look into using GLUT. GLUT is good for setting up and running an OpenGL game in a window. You do not need to create a native Win32 application for it. You can just make a console application to run OpenGL programs.