In Pico-8 I can do this:
d={ "one", "two", "three" } print(d[1][2]) |
This would return the 'n' from 'one'
Picotron returns nil.
I have to use
sub(d[r],c,c) |
Has lua syntax changed or is this a Picotron thing?
When printing text on two lines I have found instances where the end of the strings are not pixel aligned. It appears some characters are a different width. I haven't investigated in detail but is this the case or is it maybe a bug? We are talking one or two pixels over 20+ character strings.
Is it possible to get string lengths that ignore P8SCII codes?
t="\F6HELLO"
print(#t) returns 7
I would like it to return 5
Thanks,
Jim
Hi all,
My third complete cart and most ambitious.
Wouldn't be possible without Pico-8.
Attempt at 2600 Pitfall. Tried to get graphics and timing as close to original as possible. All 255 screens are here with he exact same layout of ladders, pits, alligators, treasures, and so on.
Hope you like.
Jim
.
.
This one is an oldie that some may remember. Wasn't the greatest of arcade games but for a time as a youth it was the arcade game I had the most access too.
Tried to make this pretty faithful to the original although I think it is too easy. Per the original there are two alien deployment patterns that alternate on levels. The large yellow UFO's also deploy as in the original. And the point value for the UFO's changes depending on the shot number you are on. Hint: 16th shot for max value.
.
.
.
My first Pico complete game.
Procedurally generated levels
In game instructions
TextBox utility function: define text box location. Word wraps text passed to it. Control codes for changing colors, centering text on a line, and newline.