[gd_scene load_steps=5 format=3 uid="uid://dyc3kseph4el7"] [ext_resource type="Texture2D" uid="uid://b3qm246m7pnsx" path="res://assets/Logo_V2.png" id="2_gd222"] [ext_resource type="Script" uid="uid://kmubk5a6i385" path="res://discord_connector.gd" id="3_h2yge"] [ext_resource type="Script" uid="uid://46tue7u6crd6" path="res://addons/discord-rpc-gd/nodes/debug.gd" id="6_ujijw"] [sub_resource type="RichPresence" id="RichPresence_h2yge"] details = "Godot -> Discord Social SDK" state = "Inside a Node" large_image = "example_game" large_text = "Example" small_image = "boss" small_text = "Fighting the boss D:" [node name="Node" type="Node"] [node name="ColorRect" type="ColorRect" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 0 size_flags_vertical = 4 color = Color(0.345098, 0.396078, 0.94902, 1) [node name="Sprite2D" type="Sprite2D" parent="."] texture_filter = 4 position = Vector2(789, 330.5) scale = Vector2(0.408203, 0.408203) texture = ExtResource("2_gd222") [node name="DiscordUtil Test" type="RichTextLabel" parent="."] anchors_preset = -1 anchor_left = 0.293 anchor_top = 0.59 anchor_right = 0.736 anchor_bottom = 0.727 offset_left = 208.464 offset_top = 22.18 offset_right = 209.128 offset_bottom = 22.4039 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 4 size_flags_vertical = 4 bbcode_enabled = true text = "[center][font s=60]DiscordUtil Test" [node name="DiscordSocialSDKDebug" type="Node" parent="."] script = ExtResource("6_ujijw") [node name="DiscordConnector" type="DiscordConnector" parent="."] app_id = 1099618430065324082 auto_connect = true script = ExtResource("3_h2yge") [node name="DiscordActivity" type="DiscordActivity" parent="DiscordConnector"] rich_presence = SubResource("RichPresence_h2yge") root_connector = NodePath("..") [node name="DiscordLobby" type="DiscordLobby" parent="DiscordConnector"] root_connector = NodePath("..") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] position = Vector2(789, 330.5) scale = Vector2(0.408203, 0.408203) [connection signal="authenticated" from="DiscordConnector" to="DiscordConnector" method="_on_authenticated"] [connection signal="authentication_failed" from="DiscordConnector" to="DiscordConnector" method="_on_authentication_failed"] [connection signal="connection_error" from="DiscordConnector" to="DiscordConnector" method="_on_connection_error"] [connection signal="connection_ready" from="DiscordConnector" to="DiscordConnector" method="_on_connection_ready"]