TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Continuing background music on next scene?
Pages:
1
Continuing background music on next scene?
Jovial Games
Posts: 132
June 08, 2020, 05:24:03 am
Hey guys,
Here's what I want: When the menu opens up, it plays a background music and when you click on start level, that music should continue to the next scene, then continue for level 2, level 3, and so on. On a loop basically.
Any idea how to go about it? Thank you!
Luyren
Posts: 2754
June 08, 2020, 08:35:20 am
Just use the loop sound block, and it should keep looping indefinitely, regardless of scene change.
If you want more control over the soundtrack in your scenes, check out my scene soundtrack behavior, which you can find here:
https://luyren.itch.io/luyrens-miscellaneous-stencyl-behaviors
My Stencyl resources are available here:
https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter
ceosol
Posts: 2279
June 08, 2020, 12:24:02 pm
There are also blocks for checking where a sound file is compared to its length. If you want more control (e.g. starting bgm2 when bgm1 ends), use those blocks.
Jovial Games
Posts: 132
June 09, 2020, 02:39:22 am
Very kind, thank you fellas!
Pages:
1