User Tag List

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

Thread: Whole game in 1 frame?

  1. #1
    No Products Registered

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

    Whole game in 1 frame?

    Do you guys out there think it's practical to fit an entire game into one frame? (exluding title screen, clipscenes, and save/load file menu of course.) I am having soooo many problems by using many different frames. Especially If I decide to change something in the code after I have already made about 10+ levels. Then I have to go back and repeat the process times the number of levels. It is so frustrating, and I'm constantly getting major glitches by accidentally skipping pieces of code here and there, or forgetting to name something, ect. I would use behaviors to solve this problem but as I have said in a previous post imo they are far too limited for games.

    Anyways I assume the size of the finished map will be around 40,000 x 30,000, or possibly even larger. I plan to de-activate almost every object that isn't a certain distance from the players. I know it is hard to tell considering I can't estimate the amount of objects in the frame, but does anyone out there think a frame of such size would lag terribly?

    Also, so I don't end up making another post I was wondering if someone can help me with this: Everytime I make a shooting game, I get this glitch that happens only like 1 out of 100 times playing/testing the game. Whenever my player shoots somewhere past 200 bullets, the shooting doesn't work anymore. The soundeffects still play, but no objects (flash from gun, or explosion from bomb) appear anymore, and the player quits shooting. Whenever this happens, almost every object that uses the "create at" action doesnt work. I'm thinking this might be a result of using "restrict actions for 00".18" for my players shooting, as this glitch seems to happen only if I add that condition. However as I said earlier this glitch happens VERY rarely and I'm not entirely able to test if this is the problem. Also, I added "destroy bullet if distance is -30 from edge of window" so the problem isn't that the bullets are adding up and going past the allowed limit set in preferences.

    Sorry for such a long post but I need to fix this stuff lol :P Thanks for any help.

  2. #2
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2008
    Location
    Indonesia
    Posts
    694
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Whole game in 1 frame?

    You can, but I think it would be more difficult than separate it to many frames.

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Whole game in 1 frame?

    Increase the object limit in the game. Default is 500.
    My 666th post

  4. #4
    No Products Registered

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

    Re: Whole game in 1 frame?

    In the debugger for the frame the glitch happened there are only 350 objects. I already checked that, thats why I wrote:

    Also, I added "destroy bullet if distance is -30 from edge of window" so the problem isn't that the bullets are adding up and going past the allowed limit set in preferences.

    And just for reference I've been using clickteam products for years, no offense but I keep getting replies as if I don't know a thing about MMF lol.


  5. #5
    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: Whole game in 1 frame?

    The Knytt level, which is built into a single frame, is 32400x1920 pixels. It's getting close to the number of backdrop objects that a frame can have (I know, because I got past it before I started to use motif quick backdrops). The frame has 4742 active objects, all inactive when out of window. I remember that a few MMF2 features (e.g. on collide) stopped working, probably due to the number of objects, so I had to replace them with other events instead (on overlap).

    It really worked out well in Knytt, but I can at the other hand not recommend it. A 40000x30000 world is probably approximately 10 times as large as the Knytt world. I would not attempt this in MMF2, Knytt was already pushing the limitations.

  6. #6
    Clicker Fusion 2.5Android Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Whole game in 1 frame?

    If you were to load your levels into your frame, the whole game in 1 frame game thing works very well. (As in define your max. level size, save/load level from array and so on.) Would such an approach also suffice for your needs? I suppose it depends on the game you want to make.

    I've also experienced hiccups, slowdowns and strange things with really large frames. :/

  7. #7
    Clicker Fusion 2.5Fusion 2.5+ DLC

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

    Re: Whole game in 1 frame?

    I doubt there is limit in backdrops - my MMORPG has whole world in one frame, and its tilebased terrain! There is more than 30 000 of background tiles.

  8. #8
    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: Whole game in 1 frame?

    Yes, but Knytt has nearly 65535, and above that number, you won't get it to work. Believe me, I have already ran into this.

  9. #9
    No Products Registered

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

    Re: Whole game in 1 frame?

    So basically making a game in one frame isn't too reliable, especially if there are tons of actives/backdrops, am I correct? I definately couldn't do that then, as this game revolves around an infested planet, which means thousands and thousands of enemies, and much more :P Guess I'll just have to get my events a bit more straightened out.

  10. #10
    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: Whole game in 1 frame?

    Well, if you build a custom level format like Knytt Stories has, your levels can be more or less infinitely large and still be built into a single MMF2 frame.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. How to run game from specific frame?
    By J3sseM in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th July 2013, 07:40 AM
  2. First Frame of the Game
    By lembi2001 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 29th April 2008, 04:39 PM
  3. 20-frame game loads SLOW
    By pinacoladaxb in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 10th April 2007, 12:45 AM
  4. Game crashes when it tries to go to 'Next Frame'
    By Mantoid in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 5th March 2007, 02:27 PM
  5. Game Crashes On Start of Frame 2
    By Michael_Gummelt in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th July 2006, 02:57 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
  •