vcbmpstar

所属分类:其他游戏
开发工具:Visual C++
文件大小:1233KB
下载次数:7
上传日期:2012-07-27 17:25:27
上 传 者承诺龙
说明:   VC++绘制窗口的实例源码下载,星空绽放-浅墨的窗口绘制Demo源码,是毛星云VC++游戏开发笔记系列配套源码,使用了BMP图像资源为素材。牵扯到一些粒子编程,设定该粒子存在的时间为零,按粒子编号i来决定粒子在哪个象限运动,且x,y方向的移动速度随机为1—15之间的一个值,由1+rand() 15来完成。50个粒子由for循环设置完成后,我们将粒子数量设为50,代表目前有50颗星光,先在内存dc中贴上背景图片,判断粒子是否还存在,若存在,则根据其坐标(flystar[i].x,flystar[i].y)进行贴图操作,进行条件判断,若某粒子跑出窗口区域一定的范围,则将该粒子设为不存在,且粒子数随之递减……
(VC++ example source download of the drawing window, the sky bloom- the window of the light ink drawing Demo source is Mao Xingyun VC++ game development notes series supporting source, the use of BMP image resource material. Involve particles programming, setting the zero time of the particles, particle number i to determine the particle in which quadrant sports, and the x, y direction of the movement speed random for between 1-15 a value from 1+ rand () 15 done. 50 particles after the completion of the for loop is set, we will be the number of particles is set to 50, representing at present there are 50 Stars, first paste the background image in the memory dc, to determine whether the particles exist, if there is, according to its coordinates (flystar [i]. x, flystar [i]. y) mapping operations to determine the conditions, if a particle is ran out of the window area a certain range, the particle is set to does not exist, and the number of particles followed by decreasing ...)

文件列表:
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\bg.bmp (1226934, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\Debug\bg.bmp (1226934, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\Debug\mask.bmp (168156, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\Debug\star.bmp (168156, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\maple_23.cpp (6174, 2012-05-30)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\maple_23.dsp (4511, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\maple_23.dsw (524, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\maple_23.h (332, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\maple_23.ico (1078, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\maple_23.rc (3082, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\mask.bmp (168156, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\resource.h (789, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\small.ico (318, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\star.bmp (168156, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\StdAfx.cpp (295, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\StdAfx.h (936, 2012-05-27)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载\Debug (0, 2012-05-30)
softhy.net\星空绽放-浅墨的VC++绘制窗口源码下载 (0, 2012-05-30)
softhy.net (0, 2012-05-30)

======================================================================== WIN32 APPLICATION : maple_23 ======================================================================== AppWizard has created this maple_23 application for you. This file contains a summary of what you will find in each of the files that make up your maple_23 application. maple_23.cpp This is the main application source file. maple_23.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. ///////////////////////////////////////////////////////////////////////////// AppWizard has created the following resources: maple_23.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. res\maple_23.ico This is an icon file, which is used as the application's icon (32x32). This icon is included by the main resource file maple_23.rc. small.ico %%This is an icon file, which contains a smaller version (16x16) of the application's icon. This icon is included by the main resource file maple_23.rc. ///////////////////////////////////////////////////////////////////////////// Other standard files: StdAfx.h, StdAfx.cpp These files are used to build a precompiled header (PCH) file named maple_23.pch and a precompiled types file named StdAfx.obj. Resource.h This is the standard header file, which defines new resource IDs. Microsoft Visual C++ reads and updates this file. ///////////////////////////////////////////////////////////////////////////// Other notes: AppWizard uses "TODO:" to indicate parts of the source code you should add to or customize. /////////////////////////////////////////////////////////////////////////////

近期下载者

相关文件


收藏者