Skip to content

arthuro555/gd-multi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gd-multi

Exports a GDevelop game to a console app.

Installation:

npm install gd-multi

Usage:

gdmulti -o OutputDirectory -p path/to/game.json

Usage of the exported game:

The exported game can be executed by using:

yarn #or npm install
node .

After the game finishes loading, you will get an REPL. This REPL has runtimeScene and runtimeGame exposed as globals.

API in the REPL:

The REPL has some APIs exposed. Right now the only one is renderFrameToAscii. It renders the last drawn frame of the game as ascii. It accepts as argument a filename that you can use to save the ascii image to a text file. It always returns the full string.

About

Run a GDevelop game in console.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project