[gd_scene load_steps=6 format=2] [ext_resource path="res://scripts/1px_border.gdshader" type="Shader" id=1] [ext_resource path="res://objects/collectibles/arrow.gd" type="Script" id=2] [ext_resource path="res://graphics/player/arrow.png" type="Texture" id=3] [sub_resource type="ShaderMaterial" id=7] shader = ExtResource( 1 ) shader_param/border_color = Color( 0, 0, 0, 1 ) shader_param/border_corners = true [sub_resource type="RectangleShape2D" id=6] extents = Vector2( 4, 4 ) [node name="Arrow" type="Node2D"] script = ExtResource( 2 ) [node name="Sprite" type="Sprite" parent="."] material = SubResource( 7 ) position = Vector2( 5, 2 ) rotation = -1.5708 texture = ExtResource( 3 ) [node name="Area2D" type="Area2D" parent="."] visible = false [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2( 4, 4 ) shape = SubResource( 6 ) [connection signal="area_entered" from="Area2D" to="." method="_on_Area2D_area_entered"]