Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
How to Stop Music?
Old
Mixaki
Guest
 
Status:
Posts: n/a
Default How to Stop Music? - 11-17-2010, 10:13 AM

I am creating a game, and the opening screen has music separate from the next scene, however, I cannot get the music to stop, and it continues to play into the next part.
The opening requires a user to click on "Start" in order to move to the next part, where the music is suppose to change. However, when they continue to it, both the music already playing and the other music play over each other at the same time.

Thanks in advance for help.
   
Reply With Quote
Old
Mixaki
Guest
 
Status:
Posts: n/a
Default 11-18-2010, 09:11 AM

Is it possible to do?
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 11-18-2010, 09:42 AM

Well yes. You can and it involves using variables. I cant make an example right now because I dont have time....School is really getting to me now. But in my Hero's Game Final, I have the menu theme, then the level music, and the end music. Its a lot of stuff to look at though, it involves using While statements, for if is true, play the sound, if not, do nothing.


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.