projectboost/scenes/characters/player.tscn
2025-02-09 14:43:15 +01:00

48 lines
2 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://cuduv6fwqtocs"]
[ext_resource type="Script" path="res://scenes/characters/Player.cs" id="1_fr1bo"]
[ext_resource type="AudioStream" uid="uid://nsq05kpsix83" path="res://resources/audio/SFX - Death Explosion.ogg" id="2_ml1je"]
[ext_resource type="AudioStream" uid="uid://cr4ckjeqxa5xe" path="res://resources/audio/SFX - Success.ogg" id="3_xmihe"]
[ext_resource type="AudioStream" uid="uid://dyf7x2qy7lww" path="res://resources/audio/SFX - Main engine thrust.ogg" id="4_204bm"]
[ext_resource type="PackedScene" uid="uid://ux6ivcx1ovdp" path="res://scenes/characters/booster_particles.tscn" id="5_q1ic3"]
[sub_resource type="CylinderMesh" id="CylinderMesh_dk8lw"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_bplwn"]
[node name="Player" type="RigidBody3D"]
axis_lock_linear_z = true
axis_lock_angular_x = true
axis_lock_angular_y = true
contact_monitor = true
max_contacts_reported = 10
linear_damp = 1.0
angular_damp = 3.0
script = ExtResource("1_fr1bo")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("CylinderMesh_dk8lw")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CylinderShape3D_bplwn")
[node name="DeathAudioPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_ml1je")
[node name="SuccessAudioPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_xmihe")
[node name="RocketAudioPlayer" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("4_204bm")
[node name="BoosterParticles" parent="." instance=ExtResource("5_q1ic3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0)
emitting = false
[node name="BoosterLeftParticles" parent="." instance=ExtResource("5_q1ic3")]
transform = Transform3D(1, 0, 0, 0, 0.939693, -0.34202, 0, 0.34202, 0.939693, 0, -1, -0.4)
emitting = false
[node name="BoosterRightParticles" parent="." instance=ExtResource("5_q1ic3")]
transform = Transform3D(1, 0, 0, 0, 0.939693, 0.34202, 0, -0.34202, 0.939693, 0, -1, 0.4)
emitting = false