THNK game example to start easely whith multiplayer

It seem that THNK is great on many issues, and specialy simplicity for beginners.
I had trouble finding an example using THNK, and since I finaly found it, here is how to get it :
it is on github : Releases · arthuro555/THNK · GitHub BUT you need to click on ASSETS (and there you see the example.zip) However if you are unlucky like me and go directly to the link shown in large (THNK/extensions at master · arthuro555/THNK · GitHub) you won’t get the example file…

In this example is shown how to create a local network, a P2P game, and also a Gecko one… at the moment I still haven’t managed to make them work but hopefully I will soon…

I post here also the suggestions I proposed to @arthuro555 on discord :

  • it could be useful to always show on the extension download page, the last example zip for everyone to see.
  • include in the example zip the simple starting scenes for each protocol, that works directly without any adjustment or enabling/erasing lines in the code. For instance there would be the following scenes :
    Start game on P2P (which would then lead to the scenes to host and client connect, and then play) ;
    Start game on Gecko (which would then lead to the scenes to host and client connect, and then play) ;
    Start game on local network (which would then lead to the scenes to host and client connect, and then play)

If anyone knows if this is already availlable somewhere, I’m interrested (and I know about the fully achieved @VegeTato templates(paying), which I may look at later, since right now I’d rather have a very simple working example).

Anyway, great thanks for all the work done.

does THNK still works i downloaded the example file but it didnt work in me

Yes, it works fine, I used it here Multiplayer_Base(with_THNK) _v5 | Play on gd.games and posted more info on the discord THNK
code can be seen here and on links : GitHub - Boblib-Gdev/Github_EXAMPLE_using_MultiConnector: Example of game using extension MultiConnector, Multiplayer with THNK protocols

There is also a new example by @arthuro555 here I believe on official Using THNK for a platformer | THNK (if not in this page, should not be far)

I updated the template, and here is a small explanation :

The THNK interesting things are included into the extension Multiconnector and the object created attached to it (MulticonnectorGeneralMenu). This extension sadly doesn’t work as a separate behavior-extension yet and I don’t know why, I hope to have it functioning someday (help joyfully welcome). So for now this extension needs to be included into the game itself.)
This extension brings a menu which launches the THNK protocols, with no knowledge required (the aim is to have it available to kids beginning Gdedevelop).
To set this up, you Just need to have the object MulticonnectorGeneralMenu inserted in your main scene, and configure the parameters of the extension MulticonnectorGeneralMenu by double clicking on the object on the scene. there you indicate the name of the game scene which will be started as multiplayer.
and that should be it.

To play, first start a server using the choice, then on an other computer or phone, start the same game and copy-paste the server iP address into the client box provided. then you all play together.

The game controls are arrows to move the car, and mouse to move the cursor… space or ctrl to shoot.

The game to test is here : Multiplayer_Base(with_THNK) _v5 | Play on gd.games

and the code is available here : https://framagit.org/formation-jeux-video/formation-gdevelop/multiconnector-5-full-base-template (the github version is an old one)

The public code is here : https://framagit.org/public-gdevelop/public_multiconnector-5-full-base-template

(I don’t know whiy I can’t modify the obove post…)