User Tag List

Results 1 to 9 of 9

Thread: Any way to track Created objects

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Any way to track Created objects

    If I have a game, and I have a button that can create an object, how can I go through all iterations that were created and return their xy coords?

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Pineapple's Avatar
    Join Date
    Oct 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If the objects are being created one at a time, you could add 1 to a global value each time you create an object, then set one of the objects alterable values to that global value.

    Each object then would have a different value, and you could just reference that.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i almost get what you are saying. How would you do that in the example i've attached? I don't understand how i will know which particular object i am testing
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi Rubes, here is an example of what I think you're looking for,..(I hope) Let me know. Look in the event editor for how this was set up.

    http://www.mediafire.com/?budwm2c5wupb5e2

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for the example TheSmanman, that is what i'm trying to do. I think you are doing what Pineapple suggested. Is there anywhere I can read up on the Global Value. I read Popcorn's Intro to Values, but didn't see Global Value discussed. Otherwise, i'll just poke around and hope i figure it out. This gets me on the right track, though

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I'm glad that helped you out and I did it right for you.

    Global values, Here you can read up on Values. Excellent tutorial:
    http://www.clickteam.com/website/usa/img/uploads/tutorials/download/Values.pdf

    To find the global value I setup for the example I sent you,.read on.....
    Very simple,.When you bring up the project (the one I sent you or any) in MMF,.you'll see a "workspace Toolbar" on the left. Click on the project the first in the window,.not the frame,.but the one above it. You can name global value/values anything you want,.in my case/your case,.since you had the object in the frame just with it's default name (Active),.I just named the global value to,."Active Global Value" This value can be carried over from frame to frame and it will be available throughout your game or project. Look at the picture to find out where you set these up.

    http://www.mediafire.com/?npx3mh0m8tdp4pq

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Here's another good one to view. When you get to the page,.right under the video window it says Download WMV. Click on that and it will open in Windows Media Player. For some reason when you click on the video itself it doesn't work.

    http://www.atomicpages.net/blog/2010...global-values/

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Currently I'm a weekend MMF'er, and while I can get your example to work, and even add other objects and track, when I try to do this from scratch and recreate your logic, I am having difficulty. I'm going to play around some more, but might need a helpful hand if i cant get it to work. If I'm struggling, I'll post my example and hopefully we can figure out why it isn't working as it should...

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Sure post you example and I'll see what we need to do. Just let me know exactly what you want done in the example.

Similar Threads

  1. 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
  2. Created Objects ?
    By Captain_Harris in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th November 2011, 12:10 PM
  3. Question about Objects Created
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd February 2009, 06:57 PM
  4. Bug: Random objects created at 0,0 at start
    By dustingunn in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 16th March 2008, 12:13 PM
  5. Identifying Created Objects
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 17th April 2007, 03:13 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
  •