Log In  
Follow
z80jim

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?

2 comments



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.

6 comments



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

2 comments



Cart #mopuyowonu-0 | 2020-11-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
25

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

25
9 comments



.
.

Cart #bakafofide-0 | 2019-09-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

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.

7
29 comments



Cart #50253 | 2018-03-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Cart #50205 | 2018-03-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

Cart #50198 | 2018-03-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

.
.
.
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.

10
12 comments