随笔分类 - 软件开发:多媒体与游戏
摘要:void CtestwmDlg::OnBnClickedButton1(){ CStringA lpszFile; m_file.GetWindowText(lpszFile); if (lpszFile.IsEmpty()) lpszFile = GetExeDir...
阅读全文
摘要:全面分析游戏防止多开的原理,与游戏实现多开的方法。进程隐藏,窗口标题修改,端口隐藏,多个游戏目录,多个操作系统账号,互斥体,内存映射文件,DLL全局共享等方法实现游戏多开。研究游戏多开已经有一年多的时间了,其实要实现游戏多开也不是一件很难的事情,只要大家懂得游戏防止多开的原理,然后根据其对应游戏多开的方法便可以做出游戏多开器来了。下面为大家总结一下游戏多开的原理与方法:用了一年的时间换来了这篇游戏多开的文章:如果大家需要转发的,请标明出处:小鱼工作室谢谢。第一,进程隐藏部分游戏通过探测游戏客户端进程是否已经存在来防止重复打开,如游戏:英雄美人游戏多开的办法为启动一个游戏客户端后,将该游戏的进程
阅读全文
摘要:1 void SaveHwndToBmpFile(HWND hWnd, LPCTSTR lpszPath) 2 { 3 HDC hDC = ::GetWindowDC(hWnd); 4 ASSERT(hDC); 5 6 HDC hMemDC = ::CreateCompatibleDC(hDC); 7 ASSERT(hMemDC); 8 9 RECT rc;10 ::GetWindowRect(hWnd, &rc);11 12 HBITMAP hBitmap = ::CreateCompatibleBitmap(hD...
阅读全文
摘要:这两天在写 DDS 格式的解码程序。DDS 是微软为 DirectX 开发的一种图片格式,MSDN 上可以查到其文件格式说明:http://msdn2.microsoft.com/en-us/library/bb172993.aspx其中的 DXT 图片压缩格式,现在已经为绝大多数 3D 显卡硬件所支持。(它使用了由 S3 公司所发明的一种有损图象压缩算法。btw, 在我的那本书中,P232 有所提及)。DXT 格式 也叫作 S3TC ,现在可以被流行看图软件直接显示的图象格式中,只有 .dds 文件支持这种压缩。为了开发方便,我们的引擎也就支持了 .dds 文件的加载。一起做引擎的同事希望即
阅读全文
摘要:DDS是DirectDraw Surface的缩写,它是DirectX纹理压缩(DirectX Texture Compression,简称DXTC)的产物。DXTC减少了纹理内存消耗的50%甚至更多,有3种DXTC的格式可供使用,分别是DXT1,DXT3和DXT5。DXT1 压缩比例:1:8压缩比最高,它只有1Bit Alpha,Alpha通道信息几乎完全丧失。一般将不带Alpha通道的图片压缩成这种格式。如WorldWind用的卫星图片DXT3 压缩比例:1:4使用了4Bit Alpha,可以有16个Alpha值,可很好地用于alpha通道锐利、对比强烈的半透和镂空材质。DXT5 压缩比例
阅读全文
摘要:longgetVideoLength(char*fileName){MCI_OPEN_PARMSmciOpenParms;MCI_STATUS_PARMSmciStatusParms;DWORDFlags;DWORDDeviceID;mciOpenParms.wDeviceID=NULL;mciOpenParms.lpstrElementName=fileName;Flags=mciSendCommand(NULL,MCI_OPEN,MCI_OPEN_ELEMENT,(DWORD)(LPVOID)&mciOpenParms);if(!Flags){Flags=NULL;DeviceID
阅读全文
摘要:游戏引擎列表免费和开源引擎Agar – 一个高级图形应用程序框架,用于2D和3D游戏。Allegro – 基于 C/C++ 的游戏引擎,支持图形,声音,输入,游戏时钟,浮点,压缩文件以及GUI。Axiom 引擎 – OGRE的衍生引擎。Baja 引擎 – 专业品质的图像引擎,用于The Lost Mansion。Boom – Doom代码的一部分。由TeamTNT开发Build 引擎 – 一个第一人称射击游戏引擎,用于Duke Nukem 3D。Bullet – 开源物理引擎,广泛应用在各大游戏主机。BYOND – “Build Your Own Net Dream”的縮写,支持各种类型的游戏
阅读全文
摘要:参照完美官方说法,这次放弃了Angelica引擎而采用自主研发的新一代Cube Engine 3D引擎。Cube 引擎是专门为2.5D游戏量身定制的,可以实现丰富的层次效果,其中智能地表图素生成系统能够让画面产生无限的随机感,没有任何一个地方是重复的,玩家仿佛置身于奇妙的游戏世界中。魄力十足的装备变形动画系统,玩家身上的每个部位的装备都能够实现像变形金刚一样的任意复杂的动画,把画面表现力提升到了一个新的高度。最近,国外一款名为《Cube》的开放源代码的第一人称射击游戏日前释出了新的版本。这一个下载版本里包含了Win32、MacOS X、Linux、Linux PPC等操作系统的客户端程序以及L
阅读全文
摘要:http://developer.nvidia.com/legacy-texture-tools
阅读全文
摘要:
BEGINNING C++ THROUGH GAME PROGRAMMING, THIRD EDITION approaches learning C++ from the unique and fun perspective of games. Written for the beginning game developer or programmer, the book assumes no previous programming experience and each new skill and concept is taught using simple language and step-by-step instructions.
Readers will complete small projects in each chapter to reinforce what they’ve learned and a fin
阅读全文

摘要:
Take control of your global game development team and make successful AAA game titles using the ‘Distributed Development’ model. Game industry veteran Tim Fields teaches you how to evaluate game deals, how to staff teams for highly distributed game development, and how to maintain challenging relationships in order to get great games to market. This book is filled with interviews with a broad spectrum of industry experts
阅读全文

摘要:
XNA is a very powerful API using which it’s easy to make great games, especially when you have dazzling 3D effects. This book will put you on course to implement the same 3D graphics used in professional games to make your games shine, and get those gamers addicted! If you think 3D graphics is something that limits your games, then this book is for you.
3D Graphics with XNA Game Studio 4.0 is a step by step companion t
阅读全文

摘要:
This Wrox Blox will guide you through the world of 3D programming and give you solid knowledge and a foundation in game programming using Microsoft’s XNA Framework. You will learn the fundamentals from 3D mathematics to model animation, including all the subjects needed to start developing 3D games, such as how to position objects in 3D space, handle collision detection, control the game camera, and understand the basics o
阅读全文

摘要:
CUDA is a computing architecture designed to facilitate the development of parallel programs. In conjunction with a comprehensive software platform, the CUDA Architecture enables programmers to draw on the immense power of graphics processing units (GPUs) when building high-performance applications. GPUs, of course, have long been available for demanding graphics and game applications. CUDA now brings this valuable resourc
阅读全文

摘要:各点像素的RGB值是按一定比例混合而成的,这个比例由Alpha值决定,具体算式见下: Alpha = 0 ~ 100 R = ( R1 * (100 - Alpha) + R2 * Alpha ) / 100 G = ( G1 * (100 - Alpha) + G2 * Alpha ) / 100 B = ( B1 * (100 - Alpha) + B2 * Alpha ) / 100 示例: RGB1 ( 232, 54, 13 ) RGB2 ( 94,
阅读全文