Your next feature
User Feedback
Collect feedback directly from your game.
Godot

Your visible result
A test message from the game appears in the dashboard.
Review user feedback1:57
Open video separately ↗Prepare the same project
Choose the same project in the dashboard as in your game configuration.
User Feedback →No additional definition is needed for the first request. An empty result is valid until matching game data exists.
Build this feature
You can preview the guide. Running it requires an active project key. Prepare project
SDK installed, project configuration imported and player signed in.
Save the GDScript, attach it to a node in the main scene and run it. Check Output.
GDScript
1# Attach this script to a node in your main scene.
2extends Node
3
4
5func _ready() -> void:
6 # Setup: initialize, connect and sign in a player.
7 var connected = await Horizon.connect_to_server()
8 if not connected:
9 print("Failed to connect to horizOn server")
10 return
11 if not Horizon.auth.isSignedIn():
12 var signed_in: bool
13 if Horizon.auth.hasCachedAnonymousToken():
14 signed_in = await Horizon.auth.restoreAnonymousSession()
15 else:
16 signed_in = await Horizon.auth.signUpAnonymous("StatisticsPlayer")
17 if not signed_in:
18 return
19
20 # horizOn: send a bug report or a feature request.
21 # Report a bug straight from the game
22 await Horizon.feedback.submitBugReport(
23 "Crash on level 5",
24 "Game crashes when opening inventory",
25 "player@example.com"
26 )
27
28 # Or collect a feature request
29 await Horizon.feedback.submitFeatureRequest("Dark mode", "Please add a dark theme")
Test your new feature.
A test message from the game appears in the dashboard.
Choose the same project in the dashboard as in your game configuration.


