Normally I just track people down
Iām gonna confuse new users by bumping this
Itās one of those things where you think itās an extremely big brain concept that you can only understand if you are an expert, but it actually is just āthe wires will trigger in a certain order depending on when you made themā
Yeah
Thereās some thing so wish I could make guides on, but theyāre so complex that I donāt even know where to start.
For example, compressing block code.
Iām still lazy and I havenāt made the hill cipher, and even if I did it wouldnāt be guide worthy because it would be more of a showcase than an actual guide.
Cryptography is so obscure in gimkit, not to mention that the hill cipher is vulnerable because itās completely linear, that thereās no point in making it for a guide. Thatās why Iām putting it off for now -@mysz.
i just realized this is because js uses event loops to run one task in an event loop queue which is also one of the reasons why gimkit creative uses block code rather than other code (because ppl could potentially make lag-inducing code, purposefully or accidentally)
i feel so dumb
if anyone else wonders why this works, its because this
what
? wdym
why does it work
Javascript is different from some other coding languages because itās single-threaded which means that it operates tasks through a sequence of events (an event loop). Itāll go through each task in the sequence and update UI (what appears on the screen) according to it. So like block code, wires, and stuff like that will go through the event loop, but block code runs but also doesnāt block the main thread so while block code runs, other events can happen I assume.
As for why block code is used instead of coding languages, a coding language could block the event loop which would create more lag in a creative game, which could result in breaking the system, while block code runs aside from the event loop and possibly adds the result to the event loop while maybe being in another specific order(? this idea might have to be investigated more)
i might have gotten that so wrong and offended programmers, mb if thatās the case
doesnāt understand a single word you said
Javascript runs in a sequence, so AUO. Another coding language could block the sequence.
Right, but for slightly wrong reasons.
(the below is theory based of of programming knowledge and experiments.)
Gimkit stores connections between devices in a list. When its triggering connections, it just loops over the list. Because connections are appended to the list, the first one placed will be the first one appended, and therefore the first one triggered.
Makes sense.
Advanced Bumping Order: If you bump two guides, the guide you bumped first will be under the guide you bumped second.
Josh said that he doesnāt even know the update order for gimkit, BUT, he did confirm AUO is correct!
Dang it we should have asked him to list it as a concept in the docs.