MaxBittker / sandspiel

Creative cellular automata browser game
https://sandspiel.club
MIT License
2.97k stars 199 forks source link

Add deleter cell. #256

Open Charlieee1 opened 1 year ago

Charlieee1 commented 1 year ago

I thought that it might be useful to some people to have a cell that deletes other cells.

Charlieee1 commented 1 year ago

It seems I also got lucky enough to get pull #256, 2^8. Woo!

labbo-lab commented 1 year ago

I like this idea, it feels like it could fit!

(also drat, now im going to have to wait until #512)

Charlieee1 commented 1 year ago

hehehe :) Can you merge it into the master branch and deploy the changes?

labbo-lab commented 1 year ago

also some stuff/suggestions:

in js/glsl/sand.glsl#132

} else if (type == 20) {
    hue = 0.0;
    saturation = 0.7;
    lightness += 0.3 +  data.g * 0.3;
}

crate/src/lib.rs#362

Species::Deleter => 500,
labbo-lab commented 1 year ago

hehehe :) Can you merge it into the master branch and deploy the changes?

i sadly don't have merge permissions, Max and and I think Lu are the only people who can merge as far as I know

Charlieee1 commented 1 year ago

also some stuff/suggestions:

in js/glsl/sand.glsl#132

} else if (type == 20) {
    hue = 0.0;
    saturation = 0.7;
    lightness += 0.3 +  data.g * 0.3;
}

crate/src/lib.rs#362

Species::Deleter => 500,

Oh I didn't realize I needed to do that. I'll try to remember next time. Ok, can you contact them?

labbo-lab commented 1 year ago

also some stuff/suggestions: in js/glsl/sand.glsl#132

} else if (type == 20) {
    hue = 0.0;
    saturation = 0.7;
    lightness += 0.3 +  data.g * 0.3;
}

crate/src/lib.rs#362

Species::Deleter => 500,

Oh I didn't realize I needed to do that. I'll try to remember next time. Ok, can you contact them?

It's fine, and I can, I've already DMed Max on Mastodon but IDK when he'll see it