ld52_olive_harvest/projectiles/OliveProjectile.tscn

29 lines
785 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://items/olive.png" type="Texture" id=1]
[ext_resource path="res://projectiles/OliveProjectile.gd" type="Script" id=2]
[sub_resource type="CapsuleShape2D" id=1]
radius = 8.95455
height = 8.67516
[node name="OliveProjectile" type="Area2D"]
z_index = 1
collision_layer = 4
collision_mask = 0
script = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 11, 9 )
rotation = -0.87441
shape = SubResource( 1 )
[node name="OliveSprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
centered = false
offset = Vector2( -5, -5 )
[node name="Tween" type="Tween" parent="."]
[connection signal="tween_all_completed" from="Tween" to="." method="_on_Tween_tween_all_completed"]