TILK's Recent Forum Activity

  • It's working! And yes, you should update your documentation "Max Peer" does not include the host. So we can put 1! Because in the multiplayer documentation it says that you have to put 2 minimum (for host and pair)

    It seems to be related to the fact that HOST and PEER leave the room but not the game (They change of layout). So when the player join the same room again maybe their ID or else is not "reset" when he has left before ?

    I cannot share my project actually but maybe you can reproduce this bug if you do that : Add a button to go on a new layout (and disconnect everybody) from the chat layout (from the chat tutorial example) and on this new layout send again people (with "go to layout") to the layout which you must enter your name before the chat room. And now try to join again. It will bug I think.

  • Hi,

    I tried with the two devices and 1 HOST and 2 PEERS. I red in the multiplayer manual that the minimum for the max number is "2". You can look here too : construct.net/en/forum/construct-2/how-do-i-18/multiplayer-join-room-max-75684

    I will try with 3 different devices (one device by PEER)...

    You should be able to reuse a room name if the host leaves.

    But it's doesn't work because host leaves the room but not the game...

    My players can join a room, it's working fine. I did that if a PEER or HOST disconnects then everyone is disconnected from the room and signaling server and they quit the game layout. However, when a player tries to return to the game layout, the room no longer seems to be accessible (the first player to reconnect to the room does not become the host).

    My question is how to deal with this situation. Can we reset a room? Or do we have to recreate a new one for each game if player didn't quit all the game?

    Thank you for your help

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi

    In the chat example I try to limit the maximum of PEER who can connect to 1 (this is not the default room...).

    But I tried with preview and I can connect with many peers... Is it normal ?

    Tagged:

  • Ok thanks so without your plugin (advanced random) how random numbers (by default in the engine) are generate with random() function ?

  • I need good and realistic random for my dice. I wanted to change the seed every time I rolled the dice.

  • Including the plugin into your game, and selecting the "replace system random" tickbox will change all random based system expressions to use the AdvancedRandom's Psuedo random number enerator (PRNG) instead of the browser's PRNG. The advantage to this being that the browser doesn't not offer a way to read/modify the seed of it's PRNG, but AdvancedRandom does. Knowing the seed allows use to produce a repeatable sequence of seemingly random values, useful if players want to share this seed with others to get the same results. Or if you want to cherry pick one or more sequences that suits your game ( a common way of improving the quality of procedural generation ).

    If the "seed" property of the plugin is left blank, which it is by default, then it will use the browser PRNG to create a 10 letter seed and initialise itself. You can modify the seed at runtime using the "Set seed" action which accepts a string of any length. The "Seed" expression will return the current seed and the "RandomSeed" expression will return a new 10 letter seed generated using the browser PRNG.

    If you want to you can call the "Set seed" action with the "CurrentSeed" expression to reset the random number sequence to it's beginning.

    Thank you for these details but does it negatively influence performance if I generate a random seed at every tick? Is it better to generate a random site before each random function?

    However, this is not clear to me. How can I create a random seed I can't find the function and "update seed" doesn't seem to accept "random". I didn't find "Set seed" function too...

    The random function (not from your plugin) really doesn't seem to work well but I have same result actually with your plugin and a seed that I tested. It often returns 1 or 2 when I put random(1,2) when there are millions of possible combinations....

  • Hi,

    I actually create a multiplayer game but I am afraid about all I'm reading this morning about that and I paid for one year of construct 3, do I will regret ? Maybe unreal 4 pr Godot is better that c3 now for 2D multiplayer game

    Is it true that WebRTC is not supported anymore by a lot of webbroswer ?

    Is it possible to play multiplayer on mobile with multiplayer plugin ?

    For example PC and mobile players can they plan together ?

    There are a lot of issues (lag or sruff like that) in multiplayer game made with construct 3 ?

  • Thank you :)

    But I didn't find this function "Update seed" in the advanced random module.

  • Hello construct 3 community!

    I'm trying to implement advanced random for my game. In order to improve the random aspect of my game.

    I read the documentation here: construct.net/en/make-games/manuals/construct-3/plugin-reference/advanced-random

    However, I am a little confused. Is it sufficient to use the random function of construct 3. And at the same time to have included the module "AdvancedRandom" and check the box "Replace system random"?

    And what about the seed ? The seed must be defined by us or can we leave the space "blank"? Can the seed be generated randomly, if so, on each call or only at the beginning of the game? And how the seed can be random knowing that it determines the random (the snake bites its tail)

TILK's avatar

TILK

Member since 8 Mar, 2015

None one is following TILK yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies