91 lines
3.0 KiB
Plaintext
91 lines
3.0 KiB
Plaintext
![]() |
[gd_scene load_steps=8 format=2]
|
||
|
|
||
|
[ext_resource path="res://Minigames/Fishing/FishingGame.tscn" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://Minigames/Fishing/FishingInteraction.gd" type="Script" id=2]
|
||
|
[ext_resource path="res://Assets/T_sink_out/T_sink.tscn" type="PackedScene" id=3]
|
||
|
|
||
|
[sub_resource type="ViewportTexture" id=3]
|
||
|
viewport_path = NodePath("Viewport")
|
||
|
|
||
|
[sub_resource type="BoxShape" id=4]
|
||
|
extents = Vector3( 0.369312, 0.273916, 0.246716 )
|
||
|
|
||
|
[sub_resource type="Animation" id=5]
|
||
|
resource_name = "start_fishing"
|
||
|
length = 4.0
|
||
|
tracks/0/type = "value"
|
||
|
tracks/0/path = NodePath("waterPivot/water:visible")
|
||
|
tracks/0/interp = 1
|
||
|
tracks/0/loop_wrap = true
|
||
|
tracks/0/imported = false
|
||
|
tracks/0/enabled = true
|
||
|
tracks/0/keys = {
|
||
|
"times": PoolRealArray( 0, 0.1, 4 ),
|
||
|
"transitions": PoolRealArray( 1, 1, 1 ),
|
||
|
"update": 1,
|
||
|
"values": [ false, true, false ]
|
||
|
}
|
||
|
tracks/1/type = "value"
|
||
|
tracks/1/path = NodePath("gameview:translation")
|
||
|
tracks/1/interp = 1
|
||
|
tracks/1/loop_wrap = true
|
||
|
tracks/1/imported = false
|
||
|
tracks/1/enabled = true
|
||
|
tracks/1/keys = {
|
||
|
"times": PoolRealArray( 0, 1, 3 ),
|
||
|
"transitions": PoolRealArray( 1, 1, 1 ),
|
||
|
"update": 0,
|
||
|
"values": [ Vector3( 0.00797827, 0.736332, 0.310372 ), Vector3( 0.00797827, 0.736332, 0.310372 ), Vector3( 0.00797827, 0.863023, 0.310372 ) ]
|
||
|
}
|
||
|
tracks/2/type = "value"
|
||
|
tracks/2/path = NodePath("waterPivot:scale")
|
||
|
tracks/2/interp = 1
|
||
|
tracks/2/loop_wrap = true
|
||
|
tracks/2/imported = false
|
||
|
tracks/2/enabled = true
|
||
|
tracks/2/keys = {
|
||
|
"times": PoolRealArray( 0, 1, 3, 4 ),
|
||
|
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
||
|
"update": 0,
|
||
|
"values": [ Vector3( 1, 0.0119778, 1 ), Vector3( 1, 1, 1 ), Vector3( 1, 1, 1 ), Vector3( 1, 0.012, 1 ) ]
|
||
|
}
|
||
|
|
||
|
[sub_resource type="CylinderMesh" id=6]
|
||
|
top_radius = 0.4
|
||
|
bottom_radius = 0.8
|
||
|
height = 10.0
|
||
|
|
||
|
[node name="Fishing" type="Spatial"]
|
||
|
|
||
|
[node name="Viewport" type="Viewport" parent="."]
|
||
|
size = Vector2( 640, 320 )
|
||
|
own_world = true
|
||
|
|
||
|
[node name="FishingGame" parent="Viewport" instance=ExtResource( 1 )]
|
||
|
|
||
|
[node name="gameview" type="Sprite3D" parent="."]
|
||
|
transform = Transform( 0.12, 0, 0, 0, -5.24537e-09, -0.12, 0, 0.12, -5.24537e-09, 0.00797827, 0.736332, 0.310372 )
|
||
|
texture = SubResource( 3 )
|
||
|
|
||
|
[node name="Go Fish!" type="StaticBody" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.282938 )
|
||
|
script = ExtResource( 2 )
|
||
|
|
||
|
[node name="CollisionShape" type="CollisionShape" parent="Go Fish!"]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.879508, 0 )
|
||
|
shape = SubResource( 4 )
|
||
|
|
||
|
[node name="T_sink" parent="." instance=ExtResource( 3 )]
|
||
|
|
||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||
|
anims/start_fishing = SubResource( 5 )
|
||
|
|
||
|
[node name="waterPivot" type="Spatial" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 0.0119778, 0, 0, 0, 1, 0, 0.964043, 0.2 )
|
||
|
|
||
|
[node name="water" type="MeshInstance" parent="waterPivot"]
|
||
|
transform = Transform( 0.025, 0, 0, 0, 0.025, 0, 0, 0, 0.025, -0.00031903, -0.117396, 0.000456154 )
|
||
|
visible = false
|
||
|
mesh = SubResource( 6 )
|
||
|
skeleton = NodePath("../..")
|