my progress so far
i currently have a simple "drum machine" (but with only 1 type of drum)
where you can hit the drum
by pressing the screen or (almost) any key.
you can download it from the attachment of this post.
i want to turn this into a multiplayer thing
where if one of the two (or three or four) players hit the drum,
the drum gets hit on every device in the session.
why i'm asking this question
i have looked for multiplayer tutorials, and i found
the High-level multiplayer article on Godot Docs and
GamemakerPixel's YouTube tutorial and
Davies dev's YouTuvbe tutorial and
Godot's official Networking Demos,
but i don't understand any of this (proably because they explain a lot of stuff that i don't need for this project).
( Note that in the attached project
i have setup the Layout of the Lobby scene,
but it's completely unscripted
because i don't understand the prgramming behind the lobby in the tutorials )
the pledge
so, please help me explain the things i need to turn this drum toy into the multiplayer thing.
my requirements are:
- when one of the players hits the drum,
all players should see and hear the drum being hit on their devices
instead of just the player who hit the drum.
- the game should Not care which player hits the drum.
when Anyone hits the drum, it is being hit (simple as that)
- please make the code as easy to understand as possible
and explain in your reply what it does (also as easily as possible)