资源简介
本资源为 在校时的课程设计项目 游戏功能已完善 但有多处设计不合理处 仅供参考
代码片段和文件信息
//---------------------------------------------------------------------------------------------
// 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 2017-02-27 12:43 AirplaneCpp\
目录 0 2017-02-27 12:43 AirplaneCpp\Bin\
目录 0 2017-02-27 12:43 AirplaneCpp\Bin\common\
文件 498 2017-02-21 11:32 AirplaneCpp\Bin\common\commonConfig.xm
目录 0 2017-02-27 12:43 AirplaneCpp\Bin\common\data\
目录 0 2017-02-14 16:10 AirplaneCpp\Bin\common\data\audio\
目录 0 2017-02-27 12:43 AirplaneCpp\Bin\common\data\fonts\
文件 11766 2017-02-21 11:32 AirplaneCpp\Bin\common\data\fonts\Arial 12 (ansi).uft
文件 11219 2017-02-21 11:32 AirplaneCpp\Bin\common\data\fonts\Arial 14 (ansi).uft
文件 61975 2017-02-21 11:32 AirplaneCpp\Bin\common\data\fonts\Arial 80 (ansi).uft
文件 13875 2017-02-21 11:32 AirplaneCpp\Bin\common\data\fonts\Arial Bold 20 (ansi).uft
文件 11290 2017-02-21 11:32 AirplaneCpp\Bin\common\data\fonts\Lucida Console 12 (ansi).uft
目录 0 2017-02-27 12:43 AirplaneCpp\Bin\common\data\help\
文件 365 2014-11-11 21:06 AirplaneCpp\Bin\common\data\help\2. License.hfl
目录 0 2017-02-27 12:43 AirplaneCpp\Bin\common\gamesc
文件 9458 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
文件 8724 2017-02-14 16:27 AirplaneCpp\Bin\common\gamesc
文件 2350 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
文件 1566 2017-02-14 16:27 AirplaneCpp\Bin\common\gamesc
文件 1581 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
文件 836 2017-02-14 16:27 AirplaneCpp\Bin\common\gamesc
目录 0 2017-02-27 12:43 AirplaneCpp\Bin\common\gamesc
文件 4671 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
文件 1773 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
文件 1610 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
文件 4194 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
文件 5447 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
文件 3911 2017-02-14 16:27 AirplaneCpp\Bin\common\gamesc
文件 3022 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
文件 1395 2017-02-14 16:27 AirplaneCpp\Bin\common\gamesc
文件 10428 2014-11-11 21:06 AirplaneCpp\Bin\common\gamesc
............此处省略233个文件信息
- 上一篇:CAD电气图库大全
- 下一篇:《零死角玩转STM32》完整版含初中高级
评论
共有 条评论