15 lines
512 B
Plaintext
15 lines
512 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://assets/audio/flashlight_click.wav" type="AudioStream" id=1]
|
|
[ext_resource path="res://effects/player/Flashlight.gd" type="Script" id=2]
|
|
|
|
[node name="Flashlight" type="SpotLight"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.380341, 0 )
|
|
light_color = Color( 1, 0.956863, 0.74902, 1 )
|
|
light_energy = 2.0
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
|
stream = ExtResource( 1 )
|
|
volume_db = -20.0
|