DuckfaceNinja's Forum Posts

  • But, I want the peer's changes to be transferred to the host as well so that the "sync" is both ways rather than one.

    The plugin doesn't work that way, the host should always be authoritative over changes. In your case when you want the peer to summon an object, what you can do is to have the peer to [action: send message] to the host, then at host, on peer message, you spawn the object on peer behalf. That way the object will be automatically sync over all peers.

  • also host cannot see peer

    You did not sync the peer object, look at the workflow of syncing object and client input in the tutorial.

    peer cannot do anything peer cant move

    You either haven't sync client input or you just simply don't have the control setup in you events. Pay attention to the part which explain setbit/getbit in the tutorial, that's the answer.

  • Each player needs to be able to control their two sliders and not see or control the other player's sliders. Does anyone have any tips?

    Don't sync the slider object, it's that simple. Use slider as client input instead.

  • You do not have permission to view this post

  • Ok, I will take a screenshot. BTW why noone open actual manual and not try find informations about Multiplayer plugin? Keywords: on signaling connected, peercount etc... ??? Or am I only one who read it?

    I normally use the online version.

  • It seems you didn't understand the static variable concept yet, so you might want to read on that part. The global variable work as they seem because they're static by default. Difference between local and global is global is accessible anywhere, while local is only accessible by event at same level under single parent and all it's child. It's the static that keep the number unchanged, while non-static will reset every tick.

  • Yes, I mean older manual have sections which new one NOT - for example Multiplayer. Manual from 2013 have lots of pages about Multiplayer plugin. New manual not.

    The MP plugin was rolled out this year... How is it possible to exist in 2013 version? Are you sure you're not talking about websocket plugin?

  • Sounded like a job for paster plugin.

  • You can add parameter through [Action: Call Function]. Just click "Add Parameter" to add parameter. In the function, you can take the parameter by index such as Function.param(#index).

    There are some screenshot at tutorial page as far as I remember, it's more intuitive to look at pictures.

  • tokenat(fi866yiec826ze/W1-1,0,"/") = fi866yiec826ze

    tokenat(fi866yiec826ze/W1-1,1,"/") = W1-1

  • That is one beast of a server. Is there any particular reason that it need such a configuration of GPU? I've never heard of a server needing that kind of GPU to operate..

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You can make spawned/created object as global. However, for me I would approach it using array all the way and load the data from array into the instance var everytime. This way I can safely destroy object if necessary.

  • Looks cool but I don't know how heavy it is if it is being used in runtime. I'm all in for something like this, but it seems like a big support request.

  • DuckfaceNinja Well let me open them a bit more if I may. true/false are actually values of the "boolean" type. However, Construct2 support for that particular type is quite limited. For example, the getbit() expression return type is number, 0 or 1, when in theory, a bit can only be true or false. But that's alright, since an implicit conversion of a number to a boolean is quite simple : 0 is false, everything else is true. It's also common practice to consider "true" to have a numeric value of 1, hence the creation of global constants of FALSE = 0 and TRUE = 1.

    Thanks! It's good to have knowledge sharing like this every now and then.

  • Lol no wonder I didn't get the situation, I misread the situation haha my bad.

    TRUE expression is probably a global constant with 1 for its value.

    Hah! This is why I like to engage in a discussion, I'd get to learn things! I always assumed TRUE/FALSE is a value, never thought that it is actually a CONSTANT for value 1/0. That opened my eyes!