-
自己实现的推箱子游戏,用vc6.0编译成功,有一定的价值
自己实现的推箱子游戏,用vc6.0编译成功,有一定的价值-Realize their own game of Sokoban with vc6.0 compile successful, has some value
- 2022-09-23 00:35:03下载
- 积分:1
-
徐-远程控制和文件传输是基于TCP IP协议,聚远程控制和文件传输两种功能
- 2022-02-05 23:45:14下载
- 积分:1
-
Turbo c run into the Games, according to key vertical and horizontal control, at...
进入turbo c运行游戏,按上下左右键控制,任何时候按ESC键退出,一个函数用来划方块;一个用来划小方块;一个用来擦去小方块-Turbo c run into the Games, according to key vertical and horizontal control, at any time by the ESC key to exit, a function used to draw box a small box used to draw a small box to remove
- 2022-09-02 15:50:03下载
- 积分:1
-
命令行下嗅探的源代码
命令行下嗅探的源代码-command line sniffer source code
- 2022-05-07 03:53:30下载
- 积分:1
-
用vc++开发的密码破译小程序,很好玩。
用vc++开发的密码破译小程序,很好玩。-with vc++ code-breaking development of the small program is a lot of fun.
- 2022-01-31 16:39:24下载
- 积分:1
-
Twain for win32,C++ Builder写的,请在你的程序中加以改进使用
Twain for win32,C++ Builder写的,请在你的程序中加以改进使用-Twain for win32, C Builder wrote, Please in your procedures to be used to improve
- 2022-12-03 07:30:03下载
- 积分:1
-
,乱码,上传下载,图形处理等诸多问题 (2006
,乱码,上传下载,图形处理等诸多问题 (2006-03-26,Java,2578KB,28次)
LangGeTaiJavaJDK5.0StudyNote.rar - 作者:林信良(网络化名良葛格) 学历:台湾大学电机工程学系经历:SUN教育训练中心讲师著作:《JAVA 学习笔记》、《Spring 技术手册》,为SUN官方教材主要编写成员之一博客: http://blog.CSDN.net/caterpillar_here 本书详细信息: http://www.china-pub.com/computers/common/info.asp?id=31664 (2007-03-18,Java,8746KB,77次)
struts.rar - CSDN_文档中心_Struts快速学习指南15(内部培训教材)-大部分素材来自于《Programming Jakarta Struts》一书.files (2008-01-04,Java,525KB,1次)
-, Garbled, uploading and downloading, graphic treatment and many other issues (2006-03-26, Java, 2578KB, 28 times) LangGeTaiJavaJDK5.0StudyNote.rar- Author: Lin Liang (a pseudonym Liang葛格network) Education: National Taiwan University Electrical Engineering Department of experience: SUN Education and Training Center Lecturer writings:
- 2023-05-30 20:00:04下载
- 积分:1
-
Flooding scenes generation protocol procedures: selection of a 50
泛洪协议场景生成程序:选择一个包含50个节点的1200*1200正方形区域的场景,每个节点随机选择自己的运动方向和运动速度,最大运动速度为40m/s,平均速度为20m/s,场景持续400s。-Flooding scenes generation protocol procedures: selection of a 50-node contains 1200* 1200 square regional scenes, each node randomly choose its own direction and velocity of movement, the biggest sports at 40m/s, average speed of 20m/s, Scene sustained 400s.
- 2022-05-05 05:47: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
-
C++显示天气预报
此代码是用c++编写的简单明了的显示天气预报的小程序,希望能给大家带来帮助,大家耐心研究即可,好好努力啊,加油
- 2022-03-04 06:30:17下载
- 积分:1