basic capture functionality
This commit is contained in:
parent
246f3c0840
commit
c141e6a169
20 changed files with 430 additions and 14 deletions
|
|
@ -1,9 +1,12 @@
|
|||
[gd_scene format=3 uid="uid://bjt15rm720w5g"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://duf0vlr2yin8l" path="res://scripts/gameplay/Player.cs" id="1_p0vlq"]
|
||||
[ext_resource type="Script" uid="uid://dtaa141c1wb8e" path="res://scripts/world/PlayerInteractor.cs" id="2_v6fml"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_p0vlq"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_3li8b"]
|
||||
|
||||
[node name="Player" type="CharacterBody2D" unique_id=1675096620]
|
||||
script = ExtResource("1_p0vlq")
|
||||
|
||||
|
|
@ -27,3 +30,10 @@ offset_right = 8.0
|
|||
offset_bottom = 8.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="InteractArea" type="Area2D" parent="." unique_id=973889967]
|
||||
script = ExtResource("2_v6fml")
|
||||
GameRootPath = NodePath("")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractArea" unique_id=524618181]
|
||||
shape = SubResource("CircleShape2D_3li8b")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue