资源简介
该项目是基于FunCode平台,运用C++语言开发的一个游戏。玩家通过控制键盘上的按键来发射炮弹击中右边的目标,直到目标被击中直至摧毁。

代码片段和文件信息
//---------------------------------------------------------------------------------------------
// Torque Game Builder
// Copyright (C) GarageGames.com Inc.
//---------------------------------------------------------------------------------------------
/// Player Initialization Procedure
///
function onstart()
{
}
function onExit()
{
}
//---------------------------------------------------------------------------------------------
// Load the paths we need access to
//---------------------------------------------------------------------------------------------
function loadPath( %path )
{
setModPaths( getModPaths() @ “;“ @ %path );
exec(%path @ “/main.cs“);
}
//---------------------------------------------
// Do some bootstrap voodoo to get the game to
// the initializeProject phase of loading and
// pass off to the user
//---------------------------------------------
// Output a console log
setLogMode(6);
loadPath( “common“ );
loadPath( “game“ );
onstart();
// Initialized
echo(“\nFunCode (“ @ getT2DVersion() @ “) initialized...“);
if( !isFunction( “initializeProject“ ) || !isFunction( “_initializeProject“ ) )
{
messageBox( “Game Startup Error“ “‘initializeProject‘ function could not be found.“ @
“\nThis could indicate a bad or corrupt common directory for your game.“ @
“\n\nThe Game will now shutdown because it cannot properly function“ “Ok“ “MIStop“ );
quit();
}
_initializeProject();
// Startup the project
initializeProject();
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-07-02 13:48 源程序代码\
目录 0 2014-07-02 13:48 源程序代码\Bin\
文件 159846 2014-06-27 03:30 源程序代码\Bin\Game.exe
文件 576512 2012-12-27 17:36 源程序代码\Bin\Game.pdb
目录 0 2014-07-02 13:48 源程序代码\Bin\common\
文件 498 2014-06-24 23:15 源程序代码\Bin\common\commonConfig.xm
目录 0 2014-07-02 13:48 源程序代码\Bin\common\data\
目录 0 2017-05-08 15:27 源程序代码\Bin\common\data\audio\
目录 0 2014-07-02 13:48 源程序代码\Bin\common\data\fonts\
文件 11766 2014-06-24 23:15 源程序代码\Bin\common\data\fonts\Arial 12 (ansi).uft
文件 11219 2014-06-24 23:15 源程序代码\Bin\common\data\fonts\Arial 14 (ansi).uft
文件 70218 2014-06-24 23:15 源程序代码\Bin\common\data\fonts\Arial 80 (ansi).uft
文件 13875 2014-06-24 23:15 源程序代码\Bin\common\data\fonts\Arial Bold 20 (ansi).uft
文件 11290 2014-06-24 23:15 源程序代码\Bin\common\data\fonts\Lucida Console 12 (ansi).uft
目录 0 2014-06-30 13:07 源程序代码\Bin\common\data\help\
文件 365 2011-09-19 11:00 源程序代码\Bin\common\data\help\2. License.hfl
目录 0 2014-07-02 13:48 源程序代码\Bin\common\gamesc
文件 9458 2011-09-19 11:00 源程序代码\Bin\common\gamesc
文件 8724 2014-06-16 14:13 源程序代码\Bin\common\gamesc
文件 2350 2011-09-19 11:00 源程序代码\Bin\common\gamesc
文件 1566 2014-06-16 14:13 源程序代码\Bin\common\gamesc
文件 1581 2011-09-19 11:00 源程序代码\Bin\common\gamesc
文件 836 2014-06-16 14:13 源程序代码\Bin\common\gamesc
目录 0 2014-07-02 13: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-06-16 14:13 源程序代码\Bin\common\gamesc
文件 3022 2011-09-19 11:00 源程序代码\Bin\common\gamesc
............此处省略178个文件信息
- 上一篇:股票模拟交易系统
- 下一篇:C++ Qt5 范例开发大全.pdf
相关资源
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- 安科瑞智能电能表MODBUS通讯程序 VC6
- 九齐单片机源码
- Qt画图工具源码(qgraphics draw)
- qt 串口助手源码
- modbus 主机源码
- 《LINUX C编程从初学到精通》光盘源码
- OLED驱动源码
- tm1650+stm32f103源码(board_tm1650.c)
- cheat engine 7.2源码
- CrySearch内存搜索器源码
- FTP客户端源码(c++)
- MFC视频播放器源码(支持avi/wma/mp3等格
- CreatBitmap图片合成源码
- vs2008 can总线通讯源码
- 宠物管理系统课程设计(源码+数据库
- Windows扩展命令程序(源码)
- c语言实现火车订票系统(控制台)源
- 鼠标连点器(附源码)
- c++ 简易贪吃蛇源码
- 杀毒软件源码
- 经典外汇智能交易程序Amazing3.1源码(
- 微型文件系统源码(FatFs)
- 海康私有流分析接口源码(附使用说
- VC6 USB开发源码
- SVM算法实现(源码+文档)
- 俄罗斯方块游戏源码(Tetris)
- 步进电机控制(源码+文档)
- c++ 定时关机程序源码
评论
共有 条评论