GMTKJam2021/Playa.tscn

38 lines
1015 B
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/car/Taxi.png" type="Texture" id=1]
[ext_resource path="res://Playa.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 13.0017
height = 19.9256
[sub_resource type="CapsuleShape2D" id=2]
radius = 12.9279
height = 25.8183
[node name="Playa" type="KinematicBody2D" groups=[
"Player",
]]
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
rotation = 3.14159
scale = Vector2( 0.4, 0.4 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="PickupCheckArea" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PickupCheckArea"]
shape = SubResource( 2 )
[node name="Anchor" type="Position2D" parent="."]
position = Vector2( 0, 25 )
[node name="GuestList" type="Node2D" parent="."]
[connection signal="area_entered" from="PickupCheckArea" to="." method="_on_PickupCheckArea_area_entered"]