13 #include "GDCore/String.h"
18 class AbstractFileSystem;
21 struct PreviewExportOptions;
33 Exporter(gd::AbstractFileSystem& fileSystem,
34 gd::String gdjsRoot_ =
"./JsPlatform");
64 codeOutputDir = codeOutputDir_;
68 gd::AbstractFileSystem&
73 gd::String codeOutputDir;
Export a project or a layout to a playable HTML5/Javascript based game.
Definition: Exporter.h:31
const gd::String & GetLastError() const
Return the error that occurred during the last export.
Definition: Exporter.h:56
void SetCodeOutputDirectory(gd::String codeOutputDir_)
Change the directory where code files are generated.
Definition: Exporter.h:63
bool ExportWholePixiProject(const ExportOptions &options)
Export the specified project, using Pixi.js.
Definition: Exporter.cpp:53
bool ExportProjectForPixiPreview(const PreviewExportOptions &options)
Create a preview for the specified options.
Definition: Exporter.cpp:47
The options used to export a project.
Definition: ExporterHelper.h:324
The options used to export a project for a preview.
Definition: ExporterHelper.h:34