1
0
Fork 0
This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
pacifist-jam/avatar/Avatar.tscn

97 lines
2.8 KiB
Text

[gd_scene load_steps=14 format=2]
[ext_resource path="res://avatar/Avatar.gd" type="Script" id=1]
[ext_resource path="res://avatar/Speedometer.gd" type="Script" id=2]
[ext_resource path="res://avatar/Mirror_overlay.shader" type="Shader" id=3]
[ext_resource path="res://sound/SFX_Steps_3.wav" type="AudioStream" id=4]
[ext_resource path="res://sound/SFX_Steps_2.wav" type="AudioStream" id=5]
[ext_resource path="res://sound/SFX_Steps_1.wav" type="AudioStream" id=6]
[ext_resource path="res://sound/SFX_Steps_4.wav" type="AudioStream" id=7]
[ext_resource path="res://sound/SFX_Jump.wav" type="AudioStream" id=8]
[ext_resource path="res://sound/SFX_Flip.wav" type="AudioStream" id=9]
[ext_resource path="res://sound/SFX_Land.wav" type="AudioStream" id=10]
[ext_resource path="res://sound/LOOP_Wind.wav" type="AudioStream" id=11]
[sub_resource type="CylinderShape" id=1]
radius = 0.25
height = 1.75
[sub_resource type="ShaderMaterial" id=2]
shader = ExtResource( 3 )
shader_param/flip = 0.0
[node name="Avatar" type="KinematicBody"]
input_ray_pickable = false
collision/safe_margin = 0.05
script = ExtResource( 1 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.875, 0 )
shape = SubResource( 1 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.55, 0 )
doppler_tracking = 2
current = true
fov = 90.0
far = 200.0
[node name="FlipOverlay" type="ColorRect" parent="."]
material = SubResource( 2 )
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
[node name="Speedometer" type="Control" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -96.0
margin_top = 16.0
margin_right = 96.0
margin_bottom = 64.0
mouse_filter = 2
script = ExtResource( 2 )
[node name="Label" type="Label" parent="Speedometer"]
anchor_right = 1.0
margin_bottom = 14.0
grow_horizontal = 2
align = 1
[node name="SfxSteps1" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 6 )
volume_db = -4.0
[node name="SfxSteps2" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
volume_db = -4.0
[node name="SfxSteps3" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
volume_db = -4.0
[node name="SfxSteps4" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
volume_db = -4.0
[node name="SfxJump" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
volume_db = 7.0
[node name="SfxLand" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 10 )
volume_db = 1.0
[node name="SfxFlip" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 9 )
volume_db = -2.0
[node name="SfxWindLoop" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 11 )
volume_db = -80.0
autoplay = true
[node name="StepsTimer" type="Timer" parent="."]
wait_time = 0.28