Developers
Godot GDScript: quickstart
Install and first-use steps for sending events to Feralin with Godot GDScript. Code samples come from the SDK's own README and statuses from the capability record.
Install
feralin 0.2.0 is published on Git etiketi; install it with your package manager using the command below.
# OYUN_DIZINI oyununuzun project.godot dosyasının bulunduğu dizin
git clone --depth 1 --branch sdks/godot/v0.2.0 --filter=blob:none --sparse https://github.com/feralincom/sdk.git feralin-sdk
git -C feralin-sdk sparse-checkout set sdks/godot/addons/feralin
mkdir -p OYUN_DIZINI/addons
cp -r feralin-sdk/sdks/godot/addons/feralin OYUN_DIZINI/addons/feralin# Depo kökünden; OYUN_DIZINI oyununuzun project.godot dosyasının bulunduğu dizin
mkdir -p OYUN_DIZINI/addons
cp -r sdks/godot/addons/feralin OYUN_DIZINI/addons/feralinFirst use
func _ready() -> void:
Feralin.configure("pk_live_ORNEK", "https://collect.ornek.com")
# Karar oyunun izin ekranından gelir; SDK izni kendisi varsaymaz ve saklamaz.
Feralin.set_consent({"analytics": true})
Feralin.track_level_start("dunya_1", 1)
Feralin.track_revenue({"transaction_id": "tx_1001", "amount_minor": 4999, "currency": "TRY", "product_id": "gold_pack"})
Feralin.flush()
var result: Dictionary = await Feralin.flushed
print(result["status"], " ", result["retained"])Code samples are taken as they are from sdks/godot/README.md; comments inside may be in Turkish. You create the project key in the dashboard.
Capabilities
| Capability | Status |
|---|---|
| Event sending | Supported |
| Batch sending | Partial |
| Consent handling | Supported |
| Identity | Partial |
| Attribution | Partial |
| Deep links | Partial |
| Revenue | Partial |
| Error capture | Partial |
| Session replay | Not applicable |
| Tracing | Planned |
Verification chain
| Link | Status |
|---|---|
| Source | Passed |
| Build | Passed |
| Test | Passed |
| Registry publication | Passed |
| Clean install | Passed |
| Event receipt | Passed |
| Documentation | Passed |
| Super Admin proof | Not started |
Passed means local evidence: source, build and tests ran. Registry publication and Super Admin proof are separate links; the SDK is not called ready until each has passed.