GamebeastDocs
Dashboard
Godot SDKAPI Reference

API Overview

All Gamebeast services hang off the `Gamebeast` autoload.

markers_example.gd
Gamebeast.markers.send_marker("ExampleMarker", {"Value": 42})
ServicePropertyWhat it does
MarkersGamebeast.markersSend analytics events.
ConfigsGamebeast.configsRead remote configuration values.
ExperimentsGamebeast.experimentsSee which experiment groups the player is in.
CohortsGamebeast.cohortsCheck whether the player is in a cohort.

Services exist as soon as the autoload does; before setup they log a warning and do nothing.

Properties

Marker properties and targeting properties are a Dictionary of JSON-friendly values: strings, numbers, booleans, arrays and nested dictionaries. Godot math types are converted for you:

var properties := {
	"Score": 600,
	"Map": "Office",
	"Won": true,
	"Velocity": velocity, # Vector2 / Vector3, sent as [x, y] / [x, y, z]
	"Tint": Color.RED, # sent as [r, g, b, a]
	"Tags": ["ranked"],
	"Loadout": {"Primary": "Rifle"},
}

On this page