DashBoomColorClash/entities/Player.tscn

46 lines
1.8 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=3 uid="uid://bfyjtfdko3l7o"]
2024-01-27 01:41:29 +01:00
[ext_resource type="Script" path="res://entities/Player.gd" id="1_w5gy0"]
[ext_resource type="AudioStream" uid="uid://bhbhh78j5rkfe" path="res://assets/sounds/pixabay/dash/whoosh-6316.mp3" id="2_ykhbt"]
[ext_resource type="AudioStream" uid="uid://qeg12ynvjvy0" path="res://assets/sounds/pixabay/explosion/081895_impact_wav-43951.mp3" id="3_mjsr0"]
[ext_resource type="AudioStream" uid="uid://b33xjins3dqpp" path="res://assets/sounds/pixabay/sfx/game-teleport-90735.mp3" id="4_y7abk"]
2024-01-27 01:41:29 +01:00
[sub_resource type="BoxMesh" id="BoxMesh_yle83"]
size = Vector3(0.24, 0.75, 0.24)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_rwgp3"]
height = 0.75
radius = 0.15
[node name="Player1" type="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -7329.1, 0)
2024-01-27 01:41:29 +01:00
collision_layer = 5
collision_mask = 7
velocity = Vector3(0, -378.927, 0)
2024-01-27 01:41:29 +01:00
script = ExtResource("1_w5gy0")
move_right_action = "move_right_p1"
move_left_action = "move_left_p1"
move_down_action = "move_down_p1"
move_up_action = "move_up_p1"
dash_action = "dash_p1"
bomb_action = "bomb_p1"
[node name="Geometry" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.472656, 0)
2024-01-27 01:41:29 +01:00
mesh = SubResource("BoxMesh_yle83")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.496337, 0)
shape = SubResource("CylinderShape3D_rwgp3")
[node name="DashAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_ykhbt")
[node name="ExplosionAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3_mjsr0")
volume_db = -15.707
pitch_scale = 0.84
[node name="SpawnAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_y7abk")