搜索资源列表
eluosiMFC
- 1. 游戏界面怎样表示(即20*10个格子) 2. 方块表示方法,即四个小方块的坐标设定: 其中一个方块是原点,坐标为(0,0);右侧方块坐标(1,0),下面的方块坐标(0,1),以此类推。 3. 旋转公式的应用: (x,y)旋转90度后是(-y,x)。由于x轴向右,y轴向下,所以产生了顺时针的旋转效果。 4. 重要思想:不用旋转公式,也有办法旋转。 5. 烟花的运动轨迹控制。-1. How that game interface (that is, 20* of 10
A星寻路
- 游戏中人物运动轨迹计算,采用A*寻路算法(A* trajectory finding algorithm is used to calculate the trajectory of the characters in the game)