Incomplete Aticle
This Game Programming article http://www.gamedev.net/reference/programming/features/gpgenesis1/default.asp
is imcomplete. I begin reading the Win32 introduction, and the author left much things, example: ShowWindow(); UpdateWindow(); ....
Only reading this tutorial, i cant make a window. Iam worried about, the followings of this serie have the same problem. Because i have hoped learn DirectX in this article.
Somebody can say me what is left in this first part, and in the followings?
the article is quite complete the authors intention way to describe the basics behind the code he posted and not to present a c&p code snippet
if you need to know more search for MSDN on google which is a in depth documentation about nearly everything C++ related except custom libraries
also check out nehe.gamedev.net for windows base code
the MSDN has some DX chapters as well i think
but all the functions you need to know are descibed in the MSDN which is a must for any win32 programmer
if you need to know more search for MSDN on google which is a in depth documentation about nearly everything C++ related except custom libraries
also check out nehe.gamedev.net for windows base code
the MSDN has some DX chapters as well i think
but all the functions you need to know are descibed in the MSDN which is a must for any win32 programmer
Quote:the authors intention way to describe the basics behind the code he posted
Where is this code?
The code is in the article. WinMain, CreateWindowEx, CALLBACK MsgHandler, PeekMessage, TranslateMessage, DispatchMessage, PostMessage, SendMessage, and a pseudo-code game loop.
Quote:Original post by LuFe
u.u
Then havent a code thats works?
If by 'works' you mean able copy-and-paste in one action, then no. But the code it does have can be combined into one WinMain function, yes.
Keep reading the articles in the series so that you understand what's going on. There's a demo program listed in the contents of part 3: Tracking Your Window/Using GDI.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement