-
-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Cartridge embedded in PNG export for easy sharing #755
Comments
It can be done with LSB based image steganography I think. |
why not use the tEXt PNG chunk ? Althought it says it should not contains null characters, since it isn't meant for display this shouldn't matter much as the text string is not null-terminated. However with this method, data will be lost if converting from PNG to any other image format. |
Some sites will strip this data as it's not relevant for display. |
I did some experiments with embedding a cart to png image on png-test branch. Original With embedded BALMUNG cart (80 663 bytes): Very pleased with the result, almost no difference is visible. |
Looks like an opportunity for a design contest. Having a simple, recognizable, and striking design could be an important part of TIC-80's visibility. |
Welcome if you have ideas :) |
Is there any specific requirements like size of the image, dimensions, some ares dedicated for user to draw on like redshift disks have? |
I think |
Could we put the cartridge "size" on the outside maybe? Some calculation of # of banks used + code size, etc... |
i like this idea very much! the wip cartridge has already a nice look. some thoughts & questions:
|
Looks great! Personally, I like the dark one (the first) the most. Keeping with the Sweetie-16 color palette and feel is important. |
Looking pretty sweet... 0.02:
Could we do more of a 3d treatment on the pins or something? Most cartridges I'm familiar with the pins are on the inside (hidden inside the cartridge)... so is this more of a cartridge or more of an SD card thingy?
I actually don't think this matters at all for the cartridge really. I mean 16-bit rainbow colors would be "out of character" but I think as long as they are "nice and subtle" the palette doesn't matter. For example we may need a better selection of grays for accessibility reasons, etc. |
In regards to top versus bottom text, I actually enjoy the loader at the top most 😉 First one from #755 (comment) .
If TIC-80 switched its default palette to 16-bit rainbow colors, then using 16-bit rainbow would make sense 😉 .... I think what's important is keeping the same palette as what's used as the default palette. It's part of the TIC-80 brand at this point.... We could tweak the greys, but we should also apply that to the rest of the default palette too. |
Ok maybe I shouldn't have said "doesn't matter"... but I think there is a lot of leeway here in "keeping with the brand" vs "must match the exact hex codes used elsewhere". :-) We can keep with the brand without matching the colors 100%. I'd say the hues and "getting close" is enough to preserve the brand.
A palette designed for images on a website and proper accessibility is not necessarily the same palette you'd want in game. I'm working on a quick mockup. |
I think yes, especially for people who sees it for the first time
I think yes, it's increasing recognizability
Yes, we could call it
Agreed
I tried, but without success It's just a fantasy cartridge for fantasy computer, we can imagine what we want :) |
@nesbox Is the actual underlying data using the entire 256x256 area? |
That's nice... but I think a smaller font would also help with my actual issue of the prominence. |
Note that TIC-80 applications are mostly refered to as "cartridges" elsewhere, like "download cartridge" on the cart page, and even in the URL: https://tic80.com/play?cart=1625 |
yes, each pixel has 4 RGBA channels, so each pixel is a 4-byte value and I'm using 2-3 low bytes to encode cart data |
So someone altering their own cartridge later would be sort of difficult without destroying the data. :) |
Ignore the exact details (like my attempt at the "cart" font) and try to focus on the bigger picture. See if you think there is anything to like here. I'm not a graphics persons but I tried to make a quick pass at a more 3D bottom. The 3d part could probably be a few pixels taller, allowing you to see more pins, etc. Maybe add a 3D edge to the right side as well? I actually really like the tiny treatment I gave the top arrow. (makes it look more 3d) more more 3d edges: Alt layout: |
Looks good, I like it, thanks :) |
@nesbox What would be nice is if the cartridge "template" was just a PNG file inside of the project that the "label" (title, author, etc) and title graphic is overlaid on top of... then it'd be easy for anyone to experiment with this later just by updating that PNG and recompiling. |
Or what if cartridges were shaped like TIC-80 itself? :-) I rushed it, but if someone carried it to it's creative conclusion might be really neat and distinctive as well. I'm only trying to offer up some good ideas (that someone more graphics inclined might push to the finish line) - not say what should or shouldn't be the canonical format. :) |
I appreciate the idea of having it look like the logo, but out of all of them I like Alt Layout from #755 (comment) the most so far. Keep It Simple Stupid 😉 |
I'd leave the description text out, it would break with longer descriptions. I've been bouncing between top and down pins, but finally, the subtle 3d effect sold me on the bottom pins. Any case, i like the word "cartridge" more than a "card" - it's been in use for the tic cartridges before after all. The monochrome tic logo is very classy! The arrow could be smaller, tho, it's making the lower part of the cartridge a bit too busy imo, at least in the bottom pins version. |
Aye for bottom-pinned version and cartridge. Btw, I think cartridge template shouldn't dictate screenshot and title areas and it's better to leave them blank (and withouth separator) so authors can be more creative with fonts and title position. |
The embossed logo rocks! @nesbox Is there a reason you lost the shadow on the pins? It doesn't look quite right without that... the top of the pins would be in shadow from the cartridge housing... (Re: "Tic-80 cartridge") Personally I find the shadowed text much harder to read than non-shadowed. |
I tried but I can't find a proper color for the shadow of the pins in the sweetie16 palette :) |
I made game text lighter, but now I got that you mean the shadowed text near the logo :) Dither works as a variant, thank you. |
Yes the font I used is much easier to read than the tinier one you picked... (shadowed or not)... is it meant to be read or purely decorative? :-) |
This is the tiny font we are using in TIC80. I'm always trying to use the default font and default sweetie16 palette colors to design such things. |
Even if the end result is worse [in that overall legibility suffers]? Did you try a variant with "cartridge" in caps? You are keeping in mind not everyone is going to ZOOM these cartridges to read what it written on them...? If the text is illegible when the image is shown at a small size then it's really just decoration... For example as embedded here on Github I find it quite hard to read the text even if I'm squinting (font plus tiny size plus low contrast)... I've always placed a high value on usability/accessibility. |
I'd go with the smaller font even for the game title & game creator names! You wouldn't need to have that long titles to overflow with the current design. Besides, if the game creator wants, they can feature the game title (and their name) more prominently in the cover image. That would be more in line with actual game cartridges (and comparable to game banner images in online marketplaces), for that matter. |
I did have this thought earlier as well... most video game cartridges have a single sticker and that serves multiple purposes for logo/branding/name/etc... I think really what would be cool here is if the cartridge was really more of a "physical good"... and if someone wanted to make a special cartridge they could design it however they wanted. Make it blue. Have a larger graphic. Add decorative molding... just so long as it still had the correct "shape" and "pinout". :-) [of course those things are largely irrelevant also technically speaking] I plan on doing RetroJam in the next week or so so if I have time I might see if our artist would want to try their hand at making a custom spiffy cartridge PNG. :-) @nesbox Do you have any issue with people doing custom carts on their own - ie if the community makes some tools to make that super easy to do would you fight that by making the official binary start inspecting the images for the official template or something along those lines? Or just os long as the binary data was encoded properly it would work, period? |
I'd like we have one common cart template with TIC logo and URL and allow the user to design the "sticker" he wants, with labels and other things. |
I generally have no problem with the logo and URL, only the font - I'm talking more bigger picture design elements, plastic color, molding, etc. Not sure if we're talking past one another or not. I definitely see the need/desire for a "brand" of cartridge that everyone gets by default - for use as a marketing tool. I don't think everyone will do their own, it would just be nice if it was a thing that remains doable. :-) And generally if they did it "tastefully" I'd hope it would still look like a "special edition" TIC-80 cartridge, not "something else". Gameboy cartridges are still quite recognizable regardless of plastic molding color, because they have a distinctive size and shape, etc... and speaking of Gameboy... For example right now I'm looking at doing a Gameboy Color game for RetroJam (letterboxed on TIC-80)... and if all you do is decode the data then I could make a 256x256 that looked more like an actual Gameboy cartridge - in keeping with the Jam theme - but still could just drag and drop if all you cared about what the raw data. :) That's more of an exception case though, but still neat if possible.
Very good news. |
Added PNG cart saving/loading here 335d795 |
These should be available to download from the tic.computer website along with the standard cart |
@ChildishGiant sure, will be added |
What is the maximum cartridge size for saving to png? |
The ability to create a png with a .tic cartridge embedded and the game's f7 cover image displayed (and also subsequently easily being able to load it) would be extremely useful.
A png image is much easier to share than a .tic file as nearly every website accepts .pngs (provided no compression is done) with very few accepting indeterminate file types.
It also adds a visual element helping tic cartridges naturally stand out on webpages and in filesystem thumbnails and being able to easily distinguish between them.
Several similar fantasy consoles also have this feature and it is a very popular way to share creations.
The text was updated successfully, but these errors were encountered: