I've been playing around with the example files that came with the SDK. I'm able to get all of them to work except for the single file examples.
I'm trying to use the crank example file.
I tried coping the file into my project, then do import crank, but it doesn't seem to work.
Looking at other examples it has when they use a file they typically use something like
Crank = {}
Crank.__index = Crank
Which I tried too, but also couldn't get it to work.
I've looked at the Playdate doc and Lua home page, but lua modules seem to always want require and that doesn't seem work either.
I'm just running around in circles at this point, and could use some help.