Melay is cross platform multiplayer for Godot 4. This is its demo project.

Host a room, share the six character code, and play. The tab you are in can share a room with a phone, a desktop build or a Steam copy, because every platform speaks the same thing.

How to play

  • Host a new room, or paste a code and Join
  • Everyone hits Ready up, then the host starts the match
  • Arrow keys move your paddle, A and D rotate it
  • Keep the ball off your side

What you are actually looking at

Everything here runs through a relay: one small Docker container that passes packets between players and nothing else. The addon turns that into a normal Godot MultiplayerPeer, so the game is written with ordinary @rpc functions and Godot's usual multiplayer nodes.

A few things worth watching for:

  • The 3-2-1 countdown is scheduled against the relay's clock, so it hits zero at the same moment for everyone regardless of ping
  • The ball is simulated by the host and predicted by everyone else, so it stays smooth between updates
  • The room code works across platforms. A browser player and a desktop player can share one.

Get it

Melay is free and open source, MIT licensed.

Drop the addon into a Godot project, run the relay with one docker run,and your existing @rpc functions start working across the internet. No native build step and no per platform binaries.

Download

Download
melay-demo.exe 111 MB
Version 3 30 days ago
Download
melay-demo.x86_64 76 MB
Version 3 30 days ago

Leave a comment

Log in with itch.io to leave a comment.