Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
![Codecks User Reports hero image](https://img.godotassetlibrary.com/qh5fW25bgfUjhaebU6QPP1Geg0tA2BBAYvqXq7UrFE8/rs:fit:1920:1080:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL3Zuem56bnovY29kZWNrcy11c2VyLXJlcG9ydHMtZ29kb3QvbWFpbi9hZGRvbnMvY29kZWNrc191c2VyX3JlcG9ydHMvaWNvbnMvY2R4X19sb2dvLS1zb2NpYWxtZWRpYS5wbmc.webp)
Quick Information
![Codecks User Reports icon image](https://img.godotassetlibrary.com/ODDXxL9F_yukGR5_HqbEB4qS6VlqEAFpweFNwaul_Dg/rs:fit:50:50:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL3Zuem56bnovY29kZWNrcy11c2VyLXJlcG9ydHMtZ29kb3QvbWFpbi9hZGRvbnMvY29kZWNrc191c2VyX3JlcG9ydHMvaWNvbnMvY2R4X19sb2dvLS1zb2NpYWxtZWRpYS5wbmc.webp)
Create Codecks User Reports from Godot Games
Codecks User Reports for Godot
This is an implementation of the Codecks User Reports API for Godot.
Usage
First you need a report token for your Codecks organization, then add CodecksUserReport.gd
to your Godot project. To create a user report you need to create a CodecksUserReport
instance to your scene, optionally add files to it and then .send()
it.
var report:CodecksUserReport
func send_report():
# create report
report = CodecksUserReport.new(
"rt_", # report_token
"this is a codecks user report", # message
CodecksUserReport.SEVERITY_HIGH, # severity
"[email protected]") # reporter email (optional)
add_child(report)
# add file to report
report.add_file("icon.png", "res://icon.png", "image/png")
# add signal handler for card creation
report.connect("card_created", self, "_on_card_created")
# send it
report.send()
func _on_card_created(card_id):
print("codecks card %s created" % card_id)
Example
For an example user report UI you can open this repo as a godot project and look at main.tscn
as well as ExampleReportForm.gd
Create Codecks User Reports from Godot Games
Reviews
Quick Information
![Codecks User Reports icon image](https://img.godotassetlibrary.com/ODDXxL9F_yukGR5_HqbEB4qS6VlqEAFpweFNwaul_Dg/rs:fit:50:50:0/g:no/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL3Zuem56bnovY29kZWNrcy11c2VyLXJlcG9ydHMtZ29kb3QvbWFpbi9hZGRvbnMvY29kZWNrc191c2VyX3JlcG9ydHMvaWNvbnMvY2R4X19sb2dvLS1zb2NpYWxtZWRpYS5wbmc.webp)
Create Codecks User Reports from Godot Games