Before I set out on a long journey of code, I wanted to know if Pico-8 had the ability to do something like this:
a=sum("(3+4)*2") print(a) |
Where the answer would come back 12. And yes, the statement needs to be in a string and be able to handle one or more parentheses math.
The TRS-80 could do this:
INPUT A$ PRINT A$ |
And B4GL could as well.
INPUT A$ CODE("PRINT "+A$) |


I've noticed some games (such as https://krajzeg.itch.io/dank-tomb... and my current game I'm working on) perform very poorly in Firefox on Mac - low and uneven frame rates. The same games run fine on Firefox/Linux and Chrome or Safari on Mac.
Is this a known issue for Pico8, or is there anyway I can troubleshoot this?
In the browser's dev console it starts with >codo_init, platform: Emscripten
So perhaps it's an Emscripten issue and I'll have a look over there.
Thanks!

PICO-8 iPhone Shell
This is a work-in-progress iPhone Shell for PICO-8 featuring
- sound
- real gamepad controls (digital and analog)
- pixel-perfect scaling
- low latency (run loop reading input runs 60 times a second)
Note: I am abandoning this project because I now use the ClockworkPi Gameshell.

It uses the Gamepad API that was introduced with iOS 11 and was tested with the following MiFI-Controllers:
Controller | Working |
---|---|
Kanex GoPlay Sidekick | Yes |
SteelSeries Stratus | Yes after Firmware Update |
Logitech PowerShell Controller | No |
No more touch support at the moment.
On the iPhone SE you have pixel-perfect scaling. Since the iPhone SE's display is 640 pixels wide you can do a 5x integer scale for razor sharp pixels. For a more full-screen experience turn the phone sideways.


Made for Spooky September 4 Color Jam.
You're a bat. Flap your wings with Z. Boost for 100 coins with X. Fly as far as you can, and collect coins as you go.
Changes
revision 2: Fixed but where you could go forever if you dropped off the screen
revision 3: Add boost. Add effects. Add (temporary) sounds.
revision 4: Final version for the jam! (-ish)


Day 3 of PicOctober. Added some vines, took a suggestion to use the sprite-sheet for characters instead of strings from @dw817. Added some bound tests on the pumpkin.



Hmm ... You press ENTER in the BBS and it pauses, okay, run it local or use the spacebar instead.
Also, use the "=" as the backspace key and the "[" key for letter P.
As you know or should by watching how to write game in Pico-8 or doing so yourself, there is a nifty function called FGET() which will let you retrieve whether or not up to 8-flags are being set for a sprite of your choosing.
 compact_000.png)
You can see pointing right at them HERE.
So how do they work ? Very simply. You click on them, up to 8 and using the command FGET followed by the sprite # you get the value of TRUE or FALSE whether or not that particular flag # (0-7) is set.
Alright so you've been using PICO for a-while now and have gotten used to the limitations on the sound. But then occasionally you come across a snazzy cart that has sound you are CERTAIN is just not possible with the limitations of Pico-8, or so you think.
So what gives ?
Well let's see if we can discover what's going on. First off save off the work on your current cart and REBOOT.

Let's start with a clean slate. Press the ESC key and ALT-RIGHT arrow key three times and TAB until you are at the sound editor.

Let's start with something basic. The rain sound. To make this, type out the following. You can create that "C" with letter Z.

Then click on the right-most number of LOOP to 1 so it shows LOOP 00 01 and press SPACEBAR to hear it.
Familiar. But is that as low pitch as the sound can go ? Well, yes and no.
Let's now discover something new. Hit SPACEBAR again to stop playing. Now, do you see that tiny little button just below the 2nd number for LOOP. Well, click on it.

