![]() |
GDevelop JS Platform
Platform for developing HTML5/Javascript based games with GDevelop
|
Export a project or a layout to a playable HTML5/Javascript based game. More...
#include <Exporter.h>
Public Member Functions | |
Exporter (gd::AbstractFileSystem &fileSystem, gd::String gdjsRoot_="./JsPlatform") | |
bool | ExportProjectForPixiPreview (const PreviewExportOptions &options) |
Create a preview for the specified options. More... | |
bool | ExportWholePixiProject (const ExportOptions &options) |
Export the specified project, using Pixi.js. More... | |
const gd::String & | GetLastError () const |
Return the error that occurred during the last export. | |
void | SetCodeOutputDirectory (gd::String codeOutputDir_) |
Change the directory where code files are generated. More... | |
Export a project or a layout to a playable HTML5/Javascript based game.
bool gdjs::Exporter::ExportProjectForPixiPreview | ( | const PreviewExportOptions & | options | ) |
Create a preview for the specified options.
options | The options to generate the preview. |
bool gdjs::Exporter::ExportWholePixiProject | ( | const ExportOptions & | options | ) |
Export the specified project, using Pixi.js.
Called by ShowProjectExportDialog if the user clicked on Ok.
|
inline |
Change the directory where code files are generated.
By default, this is set to a temporary directory.