Starbound

Starbound

Liquid Erchius Fuel Generator
6 Comments
Dylldophlo  [author] 14 Mar @ 11:45am 
The tooltip for displaying the QR code now works.
Dylldophlo  [author] 13 Mar @ 5:20am 
I'm currently testing a borderless inverted version with 33x33 pixel, but I don't know if every QR scanner can handle that trick.
I have to search if there is a "Pixel Art" QR code generator on the net which directly generates smaller images. Minimum is probably 200px for all of them.
Dylldophlo  [author] 13 Mar @ 5:20am 
@Silver Sokolova:
The image size in the tooltips is always the same no matter which tooltip is used.
Not every tooltip supports LARGEIMAGE (tool, vehicle, seed, door I have found so far).
Unfortunately, the size of the image in the tooltip is a "bit" smaller than the maximum size of 39x39 pixels of the QR code.
I would have to create my own tooltip. If I feel like it I will have a look at it. But I would only do it explicitly for extended GUI.

So a tooltip image that only shows the QR code is on hold for now. Maybe an old QR code standard without error correction would still be a possibility to get down from 39 pixels to 34 pixels as it looks. But I can only find modern QR generators right now...
And 34 pixels is really little.
Silver Sokolova 13 Mar @ 4:18am 
@Dylldophlo Ooh, that makes sense, nice!
Dylldophlo  [author] 13 Mar @ 4:00am 
@Silver Sokolova: I have "deliberately" blurred the QR code in the title image to avoid problems.
It probably also depends on the graphics settings and whether you have activated post-processing with the graphics card.
It works very well for me with my old-fashioned RX550 and graphics setting x3 in Starböund.
The tooltip thing with largeimage is a good idea. Thanks a lot
Silver Sokolova 12 Mar @ 5:17pm 
Cute idea of having a QR code in the game! I haven't tried this mod, but it looks like the QR code in the poster is a bit blurry and may not be able to be scanned properly. You can make the QR code a separate image in the mod, then change the `"tooltipKind"` of the poster file to `"tool"`. Then set the 'largeImage' in the poster's object file to be the QR code. That way, when you mouse over the poster in your inventory, it shows just the QR code instead of the poster!