So, I recently built myself a physical PICO-8 console that hangs on the wall. It switches to a screensaver mode when it's not in use, and switches to splore to play games when someone connects a joystick:
(ignore the flickering, that's just the refresh rate)
I had the idea to periodically display a weather dashboard in between the different screensaver carts it cycles through when it's not being used. So, I went searching the BBS for options, only to find none exist. When I began exploring why, I quickly learned that interacting with APIs is impossible directly, and that I would need to feed PICO-8 the weather data at runtime. For my purposes, that's actually not a problem at all, since I can set up a cron job to refresh the data in a text file, and then just feed the updated file into the cart each time it runs.
The problem really is, I'm not a lua dev. I know this about myself. I'm not good at it, and I'm not patient enough to become good at it. The moment I encounter the need for an array, my brain fuzzes over and I move on. So, I'd love to collaborate! I have the basic building blocks of what I have in mind ready to go. I have example code to work from to get data from text file into the cart. I have the weather data API and sample calls I can make. I also have an example of the dashboard visuals I'm aiming for: https://github.com/lmarzen/esp32-weather-epd
I can make the sprites (from these) and help make UI decisions. But what I can't really do (well) is sling the necessary code to turn the idea into reality.
It shouldn't actually be that complicated of a cart, honestly. The hardest part will be parsing the data fed in from the text file, and then acting on it to render the weather dashboard.
If you've been curious about learning how to pull in data to pico8 via serial/stdin and in the process help fill a gap on the bbs (especially for folks like me who build pico-8 arcade cabinets), let's work together. :)
[Please log in to post a comment]