I thought I would start an interesting thread, what kind of code have you written in Pico-8, the method you used, that is NOT included in the instructions. Some nifty tips and tricks you're certain other coders are not familiar with.
Here is one I came across in P8SCII:
Now the P8SCII help line shows here how to repeat characters
1 "\*" repeat next character P0 times. ?"\*3a" --> aaa
While it does indeed go up to 15 with the F
hexadecimal 15, did you know it goes beyond that ?
So you can write code like this:
print("\#2\*w ") |
Which will neatly display a field of 32-characters across with dark violet background.
In this you can highlight a line of text thus:
print("\#2highlighted text\*w ") |
The spaces after the "*" will not spill to the next line, giving you:
What code have you discovered in Pico-8 that is not listed with the general instructions you could share with others ?
https://pico-8.fandom.com/wiki/P8SCII_Control_Codes
"Some control codes accept arguments as characters printed immediately after the control code. In some cases, an argument is a single character that represents a numeric value. This character is typically a digit 0-9 (values 0-9) or a letter a-z (values 10-35). For attributes that accept larger values (such as audio settings), values above 35 can be entered with any P8SCII character above the higher z: { is 36, | is 37, 🐱 is 43, and so on."
[Please log in to post a comment]