Exporting for Windows

Ver también

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 Compiling for Windows.

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.

Requerimientos

  • To enable code signing, you must have the Windows 10 SDK (on Windows) or osslsigncode (on any other OS) installed.

  • Descarga las plantillas de exportación de Godot. Usa el menu de Godot: Editor > Manage Export Templates.

Advertencia

Si exporta para Windows con archivos PCK incrustados, no podrá firmar el programa, ya que se romperá.

En Windows, también se sabe que la incrustación de PCK provoca falsos positivos en los programas antivirus. Por lo tanto, se recomienda evitar su uso a menos que esté distribuyendo su proyecto a través de Steam, ya que evita la firma de código y las comprobaciones de antivirus.