Files
GameJam2023/Player/Sagittarius/Attacks/MegamiBeamAltFire.tscn
2023-09-12 09:35:00 -07:00

59 lines
2.2 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://bmqcck4srfd1u"]
[ext_resource type="Script" path="res://Player/Base/Projectile.cs" id="1_c33ey"]
[ext_resource type="AudioStream" uid="uid://m8mvw8acs5sk" path="res://Audio/SFX/Green Wave.wav" id="2_wafm2"]
[ext_resource type="Texture2D" uid="uid://cferkvvp0rjht" path="res://Textures/Projectiles/Projectile_Sagittarius.png" id="3_mg23b"]
[sub_resource type="Curve3D" id="Curve3D_7ok4f"]
_data = {
"points": PackedVector3Array(0, 0, 0, 0, 0, 0, -0.023, 1, -0.38, 0, 0, 0, 0, 0, 0, 0, 1, -3),
"tilts": PackedFloat32Array(0, 0)
}
point_count = 2
[sub_resource type="CylinderShape3D" id="CylinderShape3D_bnunv"]
height = 3.3177
radius = 0.57027
[node name="MegamiBeam" type="Node3D" groups=["Projectile"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.000150919)
[node name="Path3D" type="Path3D" parent="."]
top_level = true
curve = SubResource("Curve3D_7ok4f")
script = ExtResource("1_c33ey")
Cooldown = 0.5
_soundEffect = ExtResource("2_wafm2")
_projectileSpeed = 3.0
HasRotation = true
[node name="PathFollow3D" type="PathFollow3D" parent="Path3D"]
transform = Transform3D(0.999993, 0, 0, 0, 0.999995, 0, 0, 0, 0.999999, -0.023, 1, -0.38)
rotation_mode = 0
loop = false
tilt_enabled = false
[node name="Beam" type="RigidBody3D" parent="Path3D/PathFollow3D"]
transform = Transform3D(1, 0, 0, 0, -1, -1.50996e-07, 0, 1.50996e-07, -1, 0, 0, 0)
collision_layer = 44
gravity_scale = 0.0
continuous_cd = true
max_contacts_reported = 1000
contact_monitor = true
can_sleep = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="Path3D/PathFollow3D/Beam"]
transform = Transform3D(0.5, 0, 8.73115e-11, 0, 0.5, 0, -8.73115e-11, 0, 0.5, 0.000155393, 0, 0.194262)
shape = SubResource("CylinderShape3D_bnunv")
[node name="Sprite3D2" type="Sprite3D" parent="Path3D/PathFollow3D/Beam"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 1.42109e-14, -1, -0.00355998, -0.119854, 0.205225)
axis = 1
texture = ExtResource("3_mg23b")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_wafm2")
autoplay = true
[connection signal="body_entered" from="Path3D/PathFollow3D/Beam" to="Path3D" method="OnProjectileHit"]