User Tag List

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

Thread: How to make your Flash games play sounds AND why the game looks completely different

  1. #1
    Clicker Fusion 2.5Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2013
    Posts
    86
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How to make your Flash games play sounds AND why the game looks completely different

    First question: When I try to convert my game into swf, I'm told that "the following extensions are not compatible with the build type of the application:

    DirectShow.mfx
    adshow.mfx

    Do you want to build this application anyway? If so the missing objects will have no effects."

    So how can I make sound files play in my game?
    ==================================
    Second question: When converting to swf the game looks completely different, possibly related. It ignores the in-game borders and shows a bunch of stuff it shouldn't, like counters I left off screen. Strings are also resized screwing with a lot of my placing. Is there a way to fix that?

    Examples:

    How I designed the Starter screen: My Apple ToC.png

    How it shows up (Note the counters on the right; I put them off the viewable screen so they'd be invisible):Flash Apple ToC.png

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should be able to just play sounds using the Play Sound action (see image) It supports WAV, MP3 or OGG if I recall correctly.



    As for the second problem, it looks like the actual size of your game window is set to be larger than the frame. Check in the properties of your application what the window size is set at.

    If that doesn't fix it, then move the counters to the left of the screen. You can also change their display properties from "Numbers" to "Hidden".

  3. #3
    Clicker Fusion 2.5Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2013
    Posts
    86
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If I play a file from my computer, will it maintain the file once I've converted to Flash? Or do I have to add it to my game somehow?

    Also, will adjusting the size of my game window fix the weird placings of my strings?

    EDIT: I'm getting a weird error; when attempting to play sounds from "play a sample," it corrupts the file somehow. Everything works, but the song is jagged and doesn't seem to get past the first few notes. Sounds really weird. Anyone know what I'm talking about?

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What type of file are you trying to play?

  5. #5
    Clicker Fusion 2.5Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2013
    Posts
    86
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Wow I'm stupid...I had "Timer is greater than 0:00", which meant it tarted playing the song every mllisecond. THAT sounded weird. It works now.

    Still getting the string problem though. Is there a way to make the strings look better? Perhaps turns the strings into Active objects or something?

  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)
    What font are you using for your strings?

  7. #7
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Question 2. We had this problem during testing in 2010. Add a layer at the top, set it's scrolling co-efficient to 0. Then create a black background object to surround the edges of the screen to block out the objects off screenJust add a layer at the top, set it's scrolling co-efficient to 0. Then create a black background object to surround the edges of the screen to block out the objects off screen.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  8. #8
    Clicker Fusion 2.5Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2013
    Posts
    86
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by happygreenfrog View Post
    What font are you using for your strings?
    Fixedsys at the moment. Of course I'm willing to change it if it fixes the problem.

    Quote Originally Posted by nivram View Post
    Question 2. We had this problem during testing in 2010. Add a layer at the top, set it's scrolling co-efficient to 0. Then create a black background object to surround the edges of the screen to block out the objects off screenJust add a layer at the top, set it's scrolling co-efficient to 0. Then create a black background object to surround the edges of the screen to block out the objects off screen.

    Marv
    Trying that now.

  9. #9
    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 YeOldeLuke View Post
    Fixedsys at the moment. Of course I'm willing to change it if it fixes the problem.



    Trying that now.
    Fixedsys always looks like that for me. It only supports 1 font size for me (I think it was 9). Changing it should fix the issue (don't use system either, it will do the same thing). Try Arial, or Tahoma. Or Lucidia Console, if you want it to have a system font-like feel.

  10. #10
    Clicker Fusion 2.5Android Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    May 2013
    Posts
    86
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Now the game is having problems with the mp3s.

    Loading configuration file C:\Program Files (x86)\Multimedia Fusion 2\Data\Runtime\Flash\Flex\frameworks\flex-config.xml
    C:\Users\Nicholas\AppData\Local\Temp\Fla7B50.tmp\R untimeFlash.mxml(31): Error: unsupported sampling rate (32000Hz)

    [Embed(source="0005.mp3")]

    C:\Users\Nicholas\AppData\Local\Temp\Fla7B50.tmp\R untimeFlash.mxml(31): Error: Unable to transcode 0005.mp3.

    [Embed(source="0005.mp3")]

    C:\Users\Nicholas\AppData\Local\Temp\Fla7B50.tmp\R untimeFlash.mxml(27): Error: unsupported sampling rate (48000Hz)

    [Embed(source="0003.mp3")]

    C:\Users\Nicholas\AppData\Local\Temp\Fla7B50.tmp\R untimeFlash.mxml(27): Error: Unable to transcode 0003.mp3.

    [Embed(source="0003.mp3")]

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Completely Stuck With INI Object in Flash
    By redpandagames in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 14th December 2012, 09:06 PM
  2. How to make save game function for flash?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 28th February 2011, 11:23 PM
  3. How to make game play within a web browser
    By kmarshall in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 18th June 2007, 02:47 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
  •