-
E统天下
E统天下--织网梦 ...背景不同。Java是基于C++、面向计算机程序 设计...代替。 (2)JavaScript 源代码无须编译 嵌入HTML...则与之不同。Java的源代码必须进行编译,成为 存在...中的一部分,以一般的文本编辑器就可以连同HTML一... www.51foru.com/index008jsjc.htm 19K 2003-12-10 - 百度快照 C Java PHP Perl Python的程序代码美化工具使用 ...php) 一个速度很快的C/C++/Java源代码美化工具。 astyle比indent好在 有很多成套的的风格定义:ansi ...SLICKEDIT这种大型商业文本编辑器等。 解决:对于...==>网页选项==>HTML源代码选单里选择“使用下面... www.chedong.com/tech/indent_tools.html 14K 2005-3-3 - 百度快照 Jedit for Linux Source Code 源代码--eNet软件-world-- Netting dream ... different backgrounds. Java is based on the C-oriented computer programs designed to replace .... (2) do not have JavaScript compiler source code embedded in HTML ... is different. Java source code to be compiled, as exists ... a part of, in general text editor with HTML can be a ... www.51foru.com/index008jsjc.htm 19K 2003-12-10- Baidu snapshot C Java PHP Perl Python the code landscaping tools ... php), a fast C/C/Java source code for landscaping tools. Astyle than indent Fortunately, there are many sets of
- 2022-02-12 05:31:15下载
- 积分: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下利用ODBC API对数据库的操作,包括增、删、改。可以移植、通用...
vc下利用ODBC API对数据库的操作,包括增、删、改。可以移植、通用-vc using ODBC API to the database operations, which include additional cut, change. Transplant GM
- 2022-11-16 03:00:03下载
- 积分:1
-
魔力游戏伤害计算器源码c#编写,用数组进行数据存储,对经常pk的人有很大帮助...
魔力游戏伤害计算器源码c#编写,用数组进行数据存储,对经常pk的人有很大帮助-magic of the game hurt calculators source c# prepared with data storage arrays, on the regular pk be very helpful
- 2022-02-02 08:08:31下载
- 积分:1
-
获得任意你打开窗口的类名,不用烦恼不知道的窗口类名。简单实用。...
获得任意你打开窗口的类名,不用烦恼不知道的窗口类名。简单实用。-can get any windows class name,and dont worry about the windows class name which you dont know,easy to use
- 2022-05-31 21:54:25下载
- 积分:1
-
我编写的几个图论代码,包括深搜、最小生成树、最短路径,注释我写的很详细,大家可以作为入门参考。...
我编写的几个图论代码,包括深搜、最小生成树、最短路径,注释我写的很详细,大家可以作为入门参考。-I prepared a number of graph theory code, including deep search, minimum spanning tree, shortest path, notes I wrote in great detail, we can serve as a reference entry.
- 2022-07-02 05:59:46下载
- 积分:1
-
V0.8版新增加了:英文关键词建议,根据本地tags、文章标题和文章内容通过YahooAPI进行关键词解析,最终获得Yahoo建议的英文关键词组合。...
V0.8版新增加了:英文关键词建议,根据本地tags、文章标题和文章内容通过YahooAPI进行关键词解析,最终获得Yahoo建议的英文关键词组合。-An increase of the new v0.8 version: English Keywords recommendations, in accordance with local tags, article title and article content for keywords through YahooAPI analysis, eventually Yahoo English Keywords combinations.
- 2023-06-09 07:55:03下载
- 积分:1
-
选择模型,支持Windows的消息机制,可以作为一份学习Windows i/o模型的文档...
选择模型,支持Windows的消息机制,可以作为一份学习Windows i/o模型的文档-Choice model to support the Windows message mechanism, can be used as a learning Windows i/o model documents
- 2022-04-13 10:03:01下载
- 积分:1
-
The programm calculate Gauss
The programm calculate Gauss-Markov process 1-st and 2-nd order
- 2022-11-21 20:00:03下载
- 积分:1
-
C/C++教程,源程序实例,小而精好实用
C/C++教程,源程序实例,小而精好实用-C/C tutorial, example source, a small but good practical
- 2023-03-11 06:40:03下载
- 积分:1