Skip to content
Snippets Groups Projects
Commit cfb10676 authored by dg's avatar dg
Browse files

for irkkk too

git-svn-id: http://svn.net-core.org/repos/t-engine4@5457 51575b47-30f0-44d4-a5cc-537603b46e54
parent df4dcabf
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ return {
all_remembered = true,
day_night = true,
all_lited = true,
ambient_music = "Virtue lost.ogg",
ambient_music = {"Virtue lost.ogg", "weather/jungle_base.ogg"},
max_material_level = 2,
......@@ -49,6 +49,14 @@ return {
},
},
post_process = function(level)
game.state:makeAmbientSounds(level, {
jungle1={ chance=250, volume_mod=0.6, pitch=0.6, random_pos={rad=10}, files={"ambient/jungle/jungle1","ambient/jungle/jungle2","ambient/jungle/jungle3"}},
jungle2={ chance=250, volume_mod=1, pitch=1, random_pos={rad=10}, files={"ambient/jungle/jungle1","ambient/jungle/jungle2","ambient/jungle/jungle3"}},
jungle3={ chance=250, volume_mod=1.6, pitch=1.4, random_pos={rad=10}, files={"ambient/jungle/jungle1","ambient/jungle/jungle2","ambient/jungle/jungle3"}},
})
end,
foreground = function(level, x, y, nb_keyframes)
-- Make cosmetic birds fly over
if nb_keyframes > 10 then return end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment