User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 24

Thread: difficulty displaying a list over a list

  1. #11
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Well spotted! I've updated the links. It will work now.

  2. #12
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Very nice site Chris

    There's one minor error in you article though:
    If the monkeys & bananas are numbered so that #1 is the newest instance, then in the last example, it's actually monkey #1 who gets the extra banana (the list of monkeys repeats again from the start).
    If they're numbered so that #1 is the oldest instance, then in the second example, it's monkey #1 who doesn't get a banana.

  3. #13
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I double checked when I wrote the tutorial just to be sure, but now I think about it, you are right. In my test, it was Monkey number 4 who got 2 bananas, but he was actually Monkey instance number 1. Silly monkeys. I'll fix it.

  4. #14
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Chris, I'm having some difficulty in doing what you said earlier.

    Currently, I'm creating as many strings as there are enemies, which is a good thing (I can see their tags String #1-however many were generated in the debugger). Unfortunately, I can't seem to get any text to display.

    My logic is thus this far:

    Always ->
    Spread value 1 in Alterable Value A (GoblinObject)
    Set Alterable String A of GoblinObject to "Goblin" + Str$(Alterable Value A("GoblinObject"))

    On Loop
    Create GoblinObject at 0,0 from OrangePlaceholder
    Create StringObject at 0,0 from WhitePlaceholder
    Set position of StringObject at 0,0 from WhitePlaceholder
    Set alterable string of StringObject to Alterable String A("GoblinObject")

  5. #15
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I fixed it up a bit. Now I have the names generating, but I don't want them attaching to the enemy, I merely want to place them in a list like fashion displaying all of the current enemies on screen in one convenient area.

    Is there no way to control the alterable value of a string object, similar to spreading the value of an active objects alterable values?

  6. #16
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Oh, I misunderstood. In that case, do this:

    ALWAYS:
    - Spread value 0 in ID of Enemy

    ALWAYS:
    - Set String to ""
    - Start loop "Names" for as many times as you have Enemies

    On loop "Names"
    ID of Enemy = loopindex("Names")
    - Set String to String + Alterable String A of your Enemy + newline$

    There is a bug in MMF2 which prevents spreading a value and running a fast loop in the same event.

  7. #17
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Oh, and make sure to use Compare To One Of The Alterable Values and not Compare Two General Values when creating the ID of Enemy = loopindex("Names") condition. For more info read this.

    By the way ID, is just an alterable value. Call it whatever you want.

  8. #18
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    gah can't get it to work

    I just have no control over the position of the text objects that are created

  9. #19
    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)
    You don't need loops or spread values for nameplates. MMF2's object pairing handles it all for you as long as you have the same number of each object

    Here's an old example:
    Attached files Attached files
    Working as fast as I can on Fusion 3

  10. #20
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2012
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I've found a solution. What I've done is after generating the monsters, I simply refer to them individually by the ID tag, and if their ID tag=a certain amount, then I create the string object at a specific position.

    I know this isn't the best approach, but it's working as far as I can tell.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. [RC5 BUG] List Object still not displaying properly
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 9
    Last Post: 5th March 2013, 04:30 PM
  2. [BUG] List object not displaying properly when screen is scaled up
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 18th January 2013, 01:21 AM
  3. List object simply doesn't load a list file...
    By Pedro Almeida in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 10th February 2012, 12:46 AM
  4. Displaying objects in front of a List Objsect?
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th December 2009, 01:56 AM
  5. Displaying things over explorer/list object
    By cade in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th August 2009, 11:53 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
  •