User Tag List

Results 1 to 5 of 5

Thread: Looking for advice, working on engine worried about too many objects

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Aug 2014
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking for advice, working on engine worried about too many objects

    I am currently making an action RPG game reminiscent to Secret of Mana meets Legend of Zelda.
    The base engine is about 60% done, but I've got a few challenges I need to plan how to overcome.

    Some context:
    In my original plan, I was going to make an engine and then duplicate that frame for every map. The plus side was that I could limit the number of objects and code on any one frame by only including the enemies and objects used for that map. The down side would be that I would have hundreds of frames and any bugs fixes or changes to the engine would become incredibly difficult to execute.

    The more I thought about it, the less I want to have to deal with that latter, so I have decided to streamline things. I am making it now where there is a primary engine frame where you use a map editor to set up the contents of each map, and specialized frames for any maps that have events or objects that don't fit into the cookie cutter of the primary. This should save countless frames and make updating and debugging the engine infinitely easier later on.

    Making a primary engine frame and a map editor, the one frame will need to be able to call forth almost everything that can be in the game. I have plans on how to handle the maps, NPCs, interactive objects, and background animation objects in a way that I will only need a hand full of objects for each and the rest will be handled by coding and file loading. My main concern is enemies..
    There are more than 150 standard enemies planned throughout the entire game with unique objects and behavior coding. I should be able to write code to have sections disabled when they are not applicable for the current map loaded, enemy code wise. I am worried having so many objects, however.


    I was hoping to pick the brains of veteran clickers here.
    -Do you think that having 150+ enemy objects with their own sets of animations and graphics on the frame will cause issues? (Standard enemies will range in size from 8x8 to 192x192, the screen being 256x240)
    -To help save memory issues, Is there a way to limit colors or change format on an object's graphics to lower the amount of memory they take up?
    -Is there any chance that clickteam does an out of sight out of mind kind of thing with graphic memory? Like having objects way off frame, will it still load all of their frames into memory?
    -Is there any way to remove objects so they do not take up memory from the frame for now, and then have them back if you reload the frame?

  2. #2
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,132
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    If you untick "create at start" they shouldn't be loaded into memory until you create them, just create and destroy objects as you need them, you shouldn't really need more than say.. 300 objects at a given time.

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Aug 2014
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great info, Thank you! This puts my mind at ease.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sparckman's Avatar
    Join Date
    Feb 2011
    Location
    Planet of the Kangaroos
    Posts
    1,396
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

  5. #5
    Clicker Fusion 2.5 (Steam)

    Join Date
    Aug 2014
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for showing me that, Sparckman. That's really neat.
    Its a little different since they are all copies of the same small object and the object does not have a lot of frames of animation, but still very cool.

Similar Threads

  1. Replies: 7
    Last Post: 29th April 2015, 10:17 AM
  2. Replies: 2
    Last Post: 12th October 2013, 06:26 PM
  3. Newb here! Can I work around copying my engine code and objects into every frame?
    By ViktoROBO in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 17th June 2012, 03:40 AM
  4. Standalone, subapps and I'm getting worried
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd December 2008, 05:00 PM
  5. Working Randomizing Objects?
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 26th February 2008, 07:20 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
  •