User Tag List

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

Thread: More than 20 000 objects?

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2007
    Location
    Poland
    Posts
    232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    More than 20 000 objects?

    If someone would like to make an advanced map editor to his game in MMF2 or TGF2, there could be more than 20 000 objects (for example advanced MMORPG) but there is a limit 20 000 of objects. Is there any way to set more "number of objects"?

  2. #2
    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: More than 20 000 objects?

    no way without updating MMF2 or optimizing your code.

  3. #3
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 20 000 objects?

    you can't have more then 20000 object in a screen so you just need a way to keep of screen things in memory.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 20 000 objects?

    You'll need to dynamically load and unload the necessary objects depending on when they're needed. Only load a small part of the map at a time, etc. Even if you programed your game in anything else than MMF2, you'd be forced to do exactly the same thing anyway. It's all about keeping things optimized!

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 20 000 objects?

    You could try hex editing the MFA or memory editing MMF2.. not sure if that would work or not; it depends whether the object limit is actually required by the MMF2 runtime or just created by the editor.

    However, that would break the MMF2 license, so don't do it

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 20 000 objects?

    Quote Originally Posted by Jam
    You could try hex editing the MFA or memory editing MMF2.. not sure if that would work or not; it depends whether the object limit is actually required by the MMF2 runtime or just created by the editor.
    Breaks the MMF2 license ;p

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: More than 20 000 objects?

    Even with HWA, 20000 object is a limit that is sensible.
    Even with nowadays machine, the processing time of each object slows down the main loop. For each object, there are at least 100 lines of code to go through (and more when the object is displayed). And even more with pixel-wise collision detection. And the runtime is fairly optimised. You do not get a result on the screen by magic : the engine has to work in the background. So 100 lines x 20000 = 2000000 that is two millions lines of C++ code. Surely this slows down the main loop of the runtime.
    We can increase the number of object, it is very simple. But it would not be wise as you would be disapointed by the result, and would come back to the forum saying MMF is slow!

  8. #8
    No Products Registered

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

    Re: More than 20 000 objects?

    I'm pretty sure real MMORPGs load parts of the map the player only needs and keeps track of important positions of other players and items in memory, there isn't one big master map.

    20,000 objects is pretty massive.

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Feb 2007
    Location
    Queensland, Australia
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: More than 20 000 objects?

    I've always though 20 000 was a perfectly sensible limit and I've never even gotten close to it, let alone over 2000 objects.

    You could probably use an array or something to keep track of players in the same area etc.

  10. #10
    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: More than 20 000 objects?

    20,000 IS sensible.
    That's the slight problem when people come into a tool that seems to make game development magically easy.

    The straight forward approach is the worst possible approach.
    Think of the 20,000 limit like a Lotus Exige, sure it does 200 mph, but you'd never need that and it would be crazy and risky to do it.

    Out of that 20,000 most pros would need only a fraction of that number, say 1000 at MAX! That's why MMORPG's have to break up the servers into different zones/shards whatever. There is always a limit.

    Also you've got to think about processing those 20,000 objects, what relates to them? Do they contain --ANIMATIONS-- --BEHAVIORS-- Do they MOVE?

    I think anybody reading this post and questioning the limits, should go to an Indie Games website or Gamasutura and look around for some development bibles to get a realistic picture of how to really design a game, and what compromises and sacrifices must be done to get from point A concept to point B proof.



Page 1 of 2 1 2 LastLast

Similar Threads

  1. Hidden objects (it thinks objects inside the screen are outside?)
    By SoftWarewolf in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 16th December 2012, 11:15 PM
  2. created objects create objects and destroy both.
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th September 2012, 08:37 PM
  3. Compairing 'Objects AltValueA' to 'Objects AltValueB' dont work
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th May 2012, 12:27 AM
  4. Objects creating a line of objects to an obstacle
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th March 2012, 08:22 PM
  5. Collisions Between Active Objects & Image Objects?
    By mkj5025 in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 18th February 2009, 08:58 PM

Posting Permissions

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