mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-05 14:10:19 +03:00
239 lines
12 KiB
Plaintext
239 lines
12 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 2014-2019, Juan Linietsky, Ariel Manzur and the Godot community (CC-BY 3.0)
|
|
# This file is distributed under the same license as the Godot Engine package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: Godot Engine latest\n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2019-12-21 12:27+0100\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:4
|
|
msgid "Exporting"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:7
|
|
msgid "Overview"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:9
|
|
msgid "Now that you have a working game, you probably want to share your success with others. However, it's not practical to ask your friends to download Godot just so they can open your project. Instead, you can *export* your project, converting it into a \"package\" that can be run by anyone."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:14
|
|
msgid "The way you export your game depends on what platform you are targeting. In this tutorial, you'll learn how to export the \"Dodge the Creeps\" game for a variety of platforms. First, however, we need to make some changes to the way the game works."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:19
|
|
msgid "If you haven't made \"Dodge the Creeps\" yourself yet, please read :ref:`doc_your_first_game` before continuing with this tutorial."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:23
|
|
msgid "Preparing the project"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:25
|
|
msgid "In \"Dodge the Creeps\" we used keyboard controls to move the player's character. This is fine if your game is being played on a PC platform, but on a phone or tablet, you need to support touchscreen input. Because a click event can be treated the same as a touch event, we'll convert the game to a click-and-move input style."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:31
|
|
msgid "By default Godot emulates mouse input from touch input. That means if anything is coded to happen on a mouse event, touch will trigger it as well. If you wish to disable that for whatever reason, or emulate touch from mouse input, you can do that in the \"Project Settings\" under *Input Devices* and *Pointing*"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:38
|
|
msgid "Before we change the input method, in the project settings go to *Display*, then click on *Window*. In the *Stretch* options, set *Mode* to \"2d\" and *Aspect* to \"keep\". This ensures that the game scales consistently on different sized screens."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:44
|
|
msgid "Next, we need to modify the ``Player.gd`` script to change the input method. We'll remove the key inputs and make the player move towards a \"target\" that's set by the touch (or click) event."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:48
|
|
msgid "Here is the full script for the player, with comments noting what we've changed:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:123
|
|
msgid "Export templates"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:125
|
|
msgid "In order to export, you need to download the *export templates* from the http://godotengine.org/download. These templates are optimized versions of the engine without the editor pre-compiled for each platform . You can also download them in Godot by clicking on *Editor -> Manage Export Templates*:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:132
|
|
msgid "In the window that appears, you can click \"Download\" to get the template version that matches your version of Godot."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:137
|
|
msgid "If you upgrade Godot, you must download templates that match the new version or your exported projects may not work correctly."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:141
|
|
msgid "Export presets"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:143
|
|
msgid "Next, you can configure the export settings by clicking on *Project -> Export*:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:147
|
|
msgid "Create a new export preset by clicking \"Add...\" and selecting a platform. You can make as many presets as you like with different settings."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:150
|
|
msgid "At the bottom of the window are two buttons. \"Export PCK/ZIP\" only creates a packed version of your project's data. This doesn't include an executable so the project can't be run on its own."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:154
|
|
msgid "The second button, \"Export Project\", creates a complete executable version of your game, such as an `.apk` for Android or an `.exe` for Windows."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:157
|
|
msgid "In the \"Resources\" and \"Features\" tabs, you can customize how the game is exported for each platform. We can leave those settings alone for now."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:161
|
|
msgid "Exporting by platform"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:163
|
|
msgid "In this section, we'll walk through the process for each platform, including any additional software or requirements you'll need."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:167
|
|
msgid "PC (Linux/macOS/Windows)"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:169
|
|
msgid "Exporting PC platforms works the same across the three supported operating systems. Open the export window and click \"Add..\" to create the preset(s) you want to make. Then click \"Export Project\" and choose a name and destination folder. Choose a location *outside* of your project folder."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:174
|
|
msgid "Click \"Save\" and the engine will build the export files."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:176
|
|
msgid "When exporting for macOS, if you export on a macOS computer, you'll end up with a `.dmg` file, while using Linux or Windows produces a `.zip`. In either case, the compressed file contains a macOS `.app` that you can double-click and run."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:181
|
|
msgid "On Windows, if you want your exported executable to have a different icon than the default one, you need to change it manually. See: :ref:`doc_changing_application_icon_for_windows`."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:186
|
|
msgid "Android"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:188
|
|
msgid "Mobile devices come with a wide variety of capabilities. In most cases, Godot's default settings will work, but mobile development is sometimes more art than science, and you may need to do some experimenting and searching for help in order to get everything working."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:194
|
|
msgid "Before you can export your project for Android, you must download the following software:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:197
|
|
msgid "Android SDK: https://developer.android.com/studio/"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:198
|
|
msgid "Java JDK: http://www.oracle.com/technetwork/java/javase/downloads/index.html"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:200
|
|
msgid "When you run Android Studio for the first time, click on *Configure -> SDK Manager* and install \"Android SDK Platform Tools\". This installs the `adb` command-line tool that Godot uses to communicate with your device."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:204
|
|
msgid "Next, create a debug keystore by running the following command on your system's command line:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:211
|
|
msgid "Click on *Editor -> Editor Settings* in Godot and select the *Export/Android* section. Here, you need to set the paths to the Android SDK applications on your system and the location of the keystore you just created."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:217
|
|
msgid "Now you're ready to export. Click on *Project -> Export* and add a preset for Android (see above)."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:220
|
|
msgid "Click the \"Export Project\" button and Godot will build an APK you can download on your device. To do this on the command line, use the following:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:227
|
|
msgid "Your device may need to be in *developer mode*. Consult your device's documentation for details."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:230
|
|
msgid "If your system supports it, connecting a compatible Android device will cause a \"One-click Deploy\" button to appear in Godot's playtest button area:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:235
|
|
msgid "Clicking this button builds the APK and copies it onto your device in one step."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:238
|
|
msgid "iOS"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:240
|
|
msgid "In order to build your game for iOS, you must have a computer running macOS with Xcode installed."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:243
|
|
msgid "Before exporting, there are some settings that you *must* complete for the project to export successfully. First, the \"App Store Team Id\", which you can find by logging in to your Apple developer account and looking in the \"Membership\" section."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:247
|
|
msgid "You must also provide icons and splash screen images as shown below:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:251
|
|
msgid "Click \"Export Project\" and select a destination folder."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:253
|
|
msgid "Once you have successfully exported the project, you'll find the following folders and files have been created in your selected location:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:258
|
|
msgid "You can now open the project in Xcode and build the project for iOS. Xcode build procedure is beyond the scope of this tutorial. See https://help.apple.com/xcode/mac/current/#/devc8c2a6be1 for more information."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:264
|
|
msgid "HTML5 (web)"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:266
|
|
msgid "Click \"Export Project\" on the HTML5 preset. We don't need to change any of the default settings."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:269
|
|
msgid "When the export is complete, you'll have a folder containing the following files:"
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:274
|
|
msgid "Viewing the `.html` file in your browser lets you play the game. However, you can't open the file directly, it needs to be served by a web server. If you don't have one set up on your computer, you can search online to find suggestions for your specific OS."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:279
|
|
msgid "Point your browser at the URL where you've placed the html file. You may have to wait a few moments while the game loads before you see the start screen."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:284
|
|
msgid "The console window beneath the game tells you if anything goes wrong. You can disable it by setting \"Export With Debug\" off when you export the project."
|
|
msgstr ""
|
|
|
|
#: ../../docs/getting_started/step_by_step/exporting.rst:287
|
|
msgid "While WASM is supported in all major browsers, it is still an emerging technology and you may find some things that don't work. Make sure you have updated your browser to the most recent version, and report any bugs you find at the `Godot Github repository <https://github.com/godotengine/godot/issues>`_."
|
|
msgstr ""
|
|
|