User Tag List

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

Thread: An object for every object

  1. #1
    No Products Registered

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

    An object for every object

    I need it so that there are multiple of the same object, but each one has to have its own shadow underneath it. Is it possible to make it so that a shadow object follows one of the objects instead of getting confused and trying to appear on all of them at once?? Please help!!

  2. #2
    No Products Registered

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

    An object for every object

    I need it so that there are multiple of the same object, but each one has to have its own shadow underneath it. Is it possible to make it so that a shadow object follows one of the objects instead of getting confused and trying to appear on all of them at once?? Please help!!

  3. #3
    Clicker Fusion 2.5 Developer
    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)
    EnigmaWave's Avatar
    Join Date
    Jul 2006
    Location
    Russellville, AR, USA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: An object for every object

    * Always
    Character : Spread value 0 in alterable value A
    Shadow : Spread value 0 in alterable value A

    * Always
    Start loop "PositionShadows" Nobjects("Character") times

    * On loop "PositionShadows"
    + Alterable value A of Character = LoopIndex("PositionShadows")
    + Alterable value A of Shadow = LoopIndex("PositionShadows")
    Shadow : Set position at (0, 0) from Character

  4. #4
    Clicker Fusion 2.5 Developer
    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)
    EnigmaWave's Avatar
    Join Date
    Jul 2006
    Location
    Russellville, AR, USA
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: An object for every object

    * Always
    Character : Spread value 0 in alterable value A
    Shadow : Spread value 0 in alterable value A

    * Always
    Start loop "PositionShadows" Nobjects("Character") times

    * On loop "PositionShadows"
    + Alterable value A of Character = LoopIndex("PositionShadows")
    + Alterable value A of Shadow = LoopIndex("PositionShadows")
    Shadow : Set position at (0, 0) from Character

  5. #5
    No Products Registered

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

    Re: An object for every object

    Aha! Thanks, this seems to be working so far!
    I need to make it a bit more complicated though...

    Ok this is the situation so far: I've got the Shadows as the base object and the object on top following it. This works alrite, BUT I need shadow to perform a particular action when the object on top reaches a certain frame. When this happens, ALL of the shadows on screen perform that action, instead of just the one the object corresponds to. Is there any way I can sort this out?

    EDIT: Hey don't worry I think I've figured it out now. I just have to put "Alterable value A of 'shadow' is equal to Alterable value A of 'object'" in the event line

  6. #6
    No Products Registered

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

    Re: An object for every object

    Aha! Thanks, this seems to be working so far!
    I need to make it a bit more complicated though...

    Ok this is the situation so far: I've got the Shadows as the base object and the object on top following it. This works alrite, BUT I need shadow to perform a particular action when the object on top reaches a certain frame. When this happens, ALL of the shadows on screen perform that action, instead of just the one the object corresponds to. Is there any way I can sort this out?

    EDIT: Hey don't worry I think I've figured it out now. I just have to put "Alterable value A of 'shadow' is equal to Alterable value A of 'object'" in the event line

  7. #7
    No Products Registered

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

    Re: An object for every object

    Okay I'm actually having a lot of difficulty keeping control of these objects now. Odd things keep on happening and often all of the objects will act together when they're not supposed to, or just ignore the commands I give them!
    Are there any events I should be using in conjunction with the fast loop events? Sorry I'm completely new to fast loops and spread values : /

  8. #8
    No Products Registered

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

    Re: An object for every object

    Okay I'm actually having a lot of difficulty keeping control of these objects now. Odd things keep on happening and often all of the objects will act together when they're not supposed to, or just ignore the commands I give them!
    Are there any events I should be using in conjunction with the fast loop events? Sorry I'm completely new to fast loops and spread values : /

  9. #9
    Clicker Multimedia Fusion 2

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

    Re: An object for every object

    You want to make sure that there is always the same amount of both objects otherwise it can get screwy..

    I usually make some code that checks for this.

    Like:
    *Number of shadows > Number of objects -> Destroy a shadow
    Or:
    *Number of shadows < Number of objects -> Create another shadow.

    And same for the other objects...you gotta make sure they stay even..I haven't messed around with any of this in MMF2 though...so your problem might be different.

  10. #10
    Clicker Multimedia Fusion 2

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

    Re: An object for every object

    You want to make sure that there is always the same amount of both objects otherwise it can get screwy..

    I usually make some code that checks for this.

    Like:
    *Number of shadows > Number of objects -> Destroy a shadow
    Or:
    *Number of shadows < Number of objects -> Create another shadow.

    And same for the other objects...you gotta make sure they stay even..I haven't messed around with any of this in MMF2 though...so your problem might be different.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. List object and Dropdown object bug in Full Screen mode
    By MTCMusic in forum Hardware Accelerated Runtime
    Replies: 2
    Last Post: 26th July 2013, 01:22 PM
  2. Platform Movement Object - Strange bug when replacing object colors
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd February 2013, 01:48 AM
  3. Object order issue when rendering. (Move object in front of/behind...)
    By JayTholen in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 16th November 2012, 11:39 PM
  4. How to make a backdrop object overlap an active object? mfa included
    By path in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th August 2012, 10:07 PM
  5. Beta 15, Testing backdrop object, active object and drag and drop movement
    By Fernando in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 9th February 2012, 11: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
  •