文件名称:vcvs2010snows
介绍说明--下载内容均来自于网络,请自行研究使用
VS2010版漫天飞舞的雪花Demo源码,主要讲解了在GDI中粒子的运用,游戏基础物理建模,粒子系统的模拟程序,源码编译环境为VS2010.其实VS2005,VS2008也可以编译运行。本实例包括了VC++6.0源码版本。MyPaint函数的书写思路是,先初始化每个粒子,这里是共50个粒子。然后贴上背景图到mdc中,再用循环将各个粒子也贴到mdc中,循环完成之后,再统一将mdc中的内容直接贴到hdc中。这样做的优点是比较直观,提高了贴图的效率。-VS2010 version of the flying snow Demo source, mainly on the use of particles in GDI game basis of physical modeling, the particle system simulation program, source code compilation environment as the VS2010 in fact the VS2005, VS2008 can compile and run. Examples include the the VC++6.0 source version. The the MyPaint function of writing ideas first initialize each particle, there is a total of 50 particles. Background image and then paste to mdc, and then loop each particle has been attached to the mdc, after the cycle is complete, the re-unified in the mdc directly attached to the hdc. The advantage of this is relatively straightforward to improve the efficiency of the map.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
(没有文件,原文件不完全或已损坏或有密码)