game: add shooting

This commit is contained in:
2025-08-14 20:29:46 +02:00
parent 8077ba9c39
commit ca9f189696
12 changed files with 362 additions and 18 deletions

15
game/bullet_decal.tscn Normal file
View File

@@ -0,0 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://5dqpmmbur7v6"]
[sub_resource type="PlaneMesh" id="PlaneMesh_q27hx"]
size = Vector2(0.05, 0.05)
orientation = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mfh3f"]
albedo_color = Color(0, 0, 0, 1)
[node name="BulletDecal" type="Node3D"]
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 0, -0.00702295)
mesh = SubResource("PlaneMesh_q27hx")
surface_material_override/0 = SubResource("StandardMaterial3D_mfh3f")