Log In  

Hello there!

I've been dabbling in pico-8 for about 2 years now, I've only just got into proper development with it these past few months though. I'm wondering if there might be a way to get URL parameters in the browser to use in the cartridge?

I've managed to compress my level design to a string of about 25 characters, and I thought it would be really cool for players to easily share their levels by simply copying the URL. Of course I would need to host the cartridge on my own site, perhaps there's a way to run the cartridge with parameters using JavaScript?

P#65977 2019-07-20 17:22


Pico within a web-page supports communitation with the outside world via GPIO (see manual). Essentially you can pass as much information as you want to your running program.

P#65984 2019-07-20 20:17

Oh brilliant, this is perfect. Thank you! Evidently I just looking for the wrong key words in the manual. :)

P#65988 2019-07-20 20:58

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-01-29 04:25 | 0.008s | 4194k | Q:13