User Tag List

Results 1 to 3 of 3

Thread: Pair Objects in Clickteam?

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Oct 2019
    Location
    United States
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Pair Objects in Clickteam?

    Is they're a way to pair objects in Clickteam, like creating an objects together ie. an enemy and hitbox.
    And then also destroying them together?

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS 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)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2010
    Posts
    173
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by xdste View Post
    Is they're a way to pair objects in Clickteam, like creating an objects together ie. an enemy and hitbox.
    And then also destroying them together?
    objects created in the same event are linked (details here)
    https://steamcommunity.com/sharedfil.../?id=257466044
    this works well as long as there is only one of each child object.
    If there are more then you need to manually create the link by assigning values to the objects. i tend to use a group id and a part id to allow maximum control.

  3. #3
    Clicker 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)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,317
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)
    When manually pairing, I like to use "fixed values", as it ends up a bit simpler. Every object already has a unique fixed value, so you're using something that's already there, rather than having to generate a unique number yourself. And you only need to store it on one of the paired item's alterable values, rather than storing on both. You can read in more detail about the process if you scroll down to the "Manual scoping" section of this article.

    Here, we store the pears' fixed values in the worms' alterable values, to keep them paired. You don't have to remember yourself what the fixed value is (Fusion remembers for you) and you don't need to change any altVals on the pears - just on the worms. Peer at this pared-down example of some paired pears, mon père



Similar Threads

  1. How to pair objects together?
    By AndyBazooka in forum Fusion 2.5
    Replies: 9
    Last Post: 23rd October 2017, 11:42 PM
  2. Arrays dont object pair!?
    By PotatoMerchantz5 in forum Fusion 2.5
    Replies: 0
    Last Post: 14th June 2016, 07:06 AM
  3. Compteur pair ou impair
    By bibi89 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 9th August 2010, 04:56 AM
  4. Aging pair map
    By James in forum Released Extensions
    Replies: 2
    Last Post: 22nd January 2008, 05:15 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
  •