User Tag List

Results 1 to 7 of 7

Thread: Active overlay is REALLY slowing things down...

  1. #1
    No Products Registered

    Join Date
    Apr 2007
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Active overlay is REALLY slowing things down...

    Alright, so I'm using active overlay to make a massive black block of 'darkness' that's above everything in my game. There's a lantern which, when moved around, sets the background overlay the active overlay is reading from to draw a transparent circle at 0,0 from the lantern's position.

    This all works just fine, but it's REALLY slowing down my application. Around 23-25fps to be precise, when 'light' levels (ones without the layer of darkness) run just fine at 50. (The number I set the framerate to in my game's preferences.)

    Is there a way to make this overlay slow my game down a bit less? Just for the record, I'm on a decent enough machine (1GB of ram, Nvidia 6600GT video card, 2.17GHz processor speed) but my friends with better computers don't get much, if any slowdown from running my app.

  2. #2
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active overlay is REALLY slowing things down...

    Instead of using an active overlay, you could just make a very large active object and make it totally black, except the center which you can use different layers of transparency for. Then, you can just set the active object to follow the mouse or whatever.

  3. #3
    No Products Registered

    Join Date
    Apr 2007
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active overlay is REALLY slowing things down...

    Quote Originally Posted by Brandon
    Instead of using an active overlay, you could just make a very large active object and make it totally black, except the center which you can use different layers of transparency for. Then, you can just set the active object to follow the mouse or whatever.
    Unfortunately, I can't do that, because there are also lamps that cause circles of light to appear around them.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active overlay is REALLY slowing things down..

    Ok, this is going to sound really dumb. But isn't there a trick to do the very same effect with the use of Ink Effects? My memory tells me I've seen such examples for MMF1.5.

  5. #5
    No Products Registered

    Join Date
    Apr 2007
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active overlay is REALLY slowing things down..

    Quote Originally Posted by MetalGeo
    Ok, this is going to sound really dumb. But isn't there a trick to do the very same effect with the use of Ink Effects? My memory tells me I've seen such examples for MMF1.5.
    I thought the same thing back when I started making it... I played around but to no avail. If anyone knows, that'd rock!

  6. #6
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active overlay is REALLY slowing things down..

    Is the overlay covering the entire frame or just what's visible on screen?

  7. #7
    No Products Registered

    Join Date
    Apr 2007
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Active overlay is REALLY slowing things down..

    Quote Originally Posted by DanielRehn
    Is the overlay covering the entire frame or just what's visible on screen?
    Just what's visible. It's a 640x480 active overlay set to always be at -320, -240 from an object that dictates the center of the window's position in the level.

Similar Threads

  1. Active Overlay collision
    By xavi in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 24th October 2008, 09:51 AM
  2. Active Overlay Not Working
    By GnadeGames in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 12th June 2008, 05:22 PM
  3. Active Overlay problem
    By Czentnar in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd September 2007, 10:22 PM
  4. active overlay problem
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 30th August 2007, 03:23 AM
  5. Active Overlay broken in build 243
    By xyzzy in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 3rd February 2007, 04:31 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
  •