This Template is not designed to run on your device. Add it to a collection to play later, or you can try to run it anyway.

Ever wanted to make an online multiplayer game, but didn't know where to start ?

Ever wanted to learn THNK, and build your own online multiplayer game ?

Then look no further !

Whether you want to build an online multiplayer game, or you want to learn THNK and see it in action !

This template is the best choice for you !

You can get it → modify it (change the assets or add more stuff) → then sell it ! $$$

What you will learn from this template:

• How to start the match when certain amount of players has joined.

• How to share variables between clients and host.

• How to connect and disconnect from server.

• How to check how many players has joined.

• How to make an online multiplayer game.

• How to protect your game from cheaters.

• How to set and share players username.

• How to sync objects between clients.

• Fully understand how THNK works.

• How to connect clients to server.

• How to kick unwanted players.

• How to use THNK extension.

• How to make a lobby.

• And much more !

Engine

This template is built for the free and open-source game engine GDevelop 5

User-friendly

Every event in the template is commented in a way that even a beginner
will understand how things work in the game.

All events are grouped and organized in a super user-friendly way, so the user never get lost in the codes of the template, and can easily find the code of any mechanic he is searching for.

Licenses:

You CAN sell the game as it is, BUT you must mention the game assets credits
(mentioned in the bottom of this page), only if you didn't change the game assets.

You CANT re-sell the template GDevelop project/codes.

You DON'T have to put my name or credit me in the game (Optional) you bought it, it's all yours !

Platforms

The template works for PC only, BUT, you can easily modify the template and make it work on mobile !

Get it now and make your Online Multiplayer game !

Get the template

Credits:

Music:
By World Music OFCL

Weapon:
By knik1985
https://opengameart.org/content/weapon-1

Updated 24 days ago
StatusReleased
PlatformsWindows, HTML5
AuthorVegeTato
GenreSurvival, Action
Made withGDevelop
TagsMultiplayer

Purchase

Buy Now$3.99 USD or more

In order to download this Template you must purchase it at or above the minimum price of $3.99 USD. You will get access to the following files:

Online Multiplayer Template GDevelop project.zip 4 MB

Development log

Comments

Log in with itch.io to leave a comment.

O M G  is a awesome template.
 maybe in a future upgrade  can you teach wow to sync and play sounds, like in this template the sound of the enemy shot.

Thank you <3
glad you loved the template :D

in this template, you can actually add a sound effect for the enemies shots !

By simply adding a shoot sound effect on the client's side :3

Amazing!!


Does this template includes connecting into a lobby? or it's only for P2P?

(+1)

Thank you <3
Yes ! The template have a lobby where all players can connect to before starting the match.
But it also uses P2P, THNK works as: the host is the server, and when the host makes a lobby, it means now there is a server in the lobby other players can connect to, using P2P.

Thanks for answering. So this means that if a user disconnects the game won't end for everyone else? Do you still to add the Hex Key to join or that can be "omitted"? 

Correct, if a client disconnect, the game will keep going, I programmed this template to do as:
if a client disconnect → delete all that client related objects (character/weapon...etc) for all players.

But, if the Host disconnected, the game will finish for everyone, because in THNK-P2P, the host is the server, and if the host disconnected, it means the server is down, which mean all clients will disconnect.

P2P ID (Hex key), is required to copy and send to the players you want to play with, you can replace that with an automatic system that will make everyone join together without using the ID (using Firebase), BUT it's not safe, because now, you don't know who are you playing with, and THNK-P2P leaks the player IP, so to protect the client IP leaking, i make it as: Copy ID → give it to your friend or people you trust → play together, like that it's safer because you know who are you playing with now (someone you trust).