User Tag List

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

Thread: "music box" help help

  1. #1
    No Products Registered

    Join Date
    Jul 2015
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up "music box" help help

    oh btw i added two "Helps" in the title because i need to add 2 more words.
    How can i do something like the "music box" from this game;
    For example, if i hold an button, it plays music, if i stop holding, the music stops.

  2. #2
    Clicker Fusion 2.5

    Join Date
    Jun 2015
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've decompiled that game, so I know exactly how it works.

    The button has two values, A and B. A is how much the music box is wound (starts at 2000), while B is the unwinding cooldown time (sub 1 every tick when > 0, set to 10 while winding). When the mouse pointer is over the button, the left mouse key is pressed, and the Prize Corner camera is currently being viewed, 5 is added to A. A is set to 300 upon winding if it's < 300.

    If A is > 0 and B is 0, 2-6 (depending on the night; 2 on Night 1 and 2, 3 on Night 3, 4 on Night 4, 5 on Night 5, 6 on Night 6 and 7) is subtracted from A every 5/100 of a second.

    The music box sound itself plays on a loop on a channel. The volume of this channel is set to 0 at the start of the frame, when the monitor is put down, when the player isn't viewing any of the main area cameras (9-12), and when A is 0.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Just so you know, discussing decompiling CF2.5-made games here is probably going to be frowned upon by mods/admins...

  4. #4
    No Products Registered

    Join Date
    Jul 2015
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, i just want to do something similar.

  5. #5
    No Products Registered

    Join Date
    Jul 2015
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by BoxFigs View Post
    I've decompiled that game, so I know exactly how it works.

    The button has two values, A and B. A is how much the music box is wound (starts at 2000), while B is the unwinding cooldown time (sub 1 every tick when > 0, set to 10 while winding). When the mouse pointer is over the button, the left mouse key is pressed, and the Prize Corner camera is currently being viewed, 5 is added to A. A is set to 300 upon winding if it's < 300.

    If A is > 0 and B is 0, 2-6 (depending on the night; 2 on Night 1 and 2, 3 on Night 3, 4 on Night 4, 5 on Night 5, 6 on Night 6 and 7) is subtracted from A every 5/100 of a second.

    The music box sound itself plays on a loop on a channel. The volume of this channel is set to 0 at the start of the frame, when the monitor is put down, when the player isn't viewing any of the main area cameras (9-12), and when A is 0.
    That'ts alright but in the game we hold, not press.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by crashkandicoot View Post
    No, i just want to do something similar.
    I was talking to the guy who said he had decompiled the game, not to you. Wanting to do something similar is fine.

  7. #7
    Clicker Fusion 2.5

    Join Date
    Jun 2015
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by happygreenfrog View Post
    Just so you know, discussing decompiling CF2.5-made games here is probably going to be frowned upon by mods/admins...
    I had the feeling it might be.

    The only reason it's frowned upon is because certain people distribute the .mfa files obtained by decompiling. I decompiled FNAF 1 and 2 because I wanted to learn how they were programmed, which was a big part of learning Fusion for me. I would never distribute the .mfa files.

    Quote Originally Posted by crashkandicoot View Post
    That'ts alright but in the game we hold, not press.
    I meant the "Repeat while the left mouse-key is pressed" condition.

  8. #8
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    Just as a note the latest update to Fusion 2.5 there are options for people to use to help them protect their files.

  9. #9
    Clicker Fusion 2.5

    Join Date
    Jun 2015
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The security measures I heard about were effective. The Anaconda decompiler tool, the only one I know of, can't decompile Five Nights at Freddy's 3 (I personally haven't tried, but many others have). That game was released in March, so whatever changes were included in the current version of Fusion at the time did the trick. Someone was able to modify the decompiler to make it produce a .mfa, but without any frames (they couldn't get it to decompile any frame data).

    The assets can't even be extracted from the latest version of the game (the asset extractor worked before on older versions of the same game), so I guess there were some more security updates since then.

  10. #10
    No Products Registered

    Join Date
    Jul 2015
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks everybody i got it to work

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Where i can find the music "Greenleeves" of TGF game Romeo?
    By clickmaker in forum The Games Factory 2 - Technical Support
    Replies: 0
    Last Post: 29th June 2015, 04:33 AM
  2. Replies: 14
    Last Post: 22nd February 2015, 04:51 PM
  3. Making "music bars" in Fusion 2.5?
    By BartekB in forum Fusion 2.5
    Replies: 2
    Last Post: 2nd September 2014, 05:33 AM
  4. "Cannot load joystick2.mfx" when "Compress the runtime" unchecked. Fine when checked.
    By DistantJ in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th September 2013, 09:44 PM
  5. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM

Posting Permissions

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