User Tag List

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

Thread: Questions about spread value

  1. #11
    Clicker Multimedia Fusion 2 DeveloperiOS 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)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is your first issue ( Image A1 ) that the pieces are in the wrong place?

    NOTE: Although it says 'Animation Frame' 1, 2,3 and 4 in the Animation editor ( in your image above ), 'Animation Frames' are actally 'zero based'. This means to correctl reference the 'Animation Frames' you have to reference them as 'Animation Frame' 0, 1,2 and 3

    After you have assigned an ID to each instance ( used 'spead value' ), and applied the code for changing AnimFrame, this should be the result
    - Instance with ID=0 ( Displays AnimFrame#0 )
    - Instance with ID=1 ( Displays AnimFrame#1 )
    - Instance with ID=2 ( Displays AnimFrame#2 )
    - Instance with ID=3 ( Displays AnimFrame#3 )

    Unerstanding the about, it should simply be a matter of determining if the Instances are created in the wrong place or in the wrong order, or you could also change the order of the 'Animation Frames' so that the pieces gets displayed correctl ( initially ).

  2. #12
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by King_Cool View Post
    Is your first issue ( Image A1 ) that the pieces are in the wrong place?

    NOTE: Although it says 'Animation Frame' 1, 2,3 and 4 in the Animation editor ( in your image above ), 'Animation Frames' are actally 'zero based'. This means to correctl reference the 'Animation Frames' you have to reference them as 'Animation Frame' 0, 1,2 and 3

    After you have assigned an ID to each instance ( used 'spead value' ), and applied the code for changing AnimFrame, this should be the result
    - Instance with ID=0 ( Displays AnimFrame#0 )
    - Instance with ID=1 ( Displays AnimFrame#1 )
    - Instance with ID=2 ( Displays AnimFrame#2 )
    - Instance with ID=3 ( Displays AnimFrame#3 )

    Unerstanding the about, it should simply be a matter of determining if the Instances are created in the wrong place or in the wrong order, or you could also change the order of the 'Animation Frames' so that the pieces gets displayed correctl ( initially ).
    My client thought she could explain what her issue is. She had put the frames when she made the images that were linked in the first messages. Later she went into the Frame editor and clicked the active with the right button and selected: Duplicate. After that, she did what was suggested in this message:
    Quote Originally Posted by King_Cool View Post
    We have told that she would like to know how to use spread value.
    Say you have 4 Duplicates ( also called 'instance' of the same 'Object' if I remember correctly ):
    - Instance
    - Instance
    - Instance
    - Instance

    Eeach Instance has a set of AlterableValues ( basically numbers that you can set to the Instacnes and use for whateer ).
    If you create a code like this:
    - Start of frame
    -> 'Object' spread value in AlterableValueA '0'

    Each Instance will get assigned a different value assigned to AlterableValueA, accendign from 0:
    - Instance ( AltValA = 0 )
    - Instance ( AltValA = 1 )
    - Instance ( AltValA = 2 )
    - Instance ( AltValA = 3 )

    You can now reference the 'Objects' AltValA to differenciate between them ( for whatever reason ).
    Basically what we have done above here, is assign each Instance of the same Object an unique ID.

    1. My client would like to know how to get the duplicates to look different from each other.
    Example.
    Create 4 different Animation Frames for the Object described above ( make sure to set Animaton Speed to 0 ).
    Then do this code:
    - Start of frame
    -> Object set AnimationFrame to Objects AltValA

    After thiseach Instace displays a different picture:
    - Instance ( DIsplays AnimFrame#0 )
    - Instance ( DIsplays AnimFrame#1 )
    - Instance ( DIsplays AnimFrame#2 )
    - Instance ( DIsplays AnimFrame#3 )
    However, when she tested it this was the order (numbering is the same as in the Animation editor):

    Duplicate 1 Frame 4
    Duplicate 2 Frame 3
    Duplicate 3 Frame 2
    Duplicate 4 Frame 1

    She knows that she could rearrange the frames but it could be difficult if she had several duplicates. So, she would like to know if there was a function that would put the right frame to the right duplicate.
    Thank you in advance.

  3. #13
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi again,

    is there someone who could help with this? My client still doesn't know how to do those things. Thanks!!!

  4. #14
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Please clearly state what the end goal is here. Then we can simply make an example for you. It is a bit confusing what you are trying to do and what it is trying to accomplish.

  5. #15
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    @cherryblossom:

    values are spread "backwards" (latest object created in frame = lower value spread)
    and will always be assigned in the same way,
    so "rearranging" duplicates position in the frame editor (simply put the object showing frame 1 in the position you want frame 1 to show)
    is probably the quickest solution

    but true - it can be a messy/not very satisfactory one,
    so you can find other workarounds in the way you assign values (or directly animation frames) to objects

    i.e.

    start of frame
    + (instance) X position= xxx (your topleft instance X position)
    + (instance) Y position= yyy (your topleft instance Y position)
    >>> force animation frame to 0

    etc.

    in short, defining what makes that instance "unique" (in this case, its position)
    hard-coding the frame you want it to show (or the value you want to give it),
    and make so for each one of them

    There are better solutions (in the sense they don't require you to hard code each single instance)
    but are very dependant on your requirements/setup and usually imply some logic/math/creativity
    so there's no "overall blueprint" on how to do that other than some generic suggestions/hints
    on how you can assign a specific "something" in a specific instance,
    ...which you already know

  6. #16
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey!
    First of all, we have told that my client would like to make a jigsaw puzzle.

    Quote Originally Posted by schrodinger View Post
    @cherryblossom:

    values are spread "backwards" (latest object created in frame = lower value spread)
    and will always be assigned in the same way,
    so "rearranging" duplicates position in the frame editor (simply put the object showing frame 1 in the position you want frame 1 to show)
    is probably the quickest solution

    but true - it can be a messy/not very satisfactory one,
    so you can find other workarounds in the way you assign values (or directly animation frames) to objects

    i.e.

    start of frame
    + (instance) X position= xxx (your topleft instance X position)
    + (instance) Y position= yyy (your topleft instance Y position)
    >>> force animation frame to 0

    etc.

    in short, defining what makes that instance "unique" (in this case, its position)
    hard-coding the frame you want it to show (or the value you want to give it),
    and make so for each one of them

    There are better solutions (in the sense they don't require you to hard code each single instance)
    but are very dependant on your requirements/setup and usually imply some logic/math/creativity
    so there's no "overall blueprint" on how to do that other than some generic suggestions/hints
    on how you can assign a specific "something" in a specific instance,
    ...which you already know
    Does this mean that there is no easy way to put frames in a different order?

    One of the things that we asked was how to get two duplicates to change places with each other. My client tried some things but they did not work. Can someone tell how to do it?

  7. #17
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi again

    My client has tried some things and found out how to do some of the things that she would like to do. This is what she has so far:


    She tried to apply this:
    https://www.youtube.com/watch?v=Zz4YbXj2ooc

    Sometimes when she tests the file, this happens. The one below should remain invisible:


    How could she fix it?

    My client would like to know how she could create duplicates in a random order in certain places like in this picture:


    She now knows how to get two duplicates to change places with each other. She would like to know how to do it so that when a player drops the duplicate in a wrong place, it would return to where it was before. She would like to add also a function to the game that when a player puts a duplicate in the right place, it would add a number to a counter. When the counter would equal a certain number, something would happen.

  8. #18
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    A very thorough and clear explanation of the issues,
    still,
    if you could upload the .mfa with the code you have so far,
    I'm sure we'll have easier time modifying it to match your needs,
    and maybe adding a few comments here and there to explain what we did and why

    if you can, this would help us helping and hopefully get to desired result

  9. #19
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply. We don't know how to upload files. We tried to follow the instructions in this thread: https://community.clickteam.com/threads/61539-How-to-upload-to-the-site
    When we went to the file archive, we couldn't find a button for starting a new thread. Another option they suggested in that thread was to upload on this site: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=204424&nt=6&pag e=1
    However, that link doesn't work. Could someone tell us how to upload files?

  10. #20
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator Pro
    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)

    Join Date
    Jul 2006
    Posts
    574
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Maybe its a reserved function for users with registered products. On your reply click "Go Advanced" scroll down and manage attachments and then upload the files. Else you could upload to onedrive/dropbox and post the public link.

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Spread value but only ONCE
    By Darkechibi in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th February 2016, 04:55 AM
  2. How are spread values spread ?
    By rudy in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 6th December 2011, 08:15 PM
  3. spread value help
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 3rd February 2010, 10:53 PM
  4. spread
    By jhonson in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd April 2009, 12:19 PM
  5. Bug - Spread Value
    By Random in forum File Archive
    Replies: 20
    Last Post: 27th February 2007, 10:34 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
  •