Log In  


Can anyone tell me what’s the code for making a single image (from converted png) into a static wallpaper?



1

There may be a better way, but I've just been importing the PNG, pasting it into the first sprite slot in the gfx editor, then switching to the code editor and putting:

function _draw()
spr(0,0,0)
end

Then saving it as a ".p64" in the /appdata/system/wallpapers folder:

save /appdata/system/wallpapers/wallpaper_name.p64


Thanks 😊
btw I’ve did found the same method in the Discord server moments ago


How do you import the PNG?


1

I use the “import png” cartridge


3

Also after spr() you can do _draw=function()end to completely reduce CPU usage by wallpaper



[Please log in to post a comment]