User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: Limited by HW or by MMF2 engine?

  1. #11
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2006
    Location
    Hampshire, UK
    Posts
    963
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Limited by HW or by MMF2 engine?

    If you run a fast loop for 8 loops, does it take the exact amount of processing power as if you literally just copy and pasted the 8 events manually? Or does it take more?

  2. #12
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Limited by HW or by MMF2 engine?

    More I think, because MMF has to search all the events 8 times to find the ones for that loop.

    Not by much though, the search is pretty efficient.

  3. #13
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Limited by HW or by MMF2 engine?

    Quote Originally Posted by Nifflas
    Overlap checks is also one of the most demanding things... Make sure you have to use those as little as possible.
    Sorry to ask my question again and for being a little off topic. But I wanted to know if overlap tests are more demanding than collision tests? What's the fastest between the two events below?
    Code:
    • Collision between "Active 1" and "Active 2"
    
    • "Active 1" is overlapping "Active 2"
    + Only one action when event loops

  4. #14
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Limited by HW or by MMF2 engine?

    It depends on the involved objects.

    For active objects, I think the fastest is collision event.

    But for my Vectorial objects (currently) collision event slow down the application and not the overlap condition.

  5. #15
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Limited by HW or by MMF2 engine?

    Vectorial Objects use a lot of calculations, Collisions just use a Box type method I'm sure. Ever wondered why Flash games run so slow?

    Not sure how Fine detection is handeled, but I know fine detection is slower than the opposite of Fine detection.

    I would also think that an Overlap, being continuous would be slower than a One shot collison check. I also know that Collision checks are processed before Overlap Checks, so they at least happen "before" overlap checks".

    I have a game where there is a traffic system set up using long active strips as detectors to keep cars on the road and running straight, this causes slowdown because there are so many "1 for each road and each direction/side of road" + I'm 90% sure the overlapping collision check causes slowdown. Needless to say that, the engine turned out not to be what I needed anyway so it's just for the artwork and concept now.

  6. #16
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: Limited by HW or by MMF2 engine?

    Thanks for your answers. I have replaced all my collision checks by overlap checks because I found out that they were much more efficient. I mean that often my collision checks failed or were ignored, and this just doesn't happen with overlap checks.
    I guess I have to choose between efficiency versus speed.

  7. #17
    Clicker Fusion 2.5

    Join Date
    Jun 2006
    Location
    Stockholm, Sweden
    Posts
    1,529
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Limited by HW or by MMF2 engine?

    "Java is slow"
    Yes, it may be indeed slower than C++.
    But my tests shows that it is much faster than running a Server in a MMF2 application.

  8. #18
    No Products Registered

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

    Re: Limited by HW or by MMF2 engine?

    Got any benchmarks or data for us Cocodrilo?

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. MMF2 SoundScape Engine
    By BackStaged in forum File Archive
    Replies: 11
    Last Post: 29th June 2013, 05:24 PM
  2. An FPS engine for MMF2
    By Pixelthief in forum File Archive
    Replies: 43
    Last Post: 2nd October 2008, 10:05 PM
  3. 3D Engine in MMF2 Developer??
    By IuriPsyke in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 16th July 2006, 09:36 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
  •