GMTKJam2021/Playa.tscn

38 lines
1015 B
Plaintext
Raw Normal View History

2021-06-12 19:12:34 +02:00
[gd_scene load_steps=5 format=2]
2021-06-12 00:17:29 +02:00
2021-06-13 16:40:12 +02:00
[ext_resource path="res://assets/car/Taxi.png" type="Texture" id=1]
2021-06-12 00:17:29 +02:00
[ext_resource path="res://Playa.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1]
2021-06-12 13:41:12 +02:00
radius = 13.0017
height = 19.9256
2021-06-12 00:17:29 +02:00
2021-06-12 11:29:30 +02:00
[sub_resource type="CapsuleShape2D" id=2]
2021-06-12 13:41:12 +02:00
radius = 12.9279
height = 25.8183
2021-06-12 11:29:30 +02:00
[node name="Playa" type="KinematicBody2D" groups=[
"Player",
]]
2021-06-12 00:17:29 +02:00
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
2021-06-12 02:04:22 +02:00
rotation = 3.14159
2021-06-13 16:40:12 +02:00
scale = Vector2( 0.4, 0.4 )
2021-06-12 00:17:29 +02:00
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
2021-06-12 11:29:30 +02:00
[node name="PickupCheckArea" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="PickupCheckArea"]
shape = SubResource( 2 )
2021-06-12 19:12:34 +02:00
[node name="Anchor" type="Position2D" parent="."]
2021-06-12 13:41:12 +02:00
position = Vector2( 0, 25 )
2021-06-12 19:12:34 +02:00
[node name="GuestList" type="Node2D" parent="."]
2021-06-12 13:41:12 +02:00
2021-06-12 11:29:30 +02:00
[connection signal="area_entered" from="PickupCheckArea" to="." method="_on_PickupCheckArea_area_entered"]