Vore_Sandbox_Remaster/objects/poo.tscn

32 lines
1.1 KiB
Text

[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/poo.gd" type="Script" id=1]
[ext_resource path="res://sprites/spr_siht_0.png" type="Texture" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 2.5
height = 5.0
[node name="poo" type="KinematicBody2D"]
collision_layer = 16
collision_mask = 2
script = ExtResource( 1 )
[node name="body" type="Sprite" parent="."]
texture = ExtResource( 2 )
[node name="Collision" type="CollisionShape2D" parent="."]
position = Vector2( 0, 2.5 )
rotation = 1.5708
shape = SubResource( 1 )
[node name="Polygon2D" type="Polygon2D" parent="."]
position = Vector2( 0.208805, 1.75662 )
color = Color( 0.607843, 0.396078, 0, 1 )
polygon = PoolVector2Array( -1.46071, -3.08159, -1.05446, -3.72222, -0.585707, -4.08159, -0.0232072, -4.12847, 0.476793, -3.86284, 0.898668, -3.33159, 1.16429, -2.64409, 1.20875, 1.24539, 0.907545, 2.31571, 0.234325, 2.91583, -0.263601, 2.94548, -0.694494, 2.70241, -1.35259, 1.85788, -1.51963, 0.939145 )
[node name="Despawn" type="Timer" parent="."]
wait_time = 100.0
autostart = true
[connection signal="timeout" from="Despawn" to="." method="queue_free"]