User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 25

Thread: Questions about spread value

  1. #1
    No Products Registered

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

    Questions about spread value

    Hey,

    I'm writing on behalf of my client who has Asperger's syndrome and isn't able to write here personally. I am her new care worker. She has some questions about spread value.

    She would like to know how to do 3 things:

    1.How to always put a different frame for each duplicate like this:


    2. She has found different ways to drag objects without the drag and drop object. She would like to know how to do it with duplicates so that only one of them would move.

    3. She knows that it is possible to get two objects to change places by destroying one and creating another. She would like to know how to do it with duplicates.

    Thank you for your help!

  2. #2
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    845
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    1. I'm not sure what she means sorry.
    2. Use flags, e.g:

    User mouse is over Object
    -Turn flag 1 on

    User mouse is not over object
    ->Turn flag 1 off

    Object flag 1 is on
    +User clicks and holding left mouse button
    ->Set X position of object to Xmouse
    ->set Y position of object to Ymouse.

    3. I'm not sure what she means here, but duplicates need to have something that seperates them, easiest is to use flags like above or giving every duplicate object an unique alterable value. You can e.g.

    Start of frame
    ->spread value in Object

  3. #3
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply.

    My client asked me to create this thread because she doesn't know how to do the things she would like to do. The question was, how to do all of those things with duplicates. She knows that it is possible to give a number to each duplicate using spread value, but she doesn't know what else she should do. She thought she would tell more about what she would like to do. She used an image editing software (MS Paint) in the following pictures.

    1. My client meant that she would have duplicates that would look different.


    Quote Originally Posted by zip2kx View Post
    2. Use flags, e.g:

    User mouse is over Object
    -Turn flag 1 on

    User mouse is not over object
    ->Turn flag 1 off

    Object flag 1 is on
    +User clicks and holding left mouse button
    ->Set X position of object to Xmouse
    ->set Y position of object to Ymouse.
    She knows that if she did that with duplicates, all of them would move. My client meant that only one of them would move:


    3. She means that she would have several duplicates of active A and several duplicates of active B. My client would like to know how to do it so that for example only an active A1 and B1 would change places with each other and the rest of them would stay where they would be:

  4. #4
    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)
    It might help here if we knew her final goal. Is this a sliding picture puzzle game? Since there are probably multiple ways to do what you want, we need a bit more info.

  5. #5
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    845
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    If she spreads values or uses flags it works with duplicates.

    for instance i have two duplicates of Object1.

    Player mouse over over object1
    +Player clicks on object1
    ->Toggle flag 0

    Object1 flag0 is on
    ->Set x position to Xmouse
    ->Set y positon to Ymouse

    that will move one of the objects and not the other. But as Mobichan said, ask him/her what her end goal is and maybe someone can give a better example.

  6. #6
    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:
    feels similar to this old question on a matching objects game you also participated to:
    https://community.clickteam.com/threads/91619-Grouping-objects-for-a-matching-game?p=679299&viewfull=1#post679299
    (don't know how I did remember this )

    with just the slight difference of using instances of same object instead of different objects + qualifiers
    and so having to "differentiate" instances in the code:

    letter_veggie_drag_instances.mfa

    You'll see the example is exactly the same save for the starting "create duplicates" section.
    I didn't use "spread value" here, but assigned values (letters) upon instance creation,
    it's about the same - just find the most suitable / comfortable way for your project

  7. #7
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, many thanks for your replies!

    My client thought she would tell more about what she would like to do. She would like to make a jigsaw puzzle. She would like to make also other kinds of games where the player could drag duplicates around. When she would make a jigsaw puzzle, at the beginning of the game she would have duplicates that would look different. After that, the player would drag them into the right places with the mouse one at a time.

    1. My client would like to know how to get the duplicates to look different from each other.

    2. We have told that she knows how to drag objects. zip2kx told that it works also with duplicates. Thank you for this information!

    3. She knows that it is possible to get an active to stick to one place by changing places with an invisible active. The question was, how to do that with duplicates?

    Quote Originally Posted by schrodinger View Post
    @ cherryblossom:
    feels similar to this old question on a matching objects game you also participated to:
    https://community.clickteam.com/threads/91619-Grouping-objects-for-a-matching-game?p=679299&viewfull=1#post679299
    (don't know how I did remember this )

    with just the slight difference of using instances of same object instead of different objects + qualifiers
    and so having to "differentiate" instances in the code:

    letter_veggie_drag_instances.mfa

    You'll see the example is exactly the same save for the starting "create duplicates" section.
    I didn't use "spread value" here, but assigned values (letters) upon instance creation,
    it's about the same - just find the most suitable / comfortable way for your project
    My client has read that thread and looked at that file again. She doesn't understand much about it. When she asked her previous care worker to write there, she noticed that she would have needed alterable values with it. She tried to ask about them in this thread but she didn't get many replies there: https://community.clickteam.com/threads/95082-How-to-get-started-with-loops-and-alterable-values

    We have told that she would like to know how to use spread value. Does she need loops and alterable values also with this? She had found only a few tutorials on YouTube about loops and alterable values, but many of them have become private or unlisted, for example the tutorials from Sparckman and Snail On. Or can they still be watched somehow?

  8. #8
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    I have a spread value example here:
    http://www.castles-of-britain.com/mmfexamples-a.htm

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  9. #9
    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)
    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 )

    This is just one way to use the Instances unique "ID" to differenciate between them.

    3. She knows that it is possible to get an active to stick to one place by changing places with an invisible active. The question was, how to do that with duplicates?
    How bout you give it a shot and if your tuck I may cook up an example. It might not be so easy.

  10. #10
    No Products Registered

    Join Date
    Sep 2015
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, thank you for your advice!

    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 )

    This is just one way to use the Instances unique "ID" to differenciate between them.
    She tried what you suggested but it went the opposite way as she would have wanted to:


    The number 1 is the first one and the others are duplicates of it. She would like to do it like in these images. The one on the left has been taken from the same Clickteam file and the one on the right has been copied from another image file:


    Quote Originally Posted by King_Cool View Post

    3. She knows that it is possible to get an active to stick to one place by changing places with an invisible active. The question was, how to do that with duplicates?
    How bout you give it a shot and if your tuck I may cook up an example. It might not be so easy.
    My client only knows this function: active 1 is overlapping with active 2 --> active 1 destroys --> active 2 creates at...

    She doesn't know how to do that with duplicates. She doesn't even know from where to look for it.

Page 1 of 3 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
  •