-
3DMAP演示了利用 API 的填充函数实现对美国地图的选择
3DMAP演示了利用 API 的填充函数实现对美国地图的选择-3DMAP demonstrated the use of the filled function API to realize the choice of the United States map
- 2022-06-03 05:23:27下载
- 积分:1
-
gps定位信息提取
GPS接收机简单仿真).rar 是一个包含卫星天空视图、基本观测量、精度评定因子、接收机位置等基本信息仿真的界面软件。只要生成相应的数据,就可以很好地仿真接收机界面输出。对于初学GPS理论的同学会有帮助。
- 2022-08-13 05:31:06下载
- 积分:1
-
建立树,并对其进行前序.中序和后序的便利
建立树,并对其进行前序.中序和后序的便利-established trees, and its former sequence. After the order and sequence of convenience
- 2022-02-25 01:39:48下载
- 积分:1
-
windows from the development of customer relationship management systems, as wel...
windows from 开发的客户关系管理系统
使用工具 vs2005 以及SQL数据库-windows from the development of customer relationship management systems, as well as the use of tools for SQL database vs2005
- 2023-01-19 13:00:03下载
- 积分:1
-
Generally also includes the final executable file generated by the reader can us...
一般还包含最后生成的可执行文件
读者可以使用 Visual Basic 将它们分别打开,分析其中的源代码
和各个控件的属性设置。
-Generally also includes the final executable file generated by the reader can use Visual Basic to open them separately, analysis of the source code and various properties of the control settings.
- 2022-01-31 19:00:37下载
- 积分:1
-
very good Windows Explorer Web View interface
非常好的Windows资源管理器Web视图界面-very good Windows Explorer Web View interface
- 2022-11-15 02:30:03下载
- 积分:1
-
pic24单片机资料
microchip pic24 data
- 2022-04-22 17:49:56下载
- 积分:1
-
一个图标编辑源程序,实现了图标的编辑。用的是vb语言。
一个图标编辑源程序,实现了图标的编辑。用的是vb语言。-an icon editing source code, achieving icon editor. The language is vb.
- 2022-08-16 18:11:08下载
- 积分:1
-
DELFOR(源码排列工具)
资源描述说明:将 Delphi Object Pascal 源码排列整齐的工具的源代码 ( 2.0 版,相当於适用於 Delphi 2.0~5.0 专家版本 2.2.3 版 DELFOREX.ZIP )
- 2022-03-20 15:45:20下载
- 积分:1
-
迷宫追寻小游戏 C++MFC
应用背景
这个游戏为玩家控制红色方块,去吃掉棕色,绿色,蓝色的方块,一旦一个方块被吃,便会自动生成另一个相同颜色的方块。直到游戏时间结束为止。
程序函数功能:
ondraw函数:
显示游戏界面(用画刷刷成白色),显示地图(黑色),显示食物0,1,2(分别为:棕色,绿色,蓝色),显示玩家(红色)
显示文字,时间,分数。
OnEraseBkgnd函数:
用来更新窗口背景,游戏以位图为窗口背景。
OnGameStart函数:
关联窗口菜单中的开始游戏。包括:
IniGame();(初始化游戏)
m_nGameStatus=1;(游戏状态1,开始)
SetTimer(1,100,NULL);(定时器0.1秒执行一次OnTime)
Invalidate();(转向OnDraw)
IniGame函数:
初始化游戏,确定游戏显示位置,确定玩家初始位置,转向IniAim函数
IniAim函数:
初始化目标,这里的三个目标的位置为随机产生。
OnKeyDown函数:
监控设备按下的键,确定玩家移动方向。
ReDisPlay函数:
重画点所在的小方块。减少对Invalidate()的调用,使屏幕不太闪硕。
OmTimer函数:
完成时间的计算。
关键技术游戏中的人工智能:
棕色方块的移动算法为基本寻路算法—物体沿着墙走。
绿色方块的移动算法为基本的逃避算法—物体总会向玩家的反方向移动。
蓝色方块的移动算法为漫游算法—随机产生一个方向值,物体移动的方向不
- 2022-03-23 18:25:51下载
- 积分:1