31 lines
1006 B
Plaintext
31 lines
1006 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://bjihbmnkq0n3b"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bqdblby54pv2s" path="res://Assets/Bullets/arrow.png" id="1_v0wue"]
|
|
[ext_resource type="Script" uid="uid://dqvdgdobuo2rf" path="res://Game/Bullets/bullet.gd" id="1_wft0c"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wft0c"]
|
|
size = Vector2(3, 16)
|
|
|
|
[node name="Arrow" type="Node2D"]
|
|
script = ExtResource("1_wft0c")
|
|
|
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
|
collision_mask = 2
|
|
|
|
[node name="CPUParticles2D" type="CPUParticles2D" parent="CharacterBody2D"]
|
|
position = Vector2(0, 10)
|
|
lifetime = 0.5
|
|
speed_scale = 5.0
|
|
emission_shape = 2
|
|
emission_sphere_radius = 4.0
|
|
spread = 0.0
|
|
gravity = Vector2(0, 0)
|
|
scale_amount_min = 2.0
|
|
scale_amount_max = 4.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
|
shape = SubResource("RectangleShape2D_wft0c")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="CharacterBody2D"]
|
|
texture = ExtResource("1_v0wue")
|