added game scene
moved background/particles into game scene added audio buses added sound node into wipersmaster
parent
57e4a3fa4e
commit
7018ff856e
@ -0,0 +1,128 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://_scenes/car.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://audio/Rain_Heavy_Quiet_Interior.ogg" type="AudioStream" id=2]
|
||||
[ext_resource path="res://audio/Driving_in_Car_Interior.ogg" type="AudioStream" id=3]
|
||||
|
||||
[sub_resource type="Curve" id=1]
|
||||
|
||||
min_value = 0.0
|
||||
max_value = 1.0
|
||||
bake_resolution = 100
|
||||
_data = [ Vector2( 0.00177371, 1 ), 0.0, -3.3798, 0, 0, Vector2( 1, 0 ), -3.57124, 0.0, 0, 0 ]
|
||||
|
||||
[sub_resource type="CurveTexture" id=2]
|
||||
|
||||
flags = 4
|
||||
width = 2048
|
||||
curve = SubResource( 1 )
|
||||
|
||||
[sub_resource type="ParticlesMaterial" id=3]
|
||||
|
||||
render_priority = 0
|
||||
trail_divisor = 5
|
||||
trail_size_modifier = SubResource( 2 )
|
||||
emission_shape = 2
|
||||
emission_box_extents = Vector3( 175, 1, 1 )
|
||||
flag_align_y = false
|
||||
flag_rotate_y = false
|
||||
flag_disable_z = true
|
||||
spread = 45.0
|
||||
flatness = 0.0
|
||||
gravity = Vector3( 0, 98, 0 )
|
||||
initial_velocity = 1.0
|
||||
initial_velocity_random = 0.0
|
||||
angular_velocity = 0.0
|
||||
angular_velocity_random = 0.0
|
||||
orbit_velocity = 0.0
|
||||
orbit_velocity_random = 0.0
|
||||
linear_accel = 0.0
|
||||
linear_accel_random = 0.0
|
||||
radial_accel = 0.0
|
||||
radial_accel_random = 0.0
|
||||
tangential_accel = 0.0
|
||||
tangential_accel_random = 0.0
|
||||
damping = 0.0
|
||||
damping_random = 0.0
|
||||
angle = 0.0
|
||||
angle_random = 0.0
|
||||
scale = 1.0
|
||||
scale_random = 0.0
|
||||
color = Color( 0.277401, 0.696923, 0.88862, 1 )
|
||||
hue_variation = 0.0
|
||||
hue_variation_random = 0.0
|
||||
anim_speed = 0.0
|
||||
anim_speed_random = 0.0
|
||||
anim_offset = 0.0
|
||||
anim_offset_random = 0.0
|
||||
anim_loop = false
|
||||
_sections_unfolded = [ "Color", "Emission Shape" ]
|
||||
|
||||
[node name="Game" type="Node2D" index="0"]
|
||||
|
||||
[node name="outside" type="ColorRect" parent="." index="0"]
|
||||
|
||||
show_behind_parent = true
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 1020.0
|
||||
margin_bottom = 600.0
|
||||
rect_pivot_offset = Vector2( 0, 0 )
|
||||
rect_clip_content = false
|
||||
mouse_filter = 0
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
color = Color( 0, 0, 0, 0.547608 )
|
||||
_sections_unfolded = [ "Visibility" ]
|
||||
|
||||
[node name="rain_particles" type="Particles2D" parent="." index="1"]
|
||||
|
||||
show_behind_parent = true
|
||||
position = Vector2( 333.076, -157.333 )
|
||||
rotation = -0.523598
|
||||
scale = Vector2( 2.60156, 2.20313 )
|
||||
emitting = true
|
||||
amount = 60
|
||||
lifetime = 3.0
|
||||
one_shot = false
|
||||
preprocess = 10.78
|
||||
speed_scale = 2.36
|
||||
explosiveness = 0.0
|
||||
randomness = 0.7
|
||||
fixed_fps = 0
|
||||
fract_delta = true
|
||||
visibility_rect = Rect2( -100, -100, 200, 200 )
|
||||
local_coords = true
|
||||
draw_order = 0
|
||||
process_material = SubResource( 3 )
|
||||
texture = null
|
||||
normal_map = null
|
||||
h_frames = 1
|
||||
v_frames = 1
|
||||
|
||||
[node name="car" parent="." index="2" instance=ExtResource( 1 )]
|
||||
|
||||
scale = Vector2( 1, 1 )
|
||||
|
||||
[node name="RainSFX" type="AudioStreamPlayer" parent="." index="3"]
|
||||
|
||||
stream = ExtResource( 2 )
|
||||
volume_db = 0.0
|
||||
pitch_scale = 1.0
|
||||
autoplay = true
|
||||
mix_target = 0
|
||||
bus = "Rain"
|
||||
|
||||
[node name="CarSFX" type="AudioStreamPlayer" parent="." index="4"]
|
||||
|
||||
stream = ExtResource( 3 )
|
||||
volume_db = 0.0
|
||||
pitch_scale = 1.0
|
||||
autoplay = true
|
||||
mix_target = 0
|
||||
bus = "Car"
|
||||
|
||||
|
@ -0,0 +1,49 @@
|
||||
[gd_resource type="AudioBusLayout" load_steps=3 format=2]
|
||||
|
||||
[sub_resource type="AudioEffectAmplify" id=1]
|
||||
|
||||
resource_name = "Amplify"
|
||||
volume_db = 0.5
|
||||
|
||||
[sub_resource type="AudioEffectCompressor" id=2]
|
||||
|
||||
resource_name = "Compressor"
|
||||
threshold = 0.0
|
||||
ratio = 4.0
|
||||
gain = 0.0
|
||||
attack_us = 20.0
|
||||
release_ms = 250.0
|
||||
mix = 1.0
|
||||
sidechain = ""
|
||||
|
||||
[resource]
|
||||
|
||||
bus/0/name = "Master"
|
||||
bus/0/solo = false
|
||||
bus/0/mute = false
|
||||
bus/0/bypass_fx = false
|
||||
bus/0/volume_db = 0.0
|
||||
bus/0/send = ""
|
||||
bus/1/name = "Rain"
|
||||
bus/1/solo = false
|
||||
bus/1/mute = false
|
||||
bus/1/bypass_fx = false
|
||||
bus/1/volume_db = 7.9
|
||||
bus/1/send = "Master"
|
||||
bus/1/effect/0/effect = SubResource( 1 )
|
||||
bus/1/effect/0/enabled = false
|
||||
bus/2/name = "Car"
|
||||
bus/2/solo = false
|
||||
bus/2/mute = false
|
||||
bus/2/bypass_fx = false
|
||||
bus/2/volume_db = -11.6
|
||||
bus/2/send = "Master"
|
||||
bus/2/effect/0/effect = SubResource( 2 )
|
||||
bus/2/effect/0/enabled = true
|
||||
bus/3/name = "Wipers"
|
||||
bus/3/solo = false
|
||||
bus/3/mute = false
|
||||
bus/3/bypass_fx = false
|
||||
bus/3/volume_db = -13.4
|
||||
bus/3/send = "Master"
|
||||
|
Loading…
Reference in New Issue