-
一套用PB开发的指纹应用源码,满足指纹应用和整合!适合于PB开发语言!...
一套用PB开发的指纹应用源码,满足指纹应用和整合!适合于PB开发语言!-a PB with the development of the fingerprint application source code, and meet the fingerprint application integration! PB suited to the development of language!
- 2022-03-14 11:51:31下载
- 积分:1
-
实现阶乘运算! 非常好用
实现阶乘运算! 非常好用-achieve factorial Operational! Very handy
- 2022-08-06 17:28:36下载
- 积分:1
-
behnam kkkdderfgf
;输出:
- 2022-03-10 14:26:55下载
- 积分: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
-
快速删除VC及Delphi的可删除文件或您指定的扩展名文件,第一次运行此批处理文件时将在驱动器盘符和目录文件夹右键菜单产生"Delete special Ext...
快速删除VC及Delphi的可删除文件或您指定的扩展名文件,第一次运行此批处理文件时将在驱动器盘符和目录文件夹右键菜单产生"Delete special Ext files"和"Edit delete special Ext files list"以及产生一个FileExtList.txt文件,此文件中包含VC及Delphi可删除文件扩展名列表。选择"Delete special Ext files"可快速删除指定扩展名的文件。选择"Edit delete special Ext files list"自动使用记事本打开FileExtList.txt文件,您可以输入您想要删除文件的扩展名,在此文件中" "表示注释,此行后面的扩展名将不被处理。-deleted VC and Delphi can delete the file or your designated extension, the first run this batch file will be in the drive letter and directory folder right-click menus have a "special Ext Delete files" and "Edit special Ext delete files list" and produce a FileExtList.txt , this document contains VC and Delphi can delete the file extension list. Select "Delete special Ext files" can quickly delete the specified file extensions. Choose "Edit special Ext delete files list" automatic use Notepad to open FileExtList.txt document, you can import you want to delete the file extension, in this document, "" Notes, said that
- 2022-02-02 08:30:03下载
- 积分:1
-
读取油藏数值模拟软件petrol的grdecl格式文件,并可生成IDL对象.
读取油藏数值模拟软件petrol的grdecl格式文件,并可生成IDL对象.
- 2022-02-06 04:38:19下载
- 积分:1
-
Rekursif列表
Rekursif List#include "boolean.h"#include "listrekursif.h"#include #include /* Manajemen Memori */address Alokasi (infotype X) { address P; /* Algoritma */ P = (address)malloc(sizeof(ElmtList)); if (P != Nil) {/* alokasi berhasil */ Info(P) = X; 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-24 03:46:16下载
- 积分:1
-
经典吃豆子游戏原码,比较适合学习C语言的新人参考学习
经典吃豆子游戏原码,比较适合学习C语言的新人参考学习-The original classic Pacman game code, more suitable for learning C language reference to learn new
- 2022-08-24 20:32:10下载
- 积分:1
-
这是个操作系统中,多线称关于哲学家就餐问题的演示程序!
这是个操作系统中,多线称关于哲学家就餐问题的演示程序!-This is the demo program for the multithread about philosophers having dinner problem in the operating system!
- 2022-05-07 01:41:21下载
- 积分:1
-
对英语短文单词进行分析的源码,以及可执行程序
对英语短文单词进行分析的源码,以及可执行程序-word essay in English on the analysis of the source code and executable programs! !
- 2022-03-03 05:34:04下载
- 积分:1