|
|
|
@@ -1,6 +1,8 @@
|
|
|
|
|
[gd_scene load_steps=68 format=3 uid="uid://c1slhdnlsv2qt"]
|
|
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://c1slhdnlsv2qt"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cq8lwj2matk6x" path="res://addons/discord-sdk-gd/nodes/assets/flow_spritesheet.png" id="4_gvc3o"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dnfq6kug4x6o2" path="res://addons/discord-sdk-gd/nodes/assets/Checked.svg" id="2_q6tao"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://compmm3kviqqe" path="res://addons/discord-sdk-gd/nodes/assets/Unchecked.svg" id="3_5cyem"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dtc6ckladq0td" path="res://addons/discord-sdk-gd/nodes/assets/circle.svg" id="3_goflf"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="GDScript" id="GDScript_ak1tp"]
|
|
|
|
|
resource_name = "Debug"
|
|
|
|
@@ -11,15 +13,16 @@ func _ready():
|
|
|
|
|
|
|
|
|
|
func _process(_delta):
|
|
|
|
|
if(discord_sdk.get_is_discord_working()):
|
|
|
|
|
$AnimatedSprite2D.play(\"default\")
|
|
|
|
|
$Panel/TextureRect.self_modulate = Color(\"#3eff8d\")
|
|
|
|
|
$Panel/TextureRect/AnimationPlayer.play(\"pulsate\")
|
|
|
|
|
debug_text_update()
|
|
|
|
|
else:
|
|
|
|
|
$AnimatedSprite2D.stop()
|
|
|
|
|
$AnimatedSprite2D.animation = \"gray\"
|
|
|
|
|
$Panel/TextureRect.self_modulate = Color(\"#797979\")
|
|
|
|
|
$Panel/TextureRect/AnimationPlayer.stop()
|
|
|
|
|
debug_text_update()
|
|
|
|
|
|
|
|
|
|
func debug_text_update():
|
|
|
|
|
$Info.text = \"Application ID : {id}
|
|
|
|
|
$Panel/Info.text = \"Application ID : {id}
|
|
|
|
|
Details: {details}
|
|
|
|
|
State: {state}
|
|
|
|
|
|
|
|
|
@@ -41,7 +44,7 @@ Is party public: {ppublic} (needs to be activated in Discord client settings)
|
|
|
|
|
|
|
|
|
|
Is instanced: {instanced}
|
|
|
|
|
\"
|
|
|
|
|
$Info.text = $Info.text.replace(\"{ppublic}\",str(discord_sdk.is_public_party)).replace(\"{instanced}\",str(discord_sdk.instanced)).replace(\"{ssecret}\",discord_sdk.spectate_secret).replace(\"{jsecret}\",discord_sdk.join_secret).replace(\"{msecret}\",discord_sdk.match_secret).replace(\"{mpartysize}\",str(discord_sdk.max_party_size)).replace(\"{cpartysize}\",str(discord_sdk.current_party_size)).replace(\"{partyid}\",discord_sdk.party_id).replace(\"{id}\",str(discord_sdk.app_id)).replace(\"{details}\",discord_sdk.details).replace(\"{state}\",discord_sdk.state).replace(\"{lkey}\",discord_sdk.large_image).replace(\"{ltext}\",discord_sdk.large_image_text).replace(\"{skey}\",discord_sdk.small_image).replace(\"{stext}\",discord_sdk.small_image_text).replace(\"{stimestamp}\",str(discord_sdk.start_timestamp)).replace(\"{etimestamp}\",str(discord_sdk.end_timestamp))
|
|
|
|
|
$Panel/Info.text = $Panel/Info.text.replace(\"{ppublic}\",str(discord_sdk.is_public_party)).replace(\"{instanced}\",str(discord_sdk.instanced)).replace(\"{ssecret}\",discord_sdk.spectate_secret).replace(\"{jsecret}\",discord_sdk.join_secret).replace(\"{msecret}\",discord_sdk.match_secret).replace(\"{mpartysize}\",str(discord_sdk.max_party_size)).replace(\"{cpartysize}\",str(discord_sdk.current_party_size)).replace(\"{partyid}\",discord_sdk.party_id).replace(\"{id}\",str(discord_sdk.app_id)).replace(\"{details}\",discord_sdk.details).replace(\"{state}\",discord_sdk.state).replace(\"{lkey}\",discord_sdk.large_image).replace(\"{ltext}\",discord_sdk.large_image_text).replace(\"{skey}\",discord_sdk.small_image).replace(\"{stext}\",discord_sdk.small_image_text).replace(\"{stimestamp}\",str(discord_sdk.start_timestamp)).replace(\"{etimestamp}\",str(discord_sdk.end_timestamp))
|
|
|
|
|
|
|
|
|
|
var user_request = {};
|
|
|
|
|
|
|
|
|
@@ -49,504 +52,86 @@ func _on_activity_join_request(user_requesting):
|
|
|
|
|
print(user_requesting)
|
|
|
|
|
user_request = user_requesting
|
|
|
|
|
|
|
|
|
|
func _on_button_pressed():
|
|
|
|
|
func _on_accept_join_request_pressed():
|
|
|
|
|
if(!user_request.is_empty()):
|
|
|
|
|
discord_sdk.accept_join_request(user_request.id)
|
|
|
|
|
|
|
|
|
|
func _on_line_edit_text_submitted(new_text):
|
|
|
|
|
func _on_invite_with_user_id_text_submitted(new_text):
|
|
|
|
|
discord_sdk.send_invite(int(new_text),true,\"this is a test invite sent from godot\")
|
|
|
|
|
|
|
|
|
|
func _on_line_edit_2_text_submitted(new_text):
|
|
|
|
|
func _on_accept_with_user_id_text_submitted(new_text):
|
|
|
|
|
discord_sdk.accept_invite(int(new_text))
|
|
|
|
|
|
|
|
|
|
func _on_button_2_pressed():
|
|
|
|
|
func _on_print_current_user_on_console_pressed():
|
|
|
|
|
print(discord_sdk.get_current_user())
|
|
|
|
|
|
|
|
|
|
func _on_check_button_toggled(button_pressed):
|
|
|
|
|
func _on_toggle_sdk_toggled(button_pressed):
|
|
|
|
|
if(button_pressed):
|
|
|
|
|
debug_text_update()
|
|
|
|
|
discord_sdk.unclear()
|
|
|
|
|
else:
|
|
|
|
|
discord_sdk.clear()
|
|
|
|
|
debug_text_update()
|
|
|
|
|
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_85oj4"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 0, 512, 512)
|
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8abo6"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vv4mb"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 0, 512, 512)
|
|
|
|
|
[sub_resource type="Animation" id="Animation_mmtmn"]
|
|
|
|
|
length = 0.001
|
|
|
|
|
tracks/0/type = "value"
|
|
|
|
|
tracks/0/imported = false
|
|
|
|
|
tracks/0/enabled = true
|
|
|
|
|
tracks/0/path = NodePath(".:scale")
|
|
|
|
|
tracks/0/interp = 1
|
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
|
tracks/0/keys = {
|
|
|
|
|
"times": PackedFloat32Array(0.4),
|
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
|
"update": 0,
|
|
|
|
|
"values": [Vector2(0.5, 0.5)]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kwv3j"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 0, 512, 512)
|
|
|
|
|
[sub_resource type="Animation" id="Animation_5u02v"]
|
|
|
|
|
resource_name = "pulsate"
|
|
|
|
|
loop_mode = 1
|
|
|
|
|
tracks/0/type = "value"
|
|
|
|
|
tracks/0/imported = false
|
|
|
|
|
tracks/0/enabled = true
|
|
|
|
|
tracks/0/path = NodePath(".:scale")
|
|
|
|
|
tracks/0/interp = 1
|
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
|
tracks/0/keys = {
|
|
|
|
|
"times": PackedFloat32Array(0, 0.5, 1),
|
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
|
|
|
"update": 0,
|
|
|
|
|
"values": [Vector2(0.5, 0.5), Vector2(0.8, 0.8), Vector2(0.5, 0.5)]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ij57t"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 0, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_w2du1"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 512, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4pma1"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 512, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fcoqp"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 512, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tjcb7"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 512, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_oudh8"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 512, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_csja0"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 1024, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0xbpk"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 1024, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_p84pv"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 1024, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1gjwh"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 1024, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mrm73"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 1024, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8rkne"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 1536, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_c15qo"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 1536, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_74tpk"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 1536, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_v5nxq"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 1536, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0mf44"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 1536, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kb0hn"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 2048, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_o22ug"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 2048, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_21q7w"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 2048, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gitfl"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 2048, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8hg1o"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 2048, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_niuoc"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 2560, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mt5ft"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 2560, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ub7uo"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 2560, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2uxnl"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 2560, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bh4ts"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 2560, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_lcu0i"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 3072, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_mmqt1"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 3072, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_orode"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 3072, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ricn8"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 3072, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6ftll"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 3072, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fm4jy"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 3584, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7qcot"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 3584, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2y47g"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 3584, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gpr0t"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 3584, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nn332"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 3584, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_jg384"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 4096, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_g0wvw"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 4096, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_e6fmf"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 4096, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n1rtv"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 4096, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_365g3"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 4096, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_frkrx"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 4608, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_j8adw"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 4608, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_76fh7"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 4608, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_gmmrx"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 4608, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_rlh42"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 4608, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wijf7"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 5120, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2n5hs"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 5120, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yrp6k"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 5120, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_w411h"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 5120, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pe7po"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 5120, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_sr5kq"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 5632, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kgesr"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 5632, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vfk6x"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 5632, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4d1t3"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 5632, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6bexm"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(2048, 5632, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tadlo"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 6144, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_g2h20"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(512, 6144, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_x351d"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1024, 6144, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_0jq3r"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(1536, 6144, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_1eeyl"]
|
|
|
|
|
atlas = ExtResource("4_gvc3o")
|
|
|
|
|
region = Rect2(0, 0, 512, 512)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_kudgl"]
|
|
|
|
|
animations = [{
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_85oj4")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_vv4mb")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_kwv3j")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_ij57t")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_w2du1")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_4pma1")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_fcoqp")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_tjcb7")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_oudh8")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_csja0")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_0xbpk")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_p84pv")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_1gjwh")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_mrm73")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_8rkne")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_c15qo")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_74tpk")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_v5nxq")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_0mf44")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_kb0hn")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_o22ug")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_21q7w")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_gitfl")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_8hg1o")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_niuoc")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_mt5ft")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_ub7uo")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_2uxnl")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_bh4ts")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_lcu0i")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_mmqt1")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_orode")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_ricn8")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_6ftll")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_fm4jy")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_7qcot")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_2y47g")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_gpr0t")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_nn332")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_jg384")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_g0wvw")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_e6fmf")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_n1rtv")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_365g3")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_frkrx")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_j8adw")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_76fh7")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_gmmrx")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_rlh42")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_wijf7")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_2n5hs")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_yrp6k")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_w411h")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_pe7po")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_sr5kq")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_kgesr")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_vfk6x")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_4d1t3")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_6bexm")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_tadlo")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_g2h20")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_x351d")
|
|
|
|
|
}, {
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_0jq3r")
|
|
|
|
|
}],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"default",
|
|
|
|
|
"speed": 30.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [{
|
|
|
|
|
"duration": 1.0,
|
|
|
|
|
"texture": SubResource("AtlasTexture_1eeyl")
|
|
|
|
|
}],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"gray",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
}]
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_a7ofc"]
|
|
|
|
|
_data = {
|
|
|
|
|
"RESET": SubResource("Animation_mmtmn"),
|
|
|
|
|
"pulsate": SubResource("Animation_5u02v")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[node name="DebugNodeGroup" type="Node"]
|
|
|
|
|
editor_description = "This is a Debug Node wich will show (only if the project runs) some usefull info and buttons/input"
|
|
|
|
|
script = SubResource("GDScript_ak1tp")
|
|
|
|
|
|
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
|
|
|
|
position = Vector2(389, 477.375)
|
|
|
|
|
scale = Vector2(0.14209, 0.14209)
|
|
|
|
|
sprite_frames = SubResource("SpriteFrames_kudgl")
|
|
|
|
|
frame_progress = 0.417812
|
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
|
|
|
anchors_preset = -1
|
|
|
|
|
anchor_right = 0.373
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = -5.0
|
|
|
|
|
offset_right = 0.303955
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
|
|
[node name="Info" type="RichTextLabel" parent="."]
|
|
|
|
|
offset_left = 7.0
|
|
|
|
|
offset_top = 6.0
|
|
|
|
|
offset_right = 424.0
|
|
|
|
|
offset_bottom = 312.0
|
|
|
|
|
[node name="Info" type="RichTextLabel" parent="Panel"]
|
|
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 12.0
|
|
|
|
|
offset_top = 21.0
|
|
|
|
|
offset_right = 429.0
|
|
|
|
|
offset_bottom = 461.0
|
|
|
|
|
theme_override_font_sizes/normal_font_size = 14
|
|
|
|
|
text = "Application ID : {id}
|
|
|
|
|
Details: {details}
|
|
|
|
@@ -572,52 +157,96 @@ Is instanced: {instanced}
|
|
|
|
|
"
|
|
|
|
|
fit_content = true
|
|
|
|
|
|
|
|
|
|
[node name="PrintCurrentUserOnConsole" type="Button" parent="."]
|
|
|
|
|
[node name="PrintCurrentUserOnConsole" type="Button" parent="Panel"]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 4
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = 7.0
|
|
|
|
|
offset_top = 141.375
|
|
|
|
|
offset_right = 240.0
|
|
|
|
|
offset_bottom = 174.375
|
|
|
|
|
offset_left = 12.0
|
|
|
|
|
offset_top = 156.375
|
|
|
|
|
offset_right = 245.0
|
|
|
|
|
offset_bottom = 189.375
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
text = "Print current user on console"
|
|
|
|
|
|
|
|
|
|
[node name="AcceptInviteRequest" type="Button" parent="."]
|
|
|
|
|
[node name="AcceptJoinRequest" type="Button" parent="Panel"]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 4
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = 7.0
|
|
|
|
|
offset_top = 178.875
|
|
|
|
|
offset_right = 149.0
|
|
|
|
|
offset_bottom = 209.875
|
|
|
|
|
offset_left = 12.0
|
|
|
|
|
offset_top = 193.875
|
|
|
|
|
offset_right = 154.0
|
|
|
|
|
offset_bottom = 224.875
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
text = "ACCEPT REQUEST"
|
|
|
|
|
|
|
|
|
|
[node name="InviteWithUserID" type="LineEdit" parent="."]
|
|
|
|
|
[node name="InviteWithUserID" type="LineEdit" parent="Panel"]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 4
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = 6.0
|
|
|
|
|
offset_top = 215.375
|
|
|
|
|
offset_right = 205.0
|
|
|
|
|
offset_bottom = 246.375
|
|
|
|
|
offset_left = 11.0
|
|
|
|
|
offset_top = 230.375
|
|
|
|
|
offset_right = 210.0
|
|
|
|
|
offset_bottom = 261.375
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
size_flags_horizontal = 0
|
|
|
|
|
placeholder_text = "Invite with user_id here"
|
|
|
|
|
|
|
|
|
|
[node name="AcceptWithUserID" type="LineEdit" parent="."]
|
|
|
|
|
[node name="AcceptWithUserID" type="LineEdit" parent="Panel"]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 4
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = 6.0
|
|
|
|
|
offset_top = 250.875
|
|
|
|
|
offset_right = 255.0
|
|
|
|
|
offset_bottom = 281.875
|
|
|
|
|
offset_left = 11.0
|
|
|
|
|
offset_top = 265.875
|
|
|
|
|
offset_right = 260.0
|
|
|
|
|
offset_bottom = 296.875
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
placeholder_text = "Accept Invite with user_id here"
|
|
|
|
|
|
|
|
|
|
[connection signal="pressed" from="PrintCurrentUserOnConsole" to="." method="_on_button_2_pressed"]
|
|
|
|
|
[connection signal="pressed" from="AcceptInviteRequest" to="." method="_on_button_pressed"]
|
|
|
|
|
[connection signal="text_submitted" from="InviteWithUserID" to="." method="_on_line_edit_text_submitted"]
|
|
|
|
|
[connection signal="text_submitted" from="AcceptWithUserID" to="." method="_on_line_edit_2_text_submitted"]
|
|
|
|
|
[node name="ToggleSDK" type="CheckButton" parent="Panel"]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 4
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = 298.0
|
|
|
|
|
offset_top = 157.375
|
|
|
|
|
offset_right = 1144.0
|
|
|
|
|
offset_bottom = 665.375
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
scale = Vector2(0.05, 0.05)
|
|
|
|
|
theme_override_icons/checked = ExtResource("2_q6tao")
|
|
|
|
|
theme_override_icons/unchecked = ExtResource("3_5cyem")
|
|
|
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_8abo6")
|
|
|
|
|
button_pressed = true
|
|
|
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Panel"]
|
|
|
|
|
self_modulate = Color(0.47451, 0.47451, 0.47451, 1)
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = -1
|
|
|
|
|
anchor_left = 0.88
|
|
|
|
|
anchor_top = 0.762
|
|
|
|
|
anchor_right = 0.88
|
|
|
|
|
anchor_bottom = 0.762
|
|
|
|
|
offset_left = -28.8
|
|
|
|
|
offset_top = -28.776
|
|
|
|
|
offset_right = 28.0841
|
|
|
|
|
offset_bottom = 28.1082
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
scale = Vector2(0.5, 0.5)
|
|
|
|
|
pivot_offset = Vector2(29.0693, 29.0693)
|
|
|
|
|
texture = ExtResource("3_goflf")
|
|
|
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Panel/TextureRect"]
|
|
|
|
|
libraries = {
|
|
|
|
|
"": SubResource("AnimationLibrary_a7ofc")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[connection signal="pressed" from="Panel/PrintCurrentUserOnConsole" to="." method="_on_print_current_user_on_console_pressed"]
|
|
|
|
|
[connection signal="pressed" from="Panel/AcceptJoinRequest" to="." method="_on_accept_join_request_pressed"]
|
|
|
|
|
[connection signal="text_submitted" from="Panel/InviteWithUserID" to="." method="_on_invite_with_user_id_text_submitted"]
|
|
|
|
|
[connection signal="text_submitted" from="Panel/AcceptWithUserID" to="." method="_on_accept_with_user_id_text_submitted"]
|
|
|
|
|
[connection signal="toggled" from="Panel/ToggleSDK" to="." method="_on_toggle_sdk_toggled"]
|
|
|
|
|