资源简介
funcode微信版打飞机实训指南,详细讲述了在funcode平台下用C++写出一个游戏的步骤。
代码片段和文件信息
// 子弹类方法的实现
#include “CommonClass.h“
#include “Bullet.h“
// 构造函数
Bullet::Bullet(const char *szName):CSprite(szName)
{
}
// 析构函数
Bullet::~Bullet()
{
}
// 设置子弹的生命值
// iHp为子弹的生命值
void Bullet::SetHp(const int iHp)
{
this->iHp = iHp;
}
// 设置子弹当前中心点的坐标
// fPointX表示X方向中心点的坐标,fPointY表示Y方向中心点的坐标
void Bullet::SetPoint(const float fPointX const float fPointY)
{
this->fPointX = fPointX;
this->fPointY = fPointY;
}
// 设置子弹X方向中心点的坐标
// fPointX表示X方向中心点的坐标
void Bullet::SetPointX(const float fPointX)
{
this->fPointX = fPointX;
}
// 设置子弹Y方向中心点的坐标
// fPointY表示Y方向中心点的坐标
void Bullet::SetPointY(const float fPointY)
{
this->fPointY = fPointY;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-06-04 14:48 微信版打飞机\
目录 0 2018-06-04 14:48 微信版打飞机\Bin\
目录 0 2018-06-04 14:48 微信版打飞机\Bin\common\
文件 498 2018-06-04 15:11 微信版打飞机\Bin\common\commonConfig.xm
目录 0 2018-06-04 14:48 微信版打飞机\Bin\common\data\
目录 0 2018-06-04 14:48 微信版打飞机\Bin\common\data\audio\
目录 0 2018-06-04 14:48 微信版打飞机\Bin\common\data\fonts\
文件 11766 2014-03-07 16:23 微信版打飞机\Bin\common\data\fonts\Arial 12 (ansi).uft
文件 11219 2014-03-07 16:23 微信版打飞机\Bin\common\data\fonts\Arial 14 (ansi).uft
文件 56777 2014-03-07 16:23 微信版打飞机\Bin\common\data\fonts\Arial 75 (ansi).uft
文件 13875 2014-03-07 16:23 微信版打飞机\Bin\common\data\fonts\Arial Bold 20 (ansi).uft
文件 11290 2014-03-07 16:23 微信版打飞机\Bin\common\data\fonts\Lucida Console 12 (ansi).uft
目录 0 2018-06-04 14:48 微信版打飞机\Bin\common\data\help\
文件 365 2011-09-19 11:00 微信版打飞机\Bin\common\data\help\2. License.hfl
目录 0 2018-06-04 14:48 微信版打飞机\Bin\common\gamesc
文件 9458 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
文件 8724 2014-01-24 17:33 微信版打飞机\Bin\common\gamesc
文件 2350 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
文件 1566 2014-01-24 17:33 微信版打飞机\Bin\common\gamesc
文件 1581 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
文件 836 2014-01-24 17:33 微信版打飞机\Bin\common\gamesc
目录 0 2018-06-04 14:48 微信版打飞机\Bin\common\gamesc
文件 4671 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
文件 1773 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
文件 1610 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
文件 4194 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
文件 5447 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
文件 3911 2014-01-24 17:33 微信版打飞机\Bin\common\gamesc
文件 3022 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
文件 1395 2014-01-24 17:33 微信版打飞机\Bin\common\gamesc
文件 10428 2011-09-19 11:00 微信版打飞机\Bin\common\gamesc
............此处省略193个文件信息
相关资源
- c++ 数字键盘设计(源码)
- Linux优先级时间片调度C++源码
- c++ RoyCardTableView 列表插入
- 电机控制平台(c++源码)
- PID 控制算法实现(fuzzy-PID-controller)
- c++ 获取当前执行位置的调用栈
- windows文件夹监控(c++源码)
- C++ tts开发 可调节语速,音量,切换语
- c++(3_MSGS.C)
- c++实现P2PDemo(点对点聊天)
- windows 串口升级工具(c++源码)
- ntmedsys.sys(c++源码)
- DSS中的RTSPclientLib程序
- c 常用的数据结构 (Errata for Ford/Top
- RTSPRTP C++ 源代码
-
c++ xm
lRPC - rip协议编程及代码实现
- ippicv_2017u3_win_intel64_general_20170822.zip
- Windows Sockets 编程及UR机器人通信数据
- 跟进域名解析IP地址(c++ builder)
- iCord-屏幕录制(c++源码)
- 用ADO 对C++连接ORACLE 数据库
- 基于libevent 实现的http服务C++(myhttp
- 多人聊天室c++源码(附服务器端以及
- c++ 不打开图档可替换字符串源码
- opencv:视频图片相互转换程序
- VC++图片控件(Picture Control)显示资源
- Opencv3中SIFT算法详解
- MFC图片操作(PRO5_PNGDlg.cpp)
- c++ 实现 凯撒加密、解密
评论
共有 条评论