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

1

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]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-08-23 21:02 | 0.025s | 2097k | Q:13