28 lines
774 B
Plaintext
28 lines
774 B
Plaintext
|
[gd_scene load_steps=5 format=2]
|
||
|
|
||
|
[ext_resource path="res://Assets/dirt.png" type="Texture" id=1]
|
||
|
[ext_resource path="res://Dust.gd" type="Script" id=2]
|
||
|
[ext_resource path="res://dirt.gd" type="Script" id=3]
|
||
|
|
||
|
[sub_resource type="CapsuleShape2D" id=1]
|
||
|
radius = 2.12476
|
||
|
height = 0.0
|
||
|
|
||
|
[node name="Dust" type="Area2D"]
|
||
|
modulate = Color( 0.654902, 0.560784, 0.235294, 1 )
|
||
|
z_index = -1
|
||
|
collision_layer = 4
|
||
|
collision_mask = 2
|
||
|
script = ExtResource( 2 )
|
||
|
|
||
|
[node name="dirt" type="Sprite" parent="."]
|
||
|
position = Vector2( 0.0312853, -0.0104284 )
|
||
|
texture = ExtResource( 1 )
|
||
|
vframes = 8
|
||
|
script = ExtResource( 3 )
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource( 1 )
|
||
|
|
||
|
[connection signal="body_entered" from="." to="." method="_on_Dust_body_entered"]
|