<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 遠程工作者 編譯游戲時,通常使用 “本地” 工作程序,即安裝了*GameMaker Studio 2*的計算機。但是,在某些情況下,你可能需要使用另一臺計算機來構建項目。For example, if you are working on a Mac and you want to build aWindowsproject, then you would want to configure a**Remote Worker**and have aWindows PCdo the build. Essentially, when you use a remote worker,*GameMaker Studio 2*will send all the required files from the (local) machine it is running on to the remote worker machine, and then use that machine to build the final executable for the project (either saving it on the remote machine, or returning it to the local machine afterwards). 但是,在使用此功能之前,你必須在構建計算機上安裝某些工具并執行一些設置,我們將在此處解釋。 > **IMPORTANT!**You can set up a remote worker using a localWindows PCand remoteWindows PC, or between a local MacPCand a remoteWindows PC, but currently you**cannot**set up a localWindows(or Mac)PCand a remoteMac PC, ie: you cannot have a Mac remote worker, only aWindowsone. ### 初始設置 要設置遠程工作者,你需要首先將遠程工作者構建工具應用程序安裝到要使用的 PC 上。 你可以通過點擊本地計算機上[GameMaker Studio 2](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/1_overview/2_quick_start/menus/build_menu.html)中的*構建*菜單并選擇 “顯示遠程工作者安裝程序” 選項來找到此工具: :-: ![Build Menu Remote Worker Installer](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remoteworker_menu.png) 或者,你可以單擊[目標平臺管理器](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/1_overview/2_quick_start/6_compiling.html)中的 “眼睛” 圖標,然后以這種方式獲取遠程工作者安裝程序: :-: ![Target Manager Remote Worker Installer](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remoteworker_targeteye.png) 安裝程序將被稱為 “GameMakerStudio-Remote-Installer-X.X.X.XXX.exe”,你需要將其復制到要用作遠程工作者的 PC(你*不*需要安裝*GameMaker Studio 2*,只需要安裝這個程序)。將其復制到構建 PC 后,按照屏幕上的提示進行安裝,安裝完成后,操作系統可能會要求你通過防火墻訪問網絡。 授予訪問權限后,安裝程序將在你的 Web 瀏覽器中打開一個頁面,你**必須記下此頁面上顯示的 IP 地址和端口號**,因為下一步將需要它。 :-: ![IP Address for Remote Worker](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remoteworker_ip.png) 你現在需要返回安裝了*GameMaker Studio 2*的計算機,然后單擊目標平臺管理按鈕![](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/icon_targetmanager.png)打開目標平臺管理窗口,然后轉到**工作者**部分并單擊*添加工作者*按鈕。![](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/icon_addworker.png)然后,這將打開以下窗口: :-: ![Add IP Address for Remote Worker](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remoteworker_add.png) 在這里,你需要為遠程工作者命名(這將在目標平臺管理的 “工作者” 列表中顯示),然后在*主機名*部分中,添加你之前從工作者計算機上顯示和記錄的地址及端口號。 如果一切正確,你現在應該收到一條消息,說明你可以成功連接到遠程工作者計算機。 安裝遠程工作者并連接到主 IDE 計算機后,你需要先為每個平臺設置**本地構建設置**(請參閱下面的部分以獲取更多詳細信息),然后才能編譯項目。 ### 遠程設置 設置頁面顯示遠程工作者應用程序的不同路徑和構建設置。 在設置的頂部,你有遠程工作者應用程序將使用的不同路徑,在執行任何其他操作之前,應根據需要修改這些路徑并將其設置為備用路徑(通常,默認路徑應該沒問題)。你可以使用以下任一方法訪問 “遠程工作者” 設置頁面: * 單擊遠程計算機瀏覽器中打開的 “遠程工作者” 頁面頂部的 “設置” 鏈接: * :-: ![Remote Worker Settings - Browser](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remoteworker_settingsbrowser.png) * 使用遠程工作者托盤圖標上的鼠標右鍵菜單打開遠程計算機瀏覽器中的設置: :-: ![Remote Worker Settings - System Tray](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remoteworker_settingstray.png) * 在本地計算機上,打開目標平臺管理器,然后單擊 “cog” 圖標![](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/icon_cog.png),在本地計算機的窗口中打開工作者設置: :-: ![Remote Worker Settings - GameMaker Studio 2 IDE](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remoteworker_settingside.png) 這將顯示設置頁面,你可以在其中查看(和設置)允許你設置構建項目的路徑的不同選項: :-: ![Remote Worker Settings](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remoteworker_settings.png) 本地編譯設置 在檢查要使用的遠程工作者應用程序的路徑之后,你可以設置(如果需要)不同的**本地構建設置**。不同的平臺需要在構建 PC 上安裝不同的構建工具,遠程工作者需要能夠通過 “設置” 頁面使用它們來構建游戲。這里的第一個設置是**常規**設置: :-: ![Local General Settings](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remote_worker_local_general.png) 你可以在此處設置幫助服務器的端口和調試器要使用的端口。如果在使用調試模塊時遇到任何連接問題,可以更改這些,但通常應保留其默認值。 你現在可以繼續為遠程工作者可以為其構建的平臺設置不同的選項: * **Windows** :-: ![Local Windows Settings](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remote_worker_local_windows.png) If you have access to theWindowstarget platform, you should be able to build using the remote worker on theWindows PCimmediately using the**VM**option. However if you wish to use the**YYC**then you will also need to set the path to**Visual Studio**on the build PC. For full details of how to set up aWindows PCto compile your projects, please see the following helpdesk article: * [Setting Up ForWindows](https://help.yoyogames.com/hc/en-us/articles/235186048-Setting-Up-For-Windows) * 編譯 一旦你設置了遠程工作者并完成了本地構建設置(請參閱上面的部分),你就可以開始使用它來編譯游戲了。為此,只需從目標平臺管理器列表中選擇遠程工作者,選擇要測試 / 編譯的平臺,以及任何其他選項(如編譯類型或配置),然后按**運行**![](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/icon_play.png)或**創建可以執行程序**![](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/icon_compile.png)。 **注意**:目標平臺管理器中的可用平臺將根據遠程工作者計算機的功能而更改,并非所有目標平臺都可用。另請注意,遠程工作者沒有 “測試” 目標。 如果你只是在運行項目,那么遠程工作者計算機將編譯并運行它,但如果你要創建可執行文件,則遠程工作程序將編譯該項目,然后將\*.zip文件返回到本地計算機以進行保存。 應該注意的是,使用遠程工作者時,調試按鈕![](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/icon_debug.png)和 清理![](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/icon_clean.png)按鈕都不可用。另請注意,你目前同時只能執行*一次*遠程構建。 在遠程計算機上安裝并運行遠程工作者后,它將作為圖標顯示在任務欄中,你可以右鍵單擊它以顯示以下選項: :-: ![Remote Worker RMB System Menu](https://gamemakerchina.github.io/GMS2_manual_en2ch/source/_build/2_interface/2_extras/images/remoteworker_rmbmenu.png) * **打開**:在默認瀏覽器中打開遠程工作者應用程序。 * **顯示日志**:在瀏覽器中打開遠程工作者的日志文件。 * **網絡設置**:你可以在此處過濾希望能夠將構建發送到遠程工作者計算機的計算機。每個過濾器可以是[CIDR 樣式](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)過濾器或允許的機器主機名。你應該知道,如果你希望多臺計算機連接到一個遠程工作線程,或者你正在混合連接類型(即:有線和 wifi),那么你可能需要在此處編輯 IP 允許范圍。 * **編輯設置**:打開 “遠程工作者” 設置菜單(在上面的*設置*部分中進行了說明)。 * **退出**:退出遠程工作者應用程序。這意味著在重新啟動遠程工作者應用程序之前,你無法再從本地計算機連接(或編譯)應用程序。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看