-
一个电脑配置DIY管理系统,本代码适合初学数据库者学习借鉴
一个电脑配置DIY管理系统,本代码适合初学数据库者学习借鉴-a DIY computer configuration management system, the database code suitable for beginners who learn
- 2023-02-18 05:45:03下载
- 积分:1
-
其他按钮的例子,WTL
Other button examples for wtl
- 2022-01-25 20:40:34下载
- 积分:1
-
实现一个普通表达式到后最表达式的转换(只提供了10以内的数的转换)...
实现一个普通表达式到后最表达式的转换(只提供了10以内的数的转换)-To achieve a common expression is the best expression to the post-conversion (only 10 less than the number of conversion)
- 2023-01-09 18:10:03下载
- 积分:1
-
高质量C,C++编程指南, 编程入门教程
高质量C,C++编程指南, 编程入门教程-High-quality C, C++ Programming guide, programming Tutorial
- 2023-05-27 19:40:04下载
- 积分:1
-
的中文帮助文档CodeSmith代码生成工具
为代码生成工具codesmith 的中文帮助文档-Code generation tool for the Chinese to help document codesmith
- 2022-11-08 17:10:03下载
- 积分:1
-
高考成绩管理系统,增删改查,输出到文本文件,排序浏览等...
高考成绩管理系统,增删改查,输出到文本文件,排序浏览等-HKALE management system, additions or deletions to change the investigation, the output to a text file, sort, browse, etc.
- 2022-02-07 02:52:08下载
- 积分:1
-
planck.zip: Planck radiation formula size 110 KB.
This program calculates...
planck.zip: Planck radiation formula size 110 KB.
This program calculates the radiated power, integrated between given upper and lower wavelength limits, by a Planck black body at given temperature. Units are degrees Kelvin, watts, and meters. Current values of Planck and other thermodynamic constants are used. Latest update: 8 May 2000.
普朗克辐射计算公式。-planck.zip: Planck radiation formula size 110 KB. This program calculates the radiated power, integrated between given upper and lower wavelength limits, by a Planck black body at given temperature. Units are degrees Kelvin, watts, and meters. Current values of Planck and other thermodynamic constants are used. Latest update: 8 May 2000. Planck radiation formula.
- 2023-03-12 23:50:04下载
- 积分: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
-
学生管理系统的 都是些文件编码 很详细 应该很有用
学生管理系统的 都是些文件编码 很详细 应该很有用-Student Management System documents are encoded in great detail should be useful
- 2022-02-11 14:27:15下载
- 积分:1
-
如何让软件运行时只在任务栏里显示小图标?
如何让软件运行时只在任务栏里显示小图标?-how software runs only on the task bar in the small icon shows?
- 2023-06-28 00:10:03下载
- 积分:1