程序设计实训funcode海底世界+太空战机


funcode程序 海底世界和太空战机源代码(C language)太空战机升级了界面和游戏难度,游戏画风相对清新,开始界面是像素风,外送old threads 音乐一条(适合作背景音)
资源截图
代码片段和文件信息
//---------------------------------------------------------------------------------------------
// 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(“
FunCode (“ @ getT2DVersion() @ “) initialized...“);

if( !isFunction( “initializeProject“ ) || !isFunction( “_initializeProject“ ) )
{
   messageBox( “Game Startup Error“ “‘initializeProject‘ function could not be found.“ @
               “
This could indicate a bad or corrupt common directory for your game.“ @
               “

The Game will now shutdown because it cannot properly function“ “Ok“ “MIStop“ );
   quit();
}

_initializeProject();

// Startup the project
initializeProject();



 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-06-25 21:23  太空战机
     目录           0  2018-06-10 18:25  太空战机Bin
     目录           0  2015-07-09 15:38  太空战机Bincommon
     文件         498  2018-06-20 20:48  太空战机BincommoncommonConfig.xml
     目录           0  2015-07-09 15:38  太空战机Bincommondata
     目录           0  2015-07-07 14:20  太空战机Bincommondataaudio
     目录           0  2018-06-08 22:58  太空战机Bincommondatafonts
     文件       11766  2018-06-10 19:00  太空战机BincommondatafontsArial 12 (ansi).uft
     文件       15741  2018-06-10 19:00  太空战机BincommondatafontsArial 14 (ansi).uft
     文件       61311  2018-06-10 19:00  太空战机BincommondatafontsArial 80 (ansi).uft
     文件       13875  2018-06-10 19:00  太空战机BincommondatafontsArial Bold 20 (ansi).uft
     文件       11290  2018-06-10 19:00  太空战机BincommondatafontsLucida Console 12 (ansi).uft
     文件       19633  2018-06-10 19:00  太空战机Bincommondatafontsuni 05_53 80 (ansi).uft
     文件       19633  2018-06-08 23:18  太空战机Bincommondatafontsuni 05_54 80 (ansi).uft
     目录           0  2015-07-09 15:38  太空战机Bincommondatahelp
     文件         365  2014-11-11 21:06  太空战机Bincommondatahelp2. License.hfl
     目录           0  2015-07-09 15:38  太空战机Bincommongamescripts
     文件        9458  2014-11-11 21:06  太空战机Bincommongamescriptsalign.cs
     文件        8724  2015-07-07 14:38  太空战机Bincommongamescriptsalign.cs.dso
     文件        2350  2014-11-11 21:06  太空战机Bincommongamescriptsaudio.cs
     文件        1566  2015-07-07 14:38  太空战机Bincommongamescriptsaudio.cs.dso
     文件        1581  2014-11-11 21:06  太空战机Bincommongamescriptscanvas.cs
     文件         836  2015-07-07 14:38  太空战机Bincommongamescriptscanvas.cs.dso
     目录           0  2015-07-09 15:38  太空战机Bincommongamescriptsclient
     文件        4671  2014-11-11 21:06  太空战机BincommongamescriptsclientchatClient.cs
     文件        1773  2014-11-11 21:06  太空战机Bincommongamescriptsclientclient.cs
     文件        1610  2014-11-11 21:06  太空战机Bincommongamescriptsclientmessage.cs
     文件        4194  2014-11-11 21:06  太空战机BincommongamescriptsclientserverConnection.cs
     文件        5447  2014-11-11 21:06  太空战机Bincommongamescriptscommon.cs
     文件        3911  2015-07-07 14:38  太空战机Bincommongamescriptscommon.cs.dso
     文件        3022  2014-11-11 21:06  太空战机Bincommongamescriptscursor.cs
............此处省略434个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)