27 lines
911 B
Plaintext
27 lines
911 B
Plaintext
[gd_scene format=3 uid="uid://bvxp7yw8q1k2l"]
|
|
|
|
[ext_resource type="Script" uid="uid://bqxbhjq2b4ram" path="res://scripts/sword_slash.gd" id="1_sword"]
|
|
[ext_resource type="Texture2D" uid="uid://dkpritx47nd4m" path="res://assets/gfx/pickups/items_n_shit.png" id="2_e3omh"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_slash"]
|
|
size = Vector2(120, 60)
|
|
|
|
[node name="SwordSlash" type="Node2D" unique_id=1348241278]
|
|
script = ExtResource("1_sword")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1244548324]
|
|
rotation = 3.14159
|
|
scale = Vector2(3, 3)
|
|
texture = ExtResource("2_e3omh")
|
|
hframes = 20
|
|
vframes = 14
|
|
frame = 60
|
|
|
|
[node name="Area2D" type="Area2D" parent="." unique_id=1569887807]
|
|
collision_layer = 4
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1035191880]
|
|
position = Vector2(60, 0)
|
|
shape = SubResource("RectangleShape2D_slash")
|