Introduction - If you have any usage issues, please Google them yourself
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