I started writing an extension that gathers all possibilities from THNK (which is great even though I haven’t managed to make it work in gecko mode). The aim is to make it really easy to add THNK into a game.
For the moment the MultiConnector extension is very basic, and still with many BUGS
I plan to make it available as an extension to the community as soon as it is working fine, so your comments are very welcome.
Also, I ask @arthuro555 how he feels I should properly name it since it makes reference to THNK (now, and may be latter if you feel it has become good enough).
it can be seen at : MultiConnector_EXAMPLE_for_testing_multiplayer_extension(THNK_unofficial) | Play on gd.games
I give below the links to github extension and game example source code :
this demo game : GitHub - Boblib-Gdev/Github_EXAMPLE_using_MultiConnector: Example of game using extension MultiConnector, Multiplayer with THNK protocols
I’m an amateur developer, so please be forgiving, and your help is very welcome to make this extension distributed.
DESCRIPTION AND AIM :
This game example shows what is expected with the extension MultiConnector, which uses THNK protocols, and simplify its use, for easy multiplayer game creation by young students.
for the moment : BIG BUGS : players are not seen in client screens.
(I’m wondering if the fact that the THNK functions are run within a custom object coming from the extension, creates the need for specific parameters…)
Note: local network is better when running the code version from github
Note 2 : copy/paste when clicking the text doesn’t work on gd.games, but you can still do a normal copy and paste of the text in the box. However it works fine when running the code version below
Note 3 : it takes time on gd.games to connect client but it works, and client-player moves very slow on screen of server (and I know how to solve that)).
THANKS to @arthuro555 (Using THNK for a platformer | THNK) , @AnishJK (Creating a 6-Digit P2P ID and Implementing Multiplayer in GDevelop using THNK - AnishJK Docs), and other’s for their comments on forums since they strongly prepared this future extension. Hope it is ok to publish it as MIT license. please advise if not. thanks.
Finally, this extension project might be added to the list of extensions requiring HELP in Trello , if someone reading can do that.
Thanks for you help.