User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20

Thread: Music Issue/Other Issues

  1. #1
    No Products Registered

    Join Date
    Oct 2010
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Music Issue/Other Issues

    Hi, I'm trying to find a way to play music across multiple frames (See example below, I want music to play across the frames with * next to them). The only thing is I don't want the music to stop, I want it to continuously play across those frames without interruption, and without the music restarting. If you know of a way to do this, I would much appreciate it if you shared.


    Example:

    *I want music to still be playing here
    • -Game Name
    • . +Title Screen *
    • . +Instructions *
    • . +Level 1 *



    My Second Problem is...
    Is there a way to say Upon pressing a key, then have upon pressing a key a 2nd time condition?

    What I want to do is press "N" and add 1 to Alterable Value S, then when I press "N" again I want to subtract 1 from Alterable Value S. Then when I press it again I want it to go back to adding 1 to Alterable Value S, then again back to subtracting 1 from Alterable Value S, when I press "N" again. And so on.

    (Kind of like Num Lock)


    My last problem is with a launcher. I have an object that launches an enemy at the player. I have a condition set up so that if the enemy runs into "this wall" it should bounce, but every time it goes straight through the wall. Not sure what to do here either.

    Thanks for any help you can spare.

  2. #2
    No Products Registered

    Join Date
    May 2010
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Music Issue/Other Issues

    To your first problem:

    Start of Frame - Play (music) 0 times.

    And that's it! It will automatically continue the music if you don't put the music start again in the next frame. If you want to stop music, just use Start of Frame - Stop any music playing.

  3. #3
    No Products Registered

    Join Date
    Oct 2010
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Music Issue/Other Issues

    I can't seem to get any music to play using a sound condition like this. I've only been able to get a few samples to go, and those were way less than a second long.

    I've had to put in a Direct Show and make a condition for the music to play off that, but unfortunetly the music cuts off if I go to another frame.

    I'll keep looking into how I can get this sound condition to work. Thanks though Koboltti.

    ~Does the music condition have to be a midi file?
    -I've tried .wave and .mp3 but those have not played.


    I've also ran into another problem.
    I'm trying to limit the amount of bullets on the screen at a time so that you cannot shoot more than a few at a time.
    I've also heard that you can restrict actions so that you cannot just spam spacebar, but I haven't had luck with that either.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Music Issue/Other Issues

    1. Use Play Sound for sound files, play Music only works for MIDI.
    2. MMF2 does not support MP3, but direct show does.
    3. Check the "Global" option in the direct show's properties.

    And by the way, you're confusing "Action" with "Condition".
    Working as fast as I can on Fusion 3

  5. #5
    No Products Registered

    Join Date
    Oct 2010
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Music Issue/Other Issues

    Wow... that was simple, thanks LB. All I needed to do was check the global box. Thanks a bunch.

  6. #6
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)
    BackStaged's Avatar
    Join Date
    Aug 2010
    Location
    France
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Music Issue/Other Issues

    Better, use Miniature Audiere for play sounds, it's really an excellent Audio Extension (thanks to Jamie of Clickteam for that !)

  7. #7
    No Products Registered

    Join Date
    Oct 2010
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Music Issue/Other Issues

    Alright I'll look into that BackStaged, thanks.

  8. #8
    No Products Registered

    Join Date
    Oct 2010
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Music Issue/Other Issues

    Quote Originally Posted by Squibs
    My Second Problem is...
    Is there a way to say Upon pressing a key, then have upon pressing a key a 2nd time condition?

    What I want to do is press "N" and add 1 to Alterable Value S, then when I press "N" again I want to subtract 1 from Alterable Value S. Then when I press it again I want it to go back to adding 1 to Alterable Value S, then again back to subtracting 1 from Alterable Value S, when I press "N" again. And so on.

    (Kind of like Num Lock)
    This is my only problem I have left, I'm trying to make it so that if I press "N" all sound effects are muted (bullet noises, jump noises). This is why I want to make "N" like a toggle button, like num lock, so that if I press it again, it will unmute those noises right where they were. I know you can set all those noises to a certain channel and then set the volume to 0 so they cannot be heard, but I just don't know how to make it so when I press "N" again, they become un-muted.

    If anyone has a solution for me that would be great. Thanks.


    ~Squibs

  9. #9
    Clicker Fusion 2.5 Developer

    Join Date
    Oct 2006
    Location
    Finland
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Music Issue/Other Issues

    You could use one flag of any active object. Let's say its called "object1". Make event like this:

    +When pressing N
    -toggle flag 1 of object1

    And add this line to every event where you play a sound:

    +when flag 1 of object1 is off


    That should make it so that the sounds play only if the flag is off. And pressing N toggles it on/off, so pressing N sets sounds on/off

  10. #10
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Music Issue/Other Issues

    Don't forget to check for when the flag gets turned off and to stop any music/sounds playing.

    Flag 1 of Object1 is off
    +Only one action on event loop
    Working as fast as I can on Fusion 3

Page 1 of 2 1 2 LastLast

Similar Threads

  1. [PAID] Seamless Looping OGG/Music Player Extension (to play music with loop points)
    By DinnerSonic in forum Paid Design & Development Requests
    Replies: 0
    Last Post: 6th October 2013, 07:27 PM
  2. Modal and Music issue.
    By GameDragon in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 13th December 2009, 03:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •