Skip to content

Commit

Permalink
32 ship ambient
Browse files Browse the repository at this point in the history
  • Loading branch information
atka66 committed Mar 12, 2022
1 parent 05715c4 commit 18f2ec9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
8 changes: 7 additions & 1 deletion maps/MapShip.tscn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[gd_scene load_steps=19 format=2]
[gd_scene load_steps=20 format=2]

[ext_resource path="res://sprites/bg/ship_1.png" type="Texture" id=1]
[ext_resource path="res://sprites/tileset/ts_ship.png" type="Texture" id=2]
Expand All @@ -14,6 +14,7 @@
[ext_resource path="res://objects/system/PlayzoneShader.tscn" type="PackedScene" id=12]
[ext_resource path="res://shaders/rockingshader.shader" type="Shader" id=13]
[ext_resource path="res://sprites/obstacle/barrel.png" type="Texture" id=14]
[ext_resource path="res://sounds/ambient/amb_ship.ogg" type="AudioStream" id=15]
[ext_resource path="res://sprites/obstacle/barrel_particle.png" type="Texture" id=16]

[sub_resource type="AnimatedTexture" id=1]
Expand Down Expand Up @@ -682,6 +683,11 @@ z_as_relative = false

[node name="MapController" parent="." instance=ExtResource( 6 )]

[node name="Ambient" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 15 )
volume_db = -10.0
autoplay = true

[node name="PlayzoneShader" parent="." instance=ExtResource( 12 )]
shader = ExtResource( 13 )

Expand Down
Binary file added sounds/ambient/amb_ship.ogg
Binary file not shown.
15 changes: 15 additions & 0 deletions sounds/ambient/amb_ship.ogg.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[remap]

importer="ogg_vorbis"
type="AudioStreamOGGVorbis"
path="res://.import/amb_ship.ogg-247b114e818e5b5cec50b0edeaf2d833.oggstr"

[deps]

source_file="res://sounds/ambient/amb_ship.ogg"
dest_files=[ "res://.import/amb_ship.ogg-247b114e818e5b5cec50b0edeaf2d833.oggstr" ]

[params]

loop=true
loop_offset=0

0 comments on commit 18f2ec9

Please sign in to comment.