It looks like you're new here. If you want to get involved, click one of these buttons!
-- functions function X_Anims:isValidTexture() local resulte, msg = assert(Texture.new(self.spath), "file is not recognised") print(result, msg) return result end function X_Anims:showSS() if self.spath and self.spath ~= "" and self:isValidTexture() then self.sbmp = Bitmap.new(Texture.new(self.spath)) end |
Comments
.../AppData/Local/Temp/gideros/mediafiles/20201109_172943_gideros.png:
Error while reading image file.
stack traceback:
levels/x_anims.lua:236: in function 'isValidTexture'
How would you do it please?