32 lines
952 B
Plaintext
32 lines
952 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dmt5gpklx8efc"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/projectile/Projectile.cs" id="1_cp6hg"]
|
|
[ext_resource type="Texture2D" uid="uid://ca3paw31aubkd" path="res://sprites/projectile/magicMissile.png" id="2_6mikr"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vfvxd"]
|
|
size = Vector2(20, 14)
|
|
|
|
[node name="MagicMissile" type="CharacterBody2D"]
|
|
collision_layer = 0
|
|
collision_mask = 0
|
|
script = ExtResource("1_cp6hg")
|
|
_life = 5000
|
|
_durability = 1.0
|
|
_maxDamage = 7
|
|
_minDamage = 3
|
|
_damageType = 2
|
|
Speed = 15.0
|
|
_repelStrength = 2.5
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(1, 0)
|
|
shape = SubResource("RectangleShape2D_vfvxd")
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
|
bus = &"SoundEffect"
|
|
area_mask = 16
|
|
|
|
[node name="MagicMissile" type="Sprite2D" parent="."]
|
|
position = Vector2(1, 0)
|
|
texture = ExtResource("2_6mikr")
|