Add barrier-based catch and chase mechanic
This commit is contained in:
parent
ad848f9431
commit
ae2f724fe2
12 changed files with 631 additions and 68 deletions
|
|
@ -1,8 +1,9 @@
|
|||
[gd_scene load_steps=11 format=3]
|
||||
[gd_scene load_steps=12 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://fishing/fishing_spot.gd" id="1_spot"]
|
||||
[ext_resource type="Resource" path="res://fish/bluegill.tres" id="2_bluegill"]
|
||||
[ext_resource type="Script" path="res://fishing/fishing_presentation.gd" id="3_presentation"]
|
||||
[ext_resource type="Script" path="res://fishing/catch_controller.gd" id="4_catch"]
|
||||
|
||||
[sub_resource type="SphereMesh" id="BobberMesh"]
|
||||
radius = 0.12
|
||||
|
|
@ -42,6 +43,10 @@ size = Vector3(0.72, 0.06, 0.12)
|
|||
script = ExtResource("1_spot")
|
||||
catchable_fish = ExtResource("2_bluegill")
|
||||
|
||||
[node name="CatchController" type="Node" parent="."]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("4_catch")
|
||||
|
||||
[node name="FishingPresentation" type="Node3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
script = ExtResource("3_presentation")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue