Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Interesting, I tried it on a small game I've made and it fixed all missing function issues except tostr. There were no assets, which contained level design so the game is not playable, but it seems promising (even with the game assets I would still need to replace the missing sprite flag feature in TIC-80 by manually calling fset at the beginning of the game... not designer-friendly, but ok).

For remaining functions like tostr, you can get some inspiration from pico-love, since they also adapt PICO-8 functions to native Lua: api.lua

I use myself a simplified version for my unit tests that run directly in Lua (pico8api.lua). Since I don't test rendering, most render/audio methods are empty, though.

(1 edit) (+1)

I have a PHP script that will export the PICO-8 map to a .map file that can be imported into TIC-80. It will also export the sprite flag data into CSV to be used in a table for my own fset and fget functions (and looks like it would work with gl.itch/musurca's functions (__p8_sflags) as well).

I'd already written the few functions I needed before I found this excellent script. It has been handy to add one or two though.

I've just uploaded my first ever project to the PICO-8 BBS, and am now looking to write the camera code for the TIC-80 so that I can upload the port.

https://gist.github.com/neilpopham/938cb47239be25e6155f020a30681d5b

$ php convert.php foo.p8

Will create foo.p8.map and foo.p8.gff with CSV data.