Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.49 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.49 KB

Playtest Telemetry for Godot

A Godot plugin for collecting playtest telemetry and submitting it to a server.

Screen.Recording.2023-06-13.at.09.05.00.mp4

NOTE: this plugin is designed only for playtesting, not production.

  1. Copy the PlaytestTelemetry directory into your addons folder.

  2. Under Project -> Project Settings -> Plugins, enable the PlaytestTelemetry plugin.

  3. Under Project -> Project Settings -> General, enable "Advanced settings", search for "Playtest Telemetry", and enter the URL and API key for your telemetry server. Make sure to specify a version number too. It's important to distinguish each version of your game that you send out to playtesters.

  4. When you want to record a property, add something like this to your code:

    func _ready():
        PlaytestTelemetry.record_properties(self, ["global_transform", "health"])
    

    To record an event do this:

    PlaytestTelemetry.record_event(self, "weapon_fired")
    
  5. Anywhere in your code where you are currently doing this:

    get_tree().quit()
    

    You need to change it to this:

    get_tree().get_root().propagate_notification(NOTIFICATION_WM_CLOSE_REQUEST)
    
  6. Under Project -> Export..., in the Features tab of each preset, add telemetry to the Custom features field.

  7. Export your game and run it, then open up the domain name of your telemetry server in a web browser, and enjoy!