登录
首页 » Windows开发 » 一个用C++写的游戏,可在VC下编译,也可兼容其它C++编译器

一个用C++写的游戏,可在VC下编译,也可兼容其它C++编译器

于 2022-03-24 发布 文件大小:338.20 kB
0 329
下载积分: 2 下载次数: 1

代码说明:

一个用C++写的游戏,可在VC下编译,也可兼容其它C++编译器-One with C++ Write the game, can be compiled under VC, but also compatible with other C++ Compiler

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 用VC6编写结构软件(附一结构工具箱源代码)
    用VC6编写结构软件(附一结构工具箱源代码)-Fu met写using VC6 stool glass 软 ( sting instance, having poor eyesight Tools stool Fu Tai Tungsten measurements )
    2023-07-11 09:10:03下载
    积分: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
  • 计算机图形学-贝齐曲线
    计算机图形学 贝齐曲线 小车模型 课程作业 可直接在VC6.0下运行
    2023-08-05 04:45:02下载
    积分:1
  • utf8 and coding conversion between Chinese characters, Chinese character coding...
    utf8和汉字之间编码的转换,便于开发统一汉字编码程序-utf8 and coding conversion between Chinese characters, Chinese character coding to facilitate the development of uniform procedures
    2023-01-10 17:30:04下载
    积分:1
  • java data mining 2006
    java data mining 2006
    2022-02-12 08:21:45下载
    积分:1
  • Componete util para la edicion de todo tipo de texto, es un poderoso strings
    Componete util para la edicion de todo tipo de texto, es un poderoso strings
    2023-03-27 23:15:03下载
    积分:1
  • 用代码在程序运行阶段建立MDB数据库文件
    用代码在程序运行阶段建立MDB数据库文件-With the establishment of the operational phase of the program code MDB database file
    2022-03-02 09:58:10下载
    积分:1
  • DDR VB source code of the simulation program. . . . . . . . . . . .
    跳舞机的模拟程序VB源码-DDR VB source code of the simulation program. . . . . . . . . . . .
    2022-02-03 02:54:07下载
    积分:1
  • 只用简单的代码的和最基本的控件,实现对图片批量预览图片,修改图片和对图片进行转移...
    只用简单的代码的和最基本的控件,实现对图片批量预览图片,修改图片和对图片进行转移-using only simple code and the most basic controls and achieve volume preview of pictures pictures, photo and picture transfer
    2023-09-07 18:45:04下载
    积分:1
  • Realize this procedure the volume control, such as the size and whether the volu...
    此程序实现的音量的控制,比如音量的大小和是否静音等-Realize this procedure the volume control, such as the size and whether the volume mute, etc.
    2022-02-13 09:23:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载