Phonectrl
Turn any phone into a game controller — scan a QR code, play. No app install.
Looking to play? You don't start here. Open the QR code shown
by a Phonectrl-enabled game and your controller loads automatically.
For developers
Phonectrl is a Godot 4 addon. Players' phones connect to your game directly over WebRTC; this hosted service only handles signaling (room creation, the controller page, and relaying the connection handshake).
func _ready() -> void:
var pc := Phonectrl.new()
pc.server_url = "https://phonectrl.xyz"
pc.api_key = "<your key>" # optional
add_child(pc)
pc.joystick_input.connect(func(id, _a, v): move_player(id, v))
pc.create_room() # shows pc.qr_texture when ready
Install the addon plus the WebRTC GDExtension, drop in a Phonectrl
node, connect the input signals, and ship.