2Bdigital's Forum Posts

  • I'm afraid not, London town!

  • The create distance joint works perfectly!

    Cheers lads!

  • Yes that is correct, its a bit of a bother being touch functions only!

    Kyatric, can you unpin aswell so for example: I touch and move object to hit area and it pins to hit area but if I touch and move object again it unpins itself and can move freely again?

  • Here is the file:

    capx     

    Its all touched based at the moment as I'm creating it for tablets and mobile phones.

    I have these 3 stickmen which have been sliced into individual parts (Head, Body and Legs). The parts are triggered to move when touch is activated, there are 3 hit areas behind each of the body parts (Head, Body & Legs).

    I have a 4th hit area which I want each body part to snap to if it comes into collision/overlaps with hit area 4, the problem is when I do this, all the body parts come together, I want them to keep safe distance between each other like there are when you load the capx.

    Hope that makes sense...

  • Can't seem to get it to work, I must be doing something wrong!

    I have these 3 images and I want them to keep distance from each other, how do I achieve this?

    capx file would be nice, so I can see exactly what's happening in the events.

  • Ah right I see it!

    So then all you do is set the distance (x,y) between the two objects.

    How does it new the position of each object without the object name?

  • Cheers peps!

    Ill give them booth ago!

    Rasmus: That's seems simple enough!

    Weishaupt: Where is this command "distance (x1,y1,x2,y2)"?

  • Yeah I've looked into that example!

    Ill give it a try!

  • Hi guys and gals,

    How do I keep a distance between 2 objects?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi Everyone!

    Can you set more than one position on an object?

    I have this object and I want 3 positions so that each time the position (1,2,3) collides with a hit area it snaps into position.

  • Scrap that, I've figured it out!

    Cheers newt for your assistance! :)

  • It works perfect,

    If I just wanted to use X positions for drag and drop how would I achieve this?

    At the moment it requires 4 parameters. What value do I use?

  • Cheers man! Ill test it!

  • Hi newt,

    Could this be used for touch functions aswell?

    If so, how would you achieve this...

  • Hi Yann,

    Something similar to that yes!

    I trying to create a "touch based" select character menu for my game so you swipe to a character, and it stays in a certain position, you swipe again and the next character appears in the same position and so on, that make sense...