User Tag List

Results 1 to 5 of 5

Thread: Global objets and where to put them.

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    478
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Global objets and where to put them.

    Hi
    I have a game with 3 lists in each level so I got 27 * 3 lists. The lists are all containing the same data! Each level has about 30 actions concerning those lists so the actions are 30 * 27.
    I was thinking if I could have instead 3 lists that are global then I would only need 30 actions!
    Where would I put the list object maybe in level 1?
    Which way would be best?

    Another thing can I load a text file into the list?

    Keli

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Global objets and where to put them.

    Yes you can load text files into list objects just fine.
    Working as fast as I can on Fusion 3

  3. #3
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Global objets and where to put them.

    You would still need the actual list objects in each level of the game, but you could put the events that handle those lists into the global event editor (preventing their duplication). Global events affect objects only if they actually exist on the frame.

  4. #4


    Join Date
    Apr 2010
    Location
    Wi, United States
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Global objets and where to put them.

    To read a text file into a list, just iterate through each line of the text file, and put each line of data into each "container" in the list. I found it to be the easiest way to have each data in the text file on seperate lines, avoiding the need to check for spaces or commas or whatever.

  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: Global objets and where to put them.

    Quote Originally Posted by LordRichard2
    To read a text file into a list, just iterate through each line of the text file, and put each line of data into each "container" in the list. I found it to be the easiest way to have each data in the text file on seperate lines, avoiding the need to check for spaces or commas or whatever.
    Or you could just use the "Load File" action of the List object. But each to their own, I guess!

Similar Threads

  1. Création d'objets par des objets...
    By Niko in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 23rd November 2011, 11:57 PM
  2. Créations d'objets à partir d'autres objets !
    By mig3 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 29th November 2010, 05:07 AM
  3. Global events et Animation d'objets.
    By touptit47 in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 19th November 2007, 08:04 AM
  4. 241_MMF2dev -Global strings refusing being global
    By Tiny in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th July 2006, 07:00 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
  •