User Tag List

Results 1 to 3 of 3

Thread: Test if there's something at the top of multiple objects?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Firefly 3D Module (Steam)
    IvanG's Avatar
    Join Date
    Aug 2015
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Test if there's something at the top of multiple objects?

    I'm making a minigame with that has the same mechanics as this game:
    https://itunes.apple.com/us/app/flow...526641427?mt=8

    But it's a point & click. (Click on a box and a "wire" will be created)

    The question is, how am I going to "test" if there's already a wire at the top, bottom, left, right of the wire I created so I can change this wire's animation?

    Another example: Minecraft's redstone

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jan 2014
    Location
    Paris, France
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you want to test if the clicked box already has a wire connected, or to test if there are wires near the clicked box ?

  3. #3
    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)
    A simple way of doing this would be everytime you click on the box you add one to the alt value A of the box.
    then check the value

    Alt value a = 1
    -change to animation 1

    alt value a = 2
    -change to animation 2

    Hope that helps.

Similar Threads

  1. Optimization: Multiple objects VS multiple frames
    By Kritter in forum Fusion 2.5
    Replies: 5
    Last Post: 16th July 2016, 09:33 PM
  2. Replies: 1
    Last Post: 4th April 2016, 01:25 PM
  3. How I test if a number is multiple of 2?
    By Zugwang in forum Fusion 2.5
    Replies: 3
    Last Post: 6th July 2015, 01:08 AM
  4. multiple Q - inventory ext :: stop anim frame :: global objects :: loading objects
    By everlite in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th March 2014, 09:52 AM
  5. Multiple PMOs for multiple Objects example
    By Blood_Wist in forum File Archive
    Replies: 1
    Last Post: 31st May 2008, 01:48 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
  •