i'm making my os be a cross-program os, and i want to show images.
i have 3 files through different directory, and its not really working well.
the first code is a library of pictures, so heres what its like:
pic = paintutils.loadImage("example")
thats an example, but its what the code is sort of about, a list of variables. (used as api)
the second one is settings, and it is like this:
os.loadAPI("PaOS/backgrounds/imglib") background = pic --from the lib
the third one shows the pic, but this is where i am getting problems.
os.loadAPI("PaOS/settings") os.loadAPI("PaOS/backgrounds/bglib") paintutils.drawImage("pic,2,2")if comes out with "home:3 expected img,x,y"
i don't get why it does this, but i need help with it.