文件名称:pingguoji
介绍说明--下载内容均来自于网络,请自行研究使用
利用VC++ 的GDI+做的一个小游戏项目,类似苹果机。游戏主要逻辑:
按下F1的时候系统随机生成分数和位置,每种分数的出现的次数不一样,其中
5分 10
3分 20
2分 30
1分 20
然后在根据分数分配位置,当在图这中相同的分数有多个时,随机分配位置(每个位置出现的次数是一样的),
游戏开始的位置随机,第一次、第三次旋转的次数随机,第二次旋转的次数根据m_endpos,m_startPos,第一次旋转次数,第二次旋转次数,然后另外在加上20(2圈)。-With a small game project the VC++ the GDI+ do, similar to the Mac. The main logic of the game: press F1 when the system randomly generated scores and position, not the number of occurrences of each fraction, 5 10 3 20 2 30 1 20 and then in the position according to scores assigned second rotation when the same fraction in FIG when multiple, random allocation position (each position the number of occurrences is the same), the starting position of the game randomly the first time, the third time the number of rotation of the random The number of times according m_endpos m_startPos first rotation number, the second number of revolutions, and then the other plus 20 (2 laps).
按下F1的时候系统随机生成分数和位置,每种分数的出现的次数不一样,其中
5分 10
3分 20
2分 30
1分 20
然后在根据分数分配位置,当在图这中相同的分数有多个时,随机分配位置(每个位置出现的次数是一样的),
游戏开始的位置随机,第一次、第三次旋转的次数随机,第二次旋转的次数根据m_endpos,m_startPos,第一次旋转次数,第二次旋转次数,然后另外在加上20(2圈)。-With a small game project the VC++ the GDI+ do, similar to the Mac. The main logic of the game: press F1 when the system randomly generated scores and position, not the number of occurrences of each fraction, 5 10 3 20 2 30 1 20 and then in the position according to scores assigned second rotation when the same fraction in FIG when multiple, random allocation position (each position the number of occurrences is the same), the starting position of the game randomly the first time, the third time the number of rotation of the random The number of times according m_endpos m_startPos first rotation number, the second number of revolutions, and then the other plus 20 (2 laps).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
(没有文件,原文件不完全或已损坏或有密码)