2026-02-08 20:34:01 +01:00
|
|
|
[gd_scene format=3 uid="uid://crcdug04y1dxy"]
|
2025-07-09 17:18:09 +02:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://cg6y36s7buapp" path="res://Scripts/Weapons/Bullet3D.cs" id="1_1hlxa"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dooyhu8vt63vm" path="res://Sprites/Bullets/mid_bullet_blue.png" id="2_1hlxa"]
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://b3rm0vj6x54k4" path="res://SFX/th_knockoff_sfx/click_collect.wav" id="3_4sq4m"]
|
|
|
|
|
[ext_resource type="Material" uid="uid://ogkwkokxevat" path="res://Resources/Particles/graze_particle_3D.tres" id="4_83jmy"]
|
2025-12-28 22:53:31 +01:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dq60rr6ejqd2t" path="res://Sprites/Actors/Shadow-Blob_001.png" id="5_a0er3"]
|
2025-07-09 17:18:09 +02:00
|
|
|
|
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_pklkt"]
|
|
|
|
|
radius = 0.161126
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t5ure"]
|
|
|
|
|
vertex_color_use_as_albedo = true
|
|
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_nd0aw"]
|
|
|
|
|
lightmap_size_hint = Vector2i(2, 2)
|
|
|
|
|
material = SubResource("StandardMaterial3D_t5ure")
|
|
|
|
|
size = Vector2(0.1, 0.1)
|
|
|
|
|
orientation = 1
|
|
|
|
|
|
2026-02-08 20:34:01 +01:00
|
|
|
[node name="Bullet" type="Area3D" unique_id=1375232927 groups=["bullets"]]
|
2025-07-09 17:18:09 +02:00
|
|
|
collision_layer = 136
|
|
|
|
|
collision_mask = 87
|
|
|
|
|
script = ExtResource("1_1hlxa")
|
|
|
|
|
Speed = 200.0
|
|
|
|
|
metadata/_edit_group_ = true
|
|
|
|
|
|
2026-02-08 20:34:01 +01:00
|
|
|
[node name="Sprite" type="Sprite3D" parent="." unique_id=1926728911]
|
2025-07-09 17:18:09 +02:00
|
|
|
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
|
|
|
|
|
pixel_size = 0.05
|
|
|
|
|
texture_filter = 0
|
|
|
|
|
texture = ExtResource("2_1hlxa")
|
|
|
|
|
|
2026-02-08 20:34:01 +01:00
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="." unique_id=266849611]
|
2025-07-09 17:18:09 +02:00
|
|
|
shape = SubResource("SphereShape3D_pklkt")
|
|
|
|
|
|
2026-02-08 20:34:01 +01:00
|
|
|
[node name="VisibleOnScreenNotifier" type="VisibleOnScreenNotifier3D" parent="." unique_id=526771795]
|
2025-07-09 17:18:09 +02:00
|
|
|
|
2026-02-08 20:34:01 +01:00
|
|
|
[node name="GrazeSound" type="AudioStreamPlayer3D" parent="." unique_id=1335069946]
|
2025-07-09 17:18:09 +02:00
|
|
|
stream = ExtResource("3_4sq4m")
|
|
|
|
|
bus = &"Effects"
|
|
|
|
|
|
2026-02-08 20:34:01 +01:00
|
|
|
[node name="GrazeParticles" type="GPUParticles3D" parent="." unique_id=899936838]
|
2025-07-09 17:18:09 +02:00
|
|
|
transform = Transform3D(0.70710677, 0.49999997, 0.49999997, 0, 0.70710677, -0.70710677, -0.70710677, 0.49999997, 0.49999997, 0, 0, 0)
|
|
|
|
|
emitting = false
|
|
|
|
|
amount = 2
|
|
|
|
|
lifetime = 0.2
|
|
|
|
|
one_shot = true
|
|
|
|
|
local_coords = true
|
|
|
|
|
process_material = ExtResource("4_83jmy")
|
|
|
|
|
draw_pass_1 = SubResource("QuadMesh_nd0aw")
|
|
|
|
|
|
2026-02-08 20:34:01 +01:00
|
|
|
[node name="Shadow" type="Decal" parent="." unique_id=346754827]
|
2025-12-28 22:53:31 +01:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.40163803, 0)
|
|
|
|
|
size = Vector3(0.5, 1.1991043, 0.5)
|
|
|
|
|
texture_albedo = ExtResource("5_a0er3")
|
|
|
|
|
normal_fade = 0.5
|
|
|
|
|
cull_mask = 1048574
|
|
|
|
|
|
2025-07-09 17:18:09 +02:00
|
|
|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
|
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
|
|
|
|
[connection signal="screen_exited" from="VisibleOnScreenNotifier" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|