I Just can send 0 at 8 peer inputs / movements to the host ?
You can have as many client input values as you want.
You can also send messages.
Why when i do "setbit(Self.inputs, 11, 1)", he execute all inputs ?
Develop games in your browser. Powerful, performant & highly capable.
You are changing the 11th bit of self.inputs to 1. You aren't changing any of the other bits. If other bits were also set to 1 previously, they would also be executed depending on what your host events are set to do with inputs.
I think the problem is the 11, 11 is binary, 10 is binary, after 10 anything not works fine !
That's odd, because getbit and setbit should work with a 32 bit integer.
If you are using more than that somehow, you could always set up a second client input value to be synced.
I tryed set up a second client input value ! and i don't know why he repeat the first client...
i will try again do a second input client !
Now worked with a second input client, but i was searching about input clients, every client input just got 8 bits, or movements.