Just a WIP of my puzzle platformer Torch & Key. Uses lovely assets by AchieGameDev https://linktr.ee/AchieGameDev and ElectricLemon https://electriclemon.itch.io/stick-tiles-sprites
Will eventually contain 7 levels, each introducing a new mechanic or application of a mechanic. Torches allow passage through red tiles and can be carried or placed. Eventually I will add keys which will allow passage through doors, and when dropped are thrown a short distance and have gravity. Only one torch or one key can be carried at a time. In addition, there will be roaming enemies which become passive when lit by torchlight. Enemies will also be able to carry and roam with torches. And finally, each level will contain arbitrary gems to pick up. Eventually all these mechanics will come together to create interesting problems for the player to solve.
While snooping around the Pico8 execution options, I ran into an SDL error while trying to scale Pico 8 to fit my Pi's screen using "-pixel_perfect 0"
The SDL error is as follows:
SDL Error: The video driver did not add any displays ** FATAL ERROR: Unable to initialize SDL |
For some context, I am running my Pi's video output via composite. I assumed this error was related to that, so I tested it once again using the default HDMI output. The SDL error returned exactly the same.
To test further, I attempted executing Pico8 from a CLI environment instead of desktop. This returned the exact same SDL error every time, even without any options. I tried this for HDMI and composite.
To make sure this wasn't something wrong with my own Pi, I performed a reinstall of Pi OS and tried each iteration of the problem once again to the same results.
I still suspect I may be missing something on my end, but I think this is enough evidence to report officially as a bug. I'm no longer concerned about "-pixel_perfect 0" not working as I believe I've found an alternative, but I am concerned that starting Pico8 from a CLI environment doesn't seem to work on Pi.