User Tag List

Results 1 to 2 of 2

Thread: Custom drag movement can't move on surface while overlapping

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    May 2013
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Custom drag movement can't move on surface while overlapping

    With some help on these forums, I made a custom drag movement using the Multiple Touch Object. I simply want to be able to drag an active object within a zone, but not allow it to pass through another active object. I accomplished this using a loop: increment between the previous object XY to the destination XY until either the destination is reached, or the object is overlapping, if which case the object will move back to the previous increment. However, I would like to be able to slide the active object on the surface of the obstacle object, so that (in the attached file) you can move the little blue ball around the black ball while they are in contact. How can I accomplish this?

    Here is my test app so far: Trackpad Collision Test 4 (working).mfa

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    1,066
    Mentioned
    171 Post(s)
    Tagged
    0 Thread(s)
    I don't understand your question - this is why:

    1. If you want the blue ball to move across the black circle, then it doesn't make sense that the black surface is an obstacle.
    2. If you want the blue ball once it reaches the black circle to then hop onto the black circle and move around on it - then how will you know if the player wants to move onto it or move around it on the outside?

    Maybe something like this:

    You could have the player press a key - and that activates a group where the blue ball is placed onto the black circle and then is constrained to the limits of the black circle.
    When the player presses a key again - the blue ball is placed next to the black circle so that it can freely move away from it.

Similar Threads

  1. Drag and move to the right/left ? How can i do it ?
    By MagnetoX in forum iOS Export Module 2.5
    Replies: 13
    Last Post: 10th September 2015, 09:15 AM
  2. Move and shoot issue with custom movement
    By natrey in forum Fusion 2.5
    Replies: 3
    Last Post: 12th March 2015, 10:23 AM
  3. Custom Delta Time Accelerated Movement with Move to Function
    By rocketappliances in forum Fusion 2.5
    Replies: 1
    Last Post: 3rd March 2015, 02:04 AM
  4. Custom movement issue (Random chance player can't move)
    By BtheDestroyer in forum Fusion 2.5
    Replies: 3
    Last Post: 7th September 2014, 08:41 PM
  5. drag to move screen
    By MrMan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th February 2007, 09:59 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
  •