Quantcast
Channel: Felice [Lexaloffle Blog Feed]
Browsing all 22 articles
Browse latest View live

tostr() can only do decimal and hex

Right now, tostr(n) converts to decimal, and tostr(n,anything_except_nil_or_false) converts to hex.Could it use the optional second arg as a base if it's a number? e.g.>?tostr(255) 255...

View Article



API isn't quite consistent

In all but one case I can think of, PICO-8 specifies screen rectangles as X1,Y1-X2,Y2 (inclusive).The case where it doesn't is clip(x,y,w,h).This has always bugged me. But worse, I noticed recently...

View Article

Suggestion: "backups" command

Yo @zep,On discord and here on the BBS, we get a lot of people who basically need to get to the auto-backup of a cart they've lost somehow. It'd spare a lot of time writing blurbs like this if people...

View Article

Image may be NSFW.
Clik here to view.

Hitomezashi w/ Voronoi cells

I saw @zep's tweetcart and wanted to fiddle with it to produce something like the pattern on the bag he showed in the thread. I use Voronoi cells to apply multiple patterns to each image.Unfortunately,...

View Article

PICO-8 should NOT receive input when it's not the focused window

> Changed: Controller inputs are accepted even when PICO-8 is not the foreground applicationPLEASE change this back. This is totally counter to how apps are supposed to work in a windowing...

View Article


Image may be NSFW.
Clik here to view.

Bug? Table stringifies differently if it has a metatable

I don't know if this is expected behavior, but I thought I should ask:Is it expected that stringifying the table var/ref will give different results when it has a (blank?) metatable attached?

View Article

Unbalanced API: pairs vs. ipairs

@zepHey! Remember when I suggested putting next in the globals, since we could get to it anyway by doing next=pairs{}? You did! And that's been great!Would it be okay to get inext the same way? It...

View Article

Web player needs a volume control

@zepEvery now and then I get directed to a BBS post with a cart that I genuinely to see, but which is making my headphones screech into my ears because it's so loud.Thing is, I already have both my...

View Article


Indexing a string out of bounds should return nil

Yo @zep,I realize returning nil out of bounds is less "friendly"-seeming, but after reading another post in here, I realized it's way more useful.For one thing, it should make this work:plain_text =...

View Article


Token cost imbalance in declarations

It's not intuitive that these two blobs of code have different token costs, even though they do exactly the same thing:local a = 1 -- 3 tokens: a, =, 1 local b -- 1 token: b b = 1 -- +3 tokens b, =, 1...

View Article

Image may be NSFW.
Clik here to view.

`config draw_tabs 1` would be nice

Yo @zep,It'd be nice if draw_tabs were one of the options in the config command.Indeed, it would probably be a good idea to do a once-over on the whole config.txt and see what else would be good to add...

View Article

Suggestion: Once finalized, give us a poke() that swaps to Picotron palette

Hey @zep,I think it'd be really nice to allow us to swap in the 32-color Picotron palette, which has the 16-color PICO-8 palette plus the revised upper 16 colors that you've been carefully tweaking for...

View Article

Suggestion: Better way to enter/exit puny mode

Just gonna repeat what I said on mastodon: @zep I just had what MIGHT be a good idea. Emphasis on "MIGHT".Currently PICO-8 does not honor the concept of insert/overwrite mode like DOS used to. Indeed,...

View Article


Image may be NSFW.
Clik here to view.

BBS Bug: @ breaks external URLs

The post formatter is putting the " @User" concept at too high a priority. It screws up Mastodon links, and also adds an extra space for no reason I can tell. Edit: Even on this line, the " @User"...

View Article

Image may be NSFW.
Clik here to view.

Bug: Exported app launches offscreen

Hey @zep,I tried exporting and running an app, didn't do anything special except to load up a working cart and type "export blahblah.bin" and then run the resulting executable from the...

View Article


Bug: DRAW_TABS not actually in CONFIG (sort of)

@zepOkay, so the functionality is there, but you forgot to add it to the list you get if you type config by itself. Currently this is all you get:> config config [setting] available settings:...

View Article

Problem with poke() return value

Hey @zep,Do I remember right? I think when I asked for state-changing funcs like color() or clip() to return the previous state, I'm pretty sure poke() (and its 2/4 friends) was one of them. Seems like...

View Article


Enhancement: Pass a truthy "convert to numbers" flag from split()...

Yo @zep,By default, split(str) has a go at each split element to see if it's possibly a number, presumably using tonum(elem). You can disable this with split(str, false) or split(str, delim_or_width,...

View Article

Deprecated functions in demos

I notice mapdraw(), the deprecated name for map() got removed from jelpi.p8 at some point, but it's still being used in cast.p8.Also, I see band() in jelpi.p8 when we want people using the &...

View Article

Maybe make stat(index,n) return a tuple like peek(addr,n)?

I realized that stat() is basically a peek() analogue for system status registers.To my knowledge, there is currently no functionality attached to the second arg onwards.Would it be a good idea to let...

View Article
Browsing all 22 articles
Browse latest View live




Latest Images