Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Heads up, seems like this doesn't work on the SDK (all versions)...crashes the program with error in the code screen: 

Update error: main.lua:77: attempt to index a nil value (global 'sunmoon')

stack traceback:

main.lua:77: in function 'getTimes'

main.lua:209: in function <main.lua:203>

That's correct, as I mentioned in the description: "you need an actual Playdate device". This is because I used a C library for the complicated parts of the sunrise/sunset calculations. Panic does not intend the Simulator to be a game distribution target, and it's really just an accidental bonus that Lua-only games are easy to distribute for it.

(+1)

Oh! Gotcha sorry missed that. thanks for clearing things up.