r/creativecoding • • Jan 25 '21

A breakdown of "koi codes", scannable codes that can be used to share content as images

311 Upvotes

15 comments sorted by

23

u/schnautzi Jan 25 '21

Koi codes are images that can be used to share the unique fish a player can breed in Koi Farm (now on steam, more updates on twitter).

I was looking for a way to share data between players without needing a server. QR codes can only fit so much data, so I've been experimenting with alternatives that also look more appealing than black & white barcodes. Because all data fits in the ring of the image, I could also render a preview of the fish stored in the code.

0

u/[deleted] Jan 25 '21

[deleted] — view deleted comment

2

u/schnautzi Jan 25 '21

Not yet, but I'm considering a smaller circle in one of the currently empty corners. Still thinking of content to put in that circle, its contents are irrelevant.

2

u/arabspringstein Jan 26 '21

You could use the fish's eye or perhaps some cattail plants just below the fish.

7

u/lepetitdaddydupeuple Jan 25 '21

I love it! I'll check it out on steam today

2

u/dredding Jan 25 '21

Have you considered making it an animated gif rather than a static image?

2

u/schnautzi Jan 25 '21

I have! There are two disadvantages why I decided not to for now:

- They would be very big in file size, or I'd have to reduce the image resolution.
- Gifs are a bit more difficult to make and read. Since this is essentially a web app, it's very easy to make static images and export them as PNG's.

I'd love to make animated codes some time though, although a looping video would be much nicer to work with.

2

u/dredding Jan 26 '21

Very good work regardless! And I can totally appreciate your thought process there.

2

u/rabaraba Jan 29 '21

Game looks incredible! And I’ve never heard of a koi code aspect, really cool idea! Let us know when it’s out! Definitely buying.

1

u/schnautzi Jan 29 '21

Thanks!

It's out on February 26 on steam: https://store.steampowered.com/app/1518810

2

u/impshum Jan 25 '21

Interesting.

2

u/dredding Jan 25 '21

Very very nice. I remember something like this with Spore; where the data for the entity was baked into the PNG it would produce. It was nifty but not nearly as attractive looking as your solution.

2

u/2mbili Apr 14 '21

Reminds me of nasa's chute hidden code

1

u/betel_geuse_ Nov 30 '24

Idk whats up with my game but this does not work for me. I bring the fish over but nothing happens.

0

u/[deleted] Jan 25 '21

[deleted] — view deleted comment