garden game save/memory shenanigans
@InspectorCaracal actually you can save more space if you:
make blank space only one byte by keeping it under 128
use two blank space bytes if it's >127 (for a blank space > 127, store 127, x - 127 etc)
that way, you know it's a count for blank spaces if the leftmost bit is 0, otherwise it's a flower byte
garden game save/memory shenanigans
@InspectorCaracal nonono.
you start at 0,0 right
say i store a string like
0x00 15
(code for red flower)
0x00 2
(code for blue flower)
and assume your field is 16 wide
this means:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ R
_ _ B _ _ _ _ _ _ (etc...)
garden game save/memory shenanigans
this won't guarantee you can plant the entire field but here's an idea:
start from 0,0 (or whatever top left is on your field)
0x00 0x## means next ## spaces are blank (no flower)
anything other than 0x00 means flower data
this would be a very rudimentary RLE in that you're compressing whitespace
but once you get enough flowers filling it up it'll overflow your save space regardless
garden game save/memory shenanigans
@InspectorCaracal park editors*
garden game save/memory shenanigans
@InspectorCaracal also: this kind of problem is why thps part editors had a gauge that would fill up ;)
garden game save/memory shenanigans
@InspectorCaracal if you don't save xy and plan it in a map instead you can fit each flower in 11 bits
a quick look at the computers in #furrycornermc, a westminster clock and a message ticker!!
(@LaserScheme wrote the message) https://computerfairi.es/media/poIYdSNEyPSDpbAkZbE
maple classic™
boosted
salty proposal @ unicode consortium
this is brutal and why is this person not on mastodon https://www.unicode.org/L2/L2017/17439-gender-analysis.pdf
@LaserScheme just told me to call april fools "gaypril fools"
roast them
maple classic™
boosted
@InspectorCaracal i mean the moment is gone
maple classic™
boosted
in the not too distant future, next sunday AD...
#furrycornermc (@noelle made it!) https://computerfairi.es/media/EjI8sLDXk5xxVTTzjmc
@envgen 🤔
@noelle i'll hang out in minecraft for a bit once im done with duolingo, but i should spend some time today finishing some slides for class too <3
@noelle that's ok <3 it's just people are always hanging out without me and ...
roboplush squirrelbun kin girl, accept no substitutes
bunbot girlfriend belonging to @LaserScheme & @noelle & @agiri@masto.ninja
mastodon mascot, computer fairies owner, game music composer, obsessed w/ electronics & 80s
talk to me please? i won't bite
if you wanna follow please try to befriend me first bc i post personal stuff
http://t.me/maple_syrup
discord: maple#3896
http://maple.pet