Log In  
Follow
z80jim
[ :: Read More :: ]

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?

P#146002 2024-04-07 22:40

[ :: Read More :: ]

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.

P#145571 2024-04-03 12:48

[ :: Read More :: ]

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

P#114086 2022-07-08 21:47 ( Edited 2022-07-08 21:49)

[ :: Read More :: ]

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

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

P#84798 2020-11-28 15:24 ( Edited 2020-11-28 17:23)

[ :: Read More :: ]

.
.

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

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.

P#67637 2019-09-13 23:51 ( Edited 2019-09-14 00:41)

[ :: Read More :: ]

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

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

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

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

P#50199 2018-03-10 16:14 ( Edited 2018-03-13 12:38)

Follow Lexaloffle:          
Generated 2024-04-20 07:15:48 | 0.176s | Q:23