Log In  

At the command prompt, if you try to load a filename with no extension:

load somefile

It'll try these in order:


It'd be nice if #include worked the same way.

e.g. with vector.p8 in the same folder:

#include vector

I think simply re-using the logic from load would work, because it behaves exactly the way I'm suggesting.

As for Lua files, it's probably best if the .lua extension has to be typed out explicitly, because you're essentially leaving the sphere of PICO-8 by using a raw lua file and it makes sense that PICO-8's name abbreviation would not apply. Plus this is the same behavior load already uses, so minimum effort required. ;)

P#90000 2021-04-05 08:54

:: Felice


Gonna ask for this one again, I still think it'd be a nice QoL feature.

P#102170 2021-12-09 08:01

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-08-09 23:34:35 | 0.005s | Q:8