Optional steps
Link to other worlds
To make a user follow a link to another gate (e.g., when they enter a portal), call from GDScript:
if get_tree().has_method("send_command"):
get_tree().send_command("open_gate", ["https://example.com/project.gate"])
See more in Command channel.
GDExtension
If you use addons with GDExtension in your project,
you can edit your gate file to load the libraries (this feature is coming to export plugin soon).
Copy the GDExtension file section [libraries] to the gate file.
Edit paths to match their relative URL paths.
# your_project.gate
[gate]
title="GDExtension project"
description="This should work"
icon="path_to/icon.png"
image="path_to/image.png"
resource_pack="path_to/pack.zip"
godot_version="4.5"
[libraries]
linux.debug.x86_64 = "path_to/yourlib.so"
linux.release.x86_64 = "path_to/yourlib.so"
windows.debug.x86_64 = "path_to/yourlib.dll"
windows.release.x86_64 = "path_to/yourlib.dll"
macos.debug = "path_to/yourlib.dylib"
macos.release = "path_to/yourlib.dylib"
macos.debug.arm64 = "path_to/yourlib.dylib"
macos.release.arm64 = "path_to/yourlib.dylib"
# file paths are relative to the .gate file unless absolute
Warning
Windows, Linux, and macOS libraries required.
Debug and Release are also required (can be the same file).
See more in Gate file.
Next steps
Hosting your projects in your own server.
Check out Command channel.
Join the Community for help and feedback.