• 大小: 1.08MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-26
  • 语言: 其他
  • 标签: funcode  黄金矿工  c++  

资源简介

基于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(“\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();



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

     文件        498  2018-04-08 21:08  HUANGJIN\Bin\common\commonConfig.xml

     文件      87626  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\@Batang 80 (ansi).uft

     文件      81836  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\@Dotum 80 (ansi).uft

     文件      86158  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\@?????? 80 (ansi).uft

     文件      86158  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\@??????? 80 (ansi).uft

     文件      97039  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\Algerian 80 (ansi).uft

     文件      11766  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\Arial 12 (ansi).uft

     文件      16585  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\Arial 14 (ansi).uft

     文件      64592  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\Arial 80 (ansi).uft

     文件      13875  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\Arial Bold 20 (ansi).uft

     文件      11290  2018-04-08 21:08  HUANGJIN\Bin\common\data\fonts\Lucida Console 12 (ansi).uft

     文件        365  2014-11-11 21:06  HUANGJIN\Bin\common\data\help\2. License.hfl

     文件       9458  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\align.cs

     文件       8724  2018-04-04 19:20  HUANGJIN\Bin\common\gamescripts\align.cs.dso

     文件       2350  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\audio.cs

     文件       1566  2018-04-04 19:20  HUANGJIN\Bin\common\gamescripts\audio.cs.dso

     文件       1581  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\canvas.cs

     文件        836  2018-04-04 19:20  HUANGJIN\Bin\common\gamescripts\canvas.cs.dso

     文件       4671  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\client\chatClient.cs

     文件       1773  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\client\client.cs

     文件       1610  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\client\message.cs

     文件       4194  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\client\serverConnection.cs

     文件       5447  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\common.cs

     文件       3911  2018-04-04 19:20  HUANGJIN\Bin\common\gamescripts\common.cs.dso

     文件       3022  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\cursor.cs

     文件       1395  2018-04-04 19:20  HUANGJIN\Bin\common\gamescripts\cursor.cs.dso

     文件      10428  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\keybindings.cs

     文件       6040  2018-04-04 19:20  HUANGJIN\Bin\common\gamescripts\keybindings.cs.dso

     文件      14476  2014-11-11 21:06  HUANGJIN\Bin\common\gamescripts\levelManagement.cs

     文件       8867  2018-04-04 19:20  HUANGJIN\Bin\common\gamescripts\levelManagement.cs.dso

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

评论

共有 条评论