User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: Testing the collision of a specific pixel

  1. #11
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing the collision of a specific pixel

    Quote Originally Posted by RickyRombo
    It's hard to explain, I'll make an example later if you need it.

    Basically spread a value in the characters (which can be put into a group) alterable value a or some other alterable value

    Then:
    Code:
    * On Loop "pixel collisions"
    + Loopindex("pixel collisions") = Alterable Value A("character") // or ("group.whatever")
       - Set position of "collider" to  {whatever position}
    all you need to do is add
    Code:
    * On Loop
    for the collision effects
    So on the loop, we test to see which character has the alterable value that we spread equal to the loopindex of the loop. That way we select one at a time.

    Then what we do is set the pixel detector to the 1x1 spot you want it, and if the pixel is overlapping walkable area do what you want to do and if not make the character go back. (all on loop)

    Actually, what I think would help you the most would be to do the OPPOSITE. Try making the collider the actual "character" and have different sprites follow it around. That way you won't have any problems.

    So do your characters have special movements or anything or could that work? (doing the opposite)

  2. #12
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on
    Boba Fonts's Avatar
    Join Date
    Jan 2009
    Location
    Northern Italy
    Posts
    228
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing the collision of a specific pixel

    Ok, I'm gonna work on the "opposite" solution! It sounds easier I think.
    Thanks

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Specific, reproducible bug for Direct3D 9 collision detection
    By Rickshaw in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th March 2013, 07:28 PM
  2. Get color/ RGB value from specific pixel
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 11th July 2012, 03:41 PM
  3. Collision with pixel?
    By Digitalic in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th January 2011, 07:41 AM
  4. Collision Pixel Color
    By Blood_Wist in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 13th December 2010, 04:17 PM
  5. specific animation has played a specific frame?
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 22nd April 2008, 04:34 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
  •