In #125, I attempted to also use the created icon for the in-game pyxel icon, but I was unsuccessful. The provided 'advanced API' Pyxel method pyxel.icon() seems to take a hexstring for an image and a scale, but my attempts using binascii.hexlify() on the read bytes did not seem to work. The icon seemed to just be colours, not entirely random though, so I suspect the expected format is slightly different to what I supplied.
The issue is that there's no documentation on the Pyxel side for this method, so a bit of trial and error will be required.
As an additional part of this ticket, the icon can be added back to the Windows build, assuming it doesn't trigger the virus scanners.
In #125, I attempted to also use the created icon for the in-game pyxel icon, but I was unsuccessful. The provided 'advanced API' Pyxel method
pyxel.icon()
seems to take a hexstring for an image and a scale, but my attempts usingbinascii.hexlify()
on the read bytes did not seem to work. The icon seemed to just be colours, not entirely random though, so I suspect the expected format is slightly different to what I supplied.The issue is that there's no documentation on the Pyxel side for this method, so a bit of trial and error will be required.
As an additional part of this ticket, the icon can be added back to the Windows build, assuming it doesn't trigger the virus scanners.