No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-02-03 00:14:18 +01:00
.idea Basic multiplayer worker 2025-02-02 17:04:01 +01:00
addons added main menu and scene and character (not finished character) 2025-01-26 22:24:30 +01:00
certificates + commit dev key 2025-02-02 23:10:41 +01:00
export + fixed RPC and check exp and add uid to player 2025-02-03 00:14:18 +01:00
in_game + fixed RPC and check exp and add uid to player 2025-02-03 00:14:18 +01:00
theme First commit 2025-01-25 14:52:31 +01:00
UI Basic multiplayer worker 2025-02-02 17:04:01 +01:00
.en2C38.tmp login 2025-01-25 22:51:36 +01:00
.gitattributes First commit 2025-01-25 14:52:31 +01:00
.gitignore First commit 2025-01-25 14:52:31 +01:00
export_presets.cfg + almost checking the jwt fully 2025-02-02 22:52:35 +01:00
Global.gd Basic multiplayer worker 2025-02-02 17:04:01 +01:00
icon.svg First commit 2025-01-25 14:52:31 +01:00
icon.svg.import First commit 2025-01-25 14:52:31 +01:00
icons8-square-spinner.gif login 2025-01-25 22:51:36 +01:00
icons8-square-spinner.gif.import login 2025-01-25 22:51:36 +01:00
LICENSE First commit 2025-01-25 14:52:31 +01:00
project.godot Basic multiplayer worker 2025-02-02 17:04:01 +01:00
README.md First commit 2025-01-25 14:52:31 +01:00
SplashScreen.tscn Basic multiplayer worker 2025-02-02 17:04:01 +01:00
Startup.gd Basic multiplayer worker 2025-02-02 17:04:01 +01:00

👉 3.x

Godot Engine - Supabase (4.x)

A lightweight addon which integrates Supabase APIs for Godot Engine out of the box.

  • Authentication (/auth)
  • Database (/database)
  • Realtime (/realtime)
  • Storage (/storage)

UI Library

A drag&drop UI Library is available at supabase-ui.

examples and demos

A collection of examples and live demos is available at fenix-hub/godot-engine.supabase-examples, both with source code and exported binaries.

how to use

A wiki is available here.
Even though it is still not complete, Classes and APIs references are always listed and updated.

code snippet

Multiple approaches!

Asynchronous (signals)

# method 1 (connecting to `Supabase.auth.signed_in` signal)
func _ready():
	Supabase.auth.signed_in.connect(_on_signed_in)
	Supabase.auth.sign_in(
		"user@supabase.email",
		"userpwd"
	)

func _on_signed_in(user: SupabaseUser) -> void:
	print(user)

# method 2 (using lambdas, connecting to the `AuthTask.completed` signal)
func _ready():
	Supabase.auth.sign_in(
		"user@supabase.email",
		"userpwd"
	).completed.connect(
		func(authTask: AuthTask) -> void:
			print(auth_task.user)
	)

Synchronous (await)

func _ready():
	var auth_task: AuthTask = await Supabase.auth.sign_in(
		"user@supabase.email",
		"userpwd"
	).completed
	print(auth_task.user)