Search code examples
javascriptazure-static-website-hostingpico-8

PICO-8 Export Command in a GitHub CI/CD Pipeline


I'm working a small PICO-8 game that I am embedding into my website. There's an export command I use to create the game files for the web player, but I can only run this command locally in the PICO-8 application.

Is there any support to run this export command in a terminal session on some Linux distro?


Solution

  • You are looking for the export command explained here: https://pico-8.fandom.com/wiki/Export. One format is html which can be embedded into a webpage.

    Also found this information for exporting from the command line (they read as headless): https://pico-8.fandom.com/wiki/RunningPico8

    pico8 [flags] [filename.p8]
    -export param_str : run EXPORT command in headless mode and exit (see Export)