User Tag List

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

Thread: Things I learned about making Flash Games in MMF

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Things I learned about making Flash Games in MMF

    So, I just completed my first Flash game, and got it up on Mochi: Santa's Magic Sack

    The first thing I learned about Flash is that you can go from having a fully functioning 50FPS game to having something that drops to a snails pace really easy.

    The best solution I've found so far is to create your game to run at 30FPS. (30 fps looks just fine as long as you adjust the speed your objects move)

    Also, my game used "paste object to background" frequently. While this worked great for a while, after a few minutes everything slowed down.
    Solution: create active objects instead of paste to background. (this may or may not work as well for your game)
    Why this worked for me: My game scrolls in only one direction, and I can then destroy the active objects when they get out of frame. It seems that pasting objects just kept adding to the memory usage, with no way to clear the objects from memory, and eventually affected performance.

    I've also noticed that music sounds fairly good at the lowest bitrate and frequency, but sound effects will have a short delay when you play them. Is there a solution for this?

    Feel free to add your own flash tips.

  2. #2
    Clicker

    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,731
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Things I learned about making Flash Games in MMF

    Pinapple. Were you destroying the actives once you pasted them?

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

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Things I learned about making Flash Games in MMF

    It was just one active object that constantly pasted itself into the background.
    After about 2 minutes (3500-4000 times being pasted into the BG), it would slow down

  4. #4
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Things I learned about making Flash Games in MMF

    I don't think settling for 30fps is quite necessary, I've finished some reasonably complex games and while, yes, I have had to battle to keep a high framerate, my projects all run at 50fps for the most part. You have to be quite conservative with loops and employ the occasional ForEach loop (which is dangerous, the ForEach object still has many problems in Flash) but it can be done.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Tiles's Avatar
    Join Date
    Jun 2006
    Posts
    1,359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Things I learned about making Flash Games in MMF

    ForEach did not work for me in Flash, unfortunately. This extension definitely needs some fixes.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Things I learned about making Flash Games in MMF

    Yeah, implementing no fast loops of any description seems to speed things up an awful lot, it's just incredibly inconvinient :P

  7. #7
    Clicker Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)iOS Export Module (Steam)

    Join Date
    Sep 2008
    Location
    Western Australia
    Posts
    256
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Things I learned about making Flash Games in MMF

    Is all the music in the game out of copyright? The opening song sounds like "Santa Clause is Coming to Town" which I think is still in copyright.

  8. #8
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Things I learned about making Flash Games in MMF

    All the music is "creative commons"

  9. #9
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Things I learned about making Flash Games in MMF

    Quote Originally Posted by Pineapple
    All the music is "creative commons"
    Which Creative Commons license? Some you can use, some you can't use for commercial purposes, some you can't use at all.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Things I learned about making Flash Games in MMF

    Going to have to agree about ForEach. I've had an awful experience with it. It just completely ruined my game in flash, and the one time it didn't, it ended up being slower than fast loops. This extension definitely needs a lot more work.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. creating adventure games for teen things not working
    By wendymorrison in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 29th October 2013, 05:43 AM
  2. Things to think about when creating for Flash?
    By Outcast in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 5th November 2011, 09:46 AM
  3. I'm confused about things with Mochi Games
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 12
    Last Post: 2nd September 2010, 10:09 PM
  4. things mmf2 games can run on
    By hawaii672 in forum Extension Development
    Replies: 4
    Last Post: 29th December 2008, 10:35 AM
  5. Help with making objects stick to things
    By AusZero in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 5th December 2006, 04:27 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
  •