execute_file()


リソース操作

execute_file()

指定したファイルをスクリプトとして実行する

特記事項

この関数はStudio版からは廃止されています。

These are no longer supported in GameMaker:Studio.
これらの関数はGameMaker:Studioではサポートしないようにした。

1st, to be able to load a GML script into a target platform app would require a GML compiler written in same language as the target platform (which is what the GM8.1 windows runner has).
動的なGMLスクリプトのロードには、GM8.1のWindows Runnerが持っているのと同様のコンパイラが必要となってしまう。

We took the decision not to allow this for a few reasons:
我々はいくつかの理由でこれを許可しないという決定をした。

1st, it would significantly increase the amount of code in the runner, and push up the size of each game.
まず第一に、Runnerのコード量が多くなり、ゲームの実行ファイルのサイズが大きくなるだろう。

2nd, the amount of work involved in rewriting the parser+compiler into platform specific code was really too much for our timeframe.
第二に、それぞれのプラットフォーム固有のコード内パーサー・コンパイラの書き換えに必要な作業の量は、膨大となってしまうものだった。

3rd, you should really never need this feature. All commercial games get by without this, as do most apps. This is a pretty reassuring statistic that removal of it isn't the end of the world. If you need to load code, you can still do that with your own extensions.
第三に、これら関数は決して必要なものではないはずだ。これらを除去することで世界が終わるほどではない。
もし動的ロードが必要であれば、独自の拡張機能でそれと同等のことが実現できるはずだ。
 
For a full list of Obsolete Functions in the change from Legacy versions of GameMaker up to GameMaker:Studio, please see the article: Obsolete GM7/GM8 Functions And GameMaker:Studio.
従来のバージョンからGameMaker:Studioへの変更で廃止された関数の完全なリストについては、廃止したGM7/GM8関数の記事を参照して欲しい。

Wiki内検索

#search(): You already view a search box

MENU

ドキュメント

GMLリファレンス

2ch

その他



最新の30件

2024-03-07 2023-08-09 2023-05-21 2023-05-20 2023-05-04 2022-10-13 2022-07-21 2022-07-02 2022-04-06 2021-11-30 2021-11-26 2021-10-03 2021-09-23 2021-08-15 2021-06-02 2021-01-23 2021-01-21 2021-01-19 2021-01-18 2021-01-16 2021-01-15

人気の10件

今日の10件



これまでの訪問者: 1396
今日の訪問者: 1
昨日の訪問者: 1
閲覧者: 3