You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the import screen command fails, the error message doesn't tell why, so if someone is unfamiliar with this function, it takes trial and error to figure out why.
I suggest some of the following implemented:
Better documentation on wiki for the exact requirements of import screen
In the code, implement specific error messages like:
Image not png (or supported format)
Image not loaded, plus error message from decoder if available
Image not the right dimensions (or allow TIC-80 to handle different dimensions, via cropping, scaling or letterboxing)
The text was updated successfully, but these errors were encountered:
Thanks
Here are my corrections to the wiki from your comments. Tell me if something is still missing.
I tested to import .gif and .jpg for cover image, sprites or tiles it did not work. I guess only png works but if someone knows of an other format that can be used, please tell me.
When the
import screen
command fails, the error message doesn't tell why, so if someone is unfamiliar with this function, it takes trial and error to figure out why.I suggest some of the following implemented:
import screen
The text was updated successfully, but these errors were encountered: