funcode——黄金矿工


基于funcode平台的黄金矿工游戏,拓展:可实现抓取自己名字操作
资源截图
代码片段和文件信息
//---------------------------------------------------------------------------------------------
// 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();



 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        498  2018-04-08 21:08  HUANGJINBincommoncommonConfig.xml

     文件      87626  2018-04-08 21:08  HUANGJINBincommondatafonts@Batang 80 (ansi).uft

     文件      81836  2018-04-08 21:08  HUANGJINBincommondatafonts@Dotum 80 (ansi).uft

     文件      86158  2018-04-08 21:08  HUANGJINBincommondatafonts@?????? 80 (ansi).uft

     文件      86158  2018-04-08 21:08  HUANGJINBincommondatafonts@??????? 80 (ansi).uft

     文件      97039  2018-04-08 21:08  HUANGJINBincommondatafontsAlgerian 80 (ansi).uft

     文件      11766  2018-04-08 21:08  HUANGJINBincommondatafontsArial 12 (ansi).uft

     文件      16585  2018-04-08 21:08  HUANGJINBincommondatafontsArial 14 (ansi).uft

     文件      64592  2018-04-08 21:08  HUANGJINBincommondatafontsArial 80 (ansi).uft

     文件      13875  2018-04-08 21:08  HUANGJINBincommondatafontsArial Bold 20 (ansi).uft

     文件      11290  2018-04-08 21:08  HUANGJINBincommondatafontsLucida Console 12 (ansi).uft

     文件        365  2014-11-11 21:06  HUANGJINBincommondatahelp2. License.hfl

     文件       9458  2014-11-11 21:06  HUANGJINBincommongamescriptsalign.cs

     文件       8724  2018-04-04 19:20  HUANGJINBincommongamescriptsalign.cs.dso

     文件       2350  2014-11-11 21:06  HUANGJINBincommongamescriptsaudio.cs

     文件       1566  2018-04-04 19:20  HUANGJINBincommongamescriptsaudio.cs.dso

     文件       1581  2014-11-11 21:06  HUANGJINBincommongamescriptscanvas.cs

     文件        836  2018-04-04 19:20  HUANGJINBincommongamescriptscanvas.cs.dso

     文件       4671  2014-11-11 21:06  HUANGJINBincommongamescriptsclientchatClient.cs

     文件       1773  2014-11-11 21:06  HUANGJINBincommongamescriptsclientclient.cs

     文件       1610  2014-11-11 21:06  HUANGJINBincommongamescriptsclientmessage.cs

     文件       4194  2014-11-11 21:06  HUANGJINBincommongamescriptsclientserverConnection.cs

     文件       5447  2014-11-11 21:06  HUANGJINBincommongamescriptscommon.cs

     文件       3911  2018-04-04 19:20  HUANGJINBincommongamescriptscommon.cs.dso

     文件       3022  2014-11-11 21:06  HUANGJINBincommongamescriptscursor.cs

     文件       1395  2018-04-04 19:20  HUANGJINBincommongamescriptscursor.cs.dso

     文件      10428  2014-11-11 21:06  HUANGJINBincommongamescriptskeybindings.cs

     文件       6040  2018-04-04 19:20  HUANGJINBincommongamescriptskeybindings.cs.dso

     文件      14476  2014-11-11 21:06  HUANGJINBincommongamescriptslevelManagement.cs

     文件       8867  2018-04-04 19:20  HUANGJINBincommongamescriptslevelManagement.cs.dso

............此处省略168个文件信息

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

发表评论

评论列表(条)