Add final level, start on cutter weapon
This commit is contained in:
48
Scenes/Weapons/SingleShot.tscn
Normal file
48
Scenes/Weapons/SingleShot.tscn
Normal file
@@ -0,0 +1,48 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://si4byubqnng4"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/TestBullet.cs" id="1_f6dfa"]
|
||||
[ext_resource type="Texture2D" uid="uid://borp7xvlfdcmq" path="res://Textures/Projectiles/bubble.png" id="2_1dg7p"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_phgri"]
|
||||
albedo_color = Color(0.584314, 0.0352941, 0.141176, 1)
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_wuk0e"]
|
||||
material = SubResource("StandardMaterial3D_phgri")
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_3c0di"]
|
||||
|
||||
[node name="SingleShot" type="Node3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.538645, 0)
|
||||
script = ExtResource("1_f6dfa")
|
||||
Cooldown = 0.5
|
||||
_projectileSpeed = 15.0
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
||||
collision_layer = 34
|
||||
collision_mask = 34
|
||||
gravity_scale = 0.0
|
||||
continuous_cd = true
|
||||
max_contacts_reported = 1000
|
||||
contact_monitor = true
|
||||
can_sleep = false
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D"]
|
||||
visible = false
|
||||
mesh = SubResource("SphereMesh_wuk0e")
|
||||
skeleton = NodePath("../..")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0054872, -0.00215495, 0.0167444)
|
||||
shape = SubResource("CylinderShape3D_3c0di")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="RigidBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00168204, -0.0587139, 0)
|
||||
axis = 1
|
||||
texture = ExtResource("2_1dg7p")
|
||||
|
||||
[node name="TTL" type="Timer" parent="."]
|
||||
process_callback = 0
|
||||
autostart = true
|
||||
|
||||
[connection signal="body_entered" from="RigidBody3D" to="." method="OnBulletHitObject"]
|
||||
[connection signal="timeout" from="TTL" to="." method="OnTimeToLiveTimeout"]
|
||||
Reference in New Issue
Block a user