Bitwise operations in gimkit

With text?

With the true/false properties.

2 Likes

Well, we can also do it with numbers, by having 0 as false and 1 as true. Numbers have to be better than true/false (boolean), since booleans make up numbers.

Also, you can count the amount of times it was set to true, and set to false, and do 1/that or something to get an integer. I don’t know if that means anything though. I still do not understand this conversation.

2 Likes

You can still do that with numbers, using 1 less property, by using other digits in the base-2 (binary) representation.

I concatenated a true property and a false property to get this, so couldn’t you still make multiple binary digits?
image

3 Likes

Well, you can put data into text, but you can’t extract any data from text.

If only… a convert text to number and text indexing blocks would be amazing.

2 Likes

Uuuuuuuuuuuuuummmmmmm, what?

Binary operations, I don’t know, AAAAAAAAAAAAAAAAAAAAAAAAAA

3 Likes

Wait, wouldn’t text work? It is either x (true) or y (false), so you just see if the property equals x, otherwise it equals y. Right?

Yeah, but can’t subtract text, or split text, which is really what we want.

Oh, yeah, that is just in Scratch, not Gimkit’s set of block code. Sorry.

Its ok. I was so mad when I found that out.

1 Like

I tried this for my platformer only to realize it’s not possible

2 Likes

Get un-impossibled

4 Likes

No, really, there is no efficient enough way that indexes text.

1 Like

There isn’t an efficient way to do it… but there is a way!

1 Like

The ∑ is SUMMATION, which is used in stats and Calculus to loop through and add the previous sum to the current one.

3 Likes

It was a reply to someone asking about it, but the draft got messed up.

1 Like