Exporting for Windows¶
Siehe auch
This page describes how to export a Godot project to Windows. If you're looking to compile editor or export template binaries from source instead, read Für Windows kompilieren.
The simplest way to distribute a game for PC is to copy the executable
(godot.exe
), compress the folder and send it to someone else. However, this
is often not desired.
Godot offers a more elegant approach for PC distribution when using the export
system. When exporting for Windows, the exporter takes all the project files and
creates a data.pck
file. This file is bundled with a specially optimized
binary that is smaller, faster and does not contain the editor and debugger.
Voraussetzungen¶
To enable code signing, you must have the
Windows 10 SDK
(on Windows) or osslsigncode (on any other OS) installed.Laden Sie die Godot-Exportvorlagen herunter. Verwenden Sie das Godot-Menü:
Editor> Exportvorlagen verwalten
.
Warnung
Wenn Sie für Windows mit eingebetteten PCK-Dateien exportieren, können Sie das Programm nicht signieren, da es dann kaputt geht.
Unter Windows ist die PCK-Einbettung auch dafür bekannt, dass sie bei Antiviren-Programmen zu Fehlalarmen führt. Daher wird empfohlen, es nicht zu verwenden, es sei denn, Sie verteilen Ihr Projekt über Steam, da es die Code-Signierung und Antiviren-Prüfungen umgeht.