Files
fgj-26/Prefabs/Projectiles/GreenFist.tscn
T

60 lines
1.8 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://deud430j2w18n"]
[ext_resource type="Script" uid="uid://ln2lt16fi47q" path="res://Scripts/Projectiles/Projectile.cs" id="1_g5vj3"]
[ext_resource type="Texture2D" uid="uid://bfclgdy7dusmg" path="res://Assets/Sprites/Projectiles/projectile_green-Sheet.png" id="2_g5vj3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_llqe1"]
radius = 8.062258
[sub_resource type="AtlasTexture" id="AtlasTexture_pj5bm"]
atlas = ExtResource("2_g5vj3")
region = Rect2(0, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_8cpk0"]
atlas = ExtResource("2_g5vj3")
region = Rect2(16, 0, 16, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nbvp2"]
atlas = ExtResource("2_g5vj3")
region = Rect2(32, 0, 16, 32)
[sub_resource type="SpriteFrames" id="SpriteFrames_0qapt"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_pj5bm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8cpk0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_nbvp2")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="Fireball" type="Node2D" node_paths=PackedStringArray("_hurtBox")]
texture_filter = 1
scale = Vector2(0.75, 0.75)
script = ExtResource("1_g5vj3")
_superEffective = Array[int]([0])
_baseDamage = 25.0
_speed = 250.0
_hurtBox = NodePath("Hurtbox")
[node name="Hurtbox" type="Area2D" parent="."]
collision_layer = 0
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox"]
shape = SubResource("CircleShape2D_llqe1")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
self_modulate = Color(1.8247963, 1.8247963, 1.8247963, 1)
rotation = -1.5707964
sprite_frames = SubResource("SpriteFrames_0qapt")
autoplay = "default"
offset = Vector2(0, -8)