37 lines
958 B
Plaintext
37 lines
958 B
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://assets/car/Auto.png" type="Texture" id=1]
|
|
[ext_resource path="res://Playa.gd" type="Script" id=2]
|
|
|
|
[sub_resource type="CapsuleShape2D" id=1]
|
|
radius = 33.6545
|
|
height = 72.4629
|
|
|
|
[sub_resource type="CapsuleShape2D" id=2]
|
|
radius = 33.5246
|
|
height = 72.4617
|
|
|
|
[node name="Playa" type="KinematicBody2D" groups=[
|
|
"Player",
|
|
]]
|
|
script = ExtResource( 2 )
|
|
__meta__ = {
|
|
"_edit_group_": true
|
|
}
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
position = Vector2( 5.25562, -20.8122 )
|
|
rotation = 3.14159
|
|
scale = Vector2( 2, 2 )
|
|
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 )
|
|
|
|
[connection signal="area_entered" from="PickupCheckArea" to="." method="_on_PickupCheckArea_area_entered"]
|