-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcursor.tscn
More file actions
28 lines (20 loc) · 1.04 KB
/
cursor.tscn
File metadata and controls
28 lines (20 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[gd_scene load_steps=5 format=3 uid="uid://ow7101idlpsf"]
[ext_resource type="Script" path="res://scripts/cursor.gd" id="1_wa47r"]
[ext_resource type="Texture2D" uid="uid://5wb0wo0tv681" path="res://crosshair/Crosshair Pack-sheet.png" id="2_m50qf"]
[ext_resource type="AudioStream" uid="uid://b4h3drkfa2evf" path="res://shoot.wav" id="3_am5br"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2vkfg"]
size = Vector2(50, 50)
[node name="cursor" type="CharacterBody2D"]
scale = Vector2(0.2, 0.2)
script = ExtResource("1_wa47r")
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(7, 7)
texture = ExtResource("2_m50qf")
hframes = 28
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(-1.19209e-06, -1.19209e-06)
shape = SubResource("RectangleShape2D_2vkfg")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_am5br")
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]