145 lines
4.7 KiB
Plaintext
145 lines
4.7 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://jlovgr2iojrg"]
|
|
|
|
[ext_resource type="Script" uid="uid://b5b5cl2qlhywv" path="res://elements/player_hand.gd" id="1_ank64"]
|
|
[ext_resource type="PackedScene" uid="uid://b55xpcxk7g5ph" path="res://cards/playing_card.tscn" id="2_11xsc"]
|
|
[ext_resource type="PackedScene" uid="uid://bdmr8tox2w2qn" path="res://assets/arrow.glb" id="3_ksc6e"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ksc6e"]
|
|
albedo_color = Color(0.84, 0.4725, 0.21, 1)
|
|
|
|
[sub_resource type="Animation" id="Animation_ksc6e"]
|
|
resource_name = "hover"
|
|
length = 2.0
|
|
loop_mode = 1
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0, 0),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 1, 2)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:position:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(2, 2, 2),
|
|
"points": PackedFloat32Array(-0.576859, 0, 0, 0.333333, 0, -0.720279, -0.333333, 0, 0.333333, 0, -0.576859, -0.333333, 0, 0, 0),
|
|
"times": PackedFloat32Array(0, 1, 2)
|
|
}
|
|
tracks/2/type = "bezier"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath(".:position:z")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0, 0),
|
|
"points": PackedFloat32Array(-0.0702564, -0.25, 0, 0.25, 0, -0.0702564, -0.25, 0, 0.25, 0, -0.0702564, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 1, 2)
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_j3yk6"]
|
|
length = 0.001
|
|
loop_mode = 1
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:position:y")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/2/type = "bezier"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath(".:position:z")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_v6rd7"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_j3yk6"),
|
|
&"hover": SubResource("Animation_ksc6e")
|
|
}
|
|
|
|
[node name="PlayerHand" type="Node3D" node_paths=PackedStringArray("card_container", "name_label", "rank_label", "top_arrow_container", "bottom_arrow_container")]
|
|
script = ExtResource("1_ank64")
|
|
card_scene = ExtResource("2_11xsc")
|
|
card_container = NodePath("CardContainer")
|
|
card_angle = 0.125664
|
|
name_label = NodePath("NameLabel")
|
|
rank_label = NodePath("RankLabel")
|
|
top_arrow_container = NodePath("TopArrow")
|
|
bottom_arrow_container = NodePath("BottomArrow")
|
|
|
|
[node name="NameLabel" type="Label3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.513717, 0)
|
|
billboard = 1
|
|
double_sided = false
|
|
text = "name goes here"
|
|
|
|
[node name="CardContainer" type="Node3D" parent="."]
|
|
|
|
[node name="RankLabel" type="Label3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.283052, 0)
|
|
billboard = 1
|
|
double_sided = false
|
|
|
|
[node name="TopArrow" type="Node3D" parent="."]
|
|
transform = Transform3D(-1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 0, 0, 1, 0, 0, 0)
|
|
|
|
[node name="arrow" parent="TopArrow" instance=ExtResource("3_ksc6e")]
|
|
transform = Transform3D(0.35, 0, 0, 0, 0.35, 0, 0, 0, 0.35, 0, 0, 0)
|
|
|
|
[node name="Cylinder" parent="TopArrow/arrow" index="0"]
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_ksc6e")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="TopArrow/arrow"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_v6rd7")
|
|
}
|
|
autoplay = "hover"
|
|
|
|
[node name="BottomArrow" type="Node3D" parent="."]
|
|
|
|
[node name="arrow" parent="BottomArrow" instance=ExtResource("3_ksc6e")]
|
|
transform = Transform3D(0.35, 0, 0, 0, 0.35, 0, 0, 0, 0.35, 0, 0, 0)
|
|
|
|
[node name="Cylinder" parent="BottomArrow/arrow" index="0"]
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_ksc6e")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="BottomArrow/arrow"]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_v6rd7")
|
|
}
|
|
autoplay = "hover"
|
|
|
|
[editable path="TopArrow/arrow"]
|
|
[editable path="BottomArrow/arrow"]
|