Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only use 1 track per level #42

Open
MisterE123 opened this issue Aug 5, 2022 · 2 comments
Open

only use 1 track per level #42

MisterE123 opened this issue Aug 5, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@MisterE123
Copy link

Only use 1 bgm track per level, you can reuse them for multiple levels like supertux does, but make each level have only 1 track taht repeats.

@BuckarooBanzay BuckarooBanzay added the enhancement New feature or request label Aug 6, 2022
@BuckarooBanzay
Copy link
Owner

The ambience/background music is currently set up to loop over a range of tracks in a playlist.
There are 2 playlists at the moment:

local sounds = {
main = {
{ name = "super_sam_ambience_1", duration = 119 },
{ name = "super_sam_ambience_2", duration = 100 },
{ name = "super_sam_ambience_3", duration = 130 },
{ name = "super_sam_ambience_4", duration = 103 },
{ name = "super_sam_ambience_5", duration = 167 },
{ name = "super_sam_ambience_6", duration = 130 }
},
relax = {
{ name = "super_sam_ambience_relax_1", duration = 67, gain = 2 }
}
}

(side-note: this is configured with a special node super_sam_ambience:sound_beacon that has a region where the sound is played)

I'm not sure if it would be too monotonous to only loop over one soundtrack the whole time, then again: a level shouldn't take that long 🤔

@MisterE123
Copy link
Author

supertux uses 1 track per level, and even reuses tracks often. I think it has like 7 tracks or so, and it is not monotonous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants