gamarros's Forum Posts

  • I'm with the items Drag and Drop behavior, they must be destroyed as soon as they are dropped in a specific place (each item has a place to be dropped and destroyed, if in the wrong place it will be not destroyed, it must return to the place of origin (this place that was chosen randomly so the layout starts)

    the object is dropped on top of another object, if the right object, the 2 are destroyed.

    I got 2 problems, the first and most critical is that if I click on any object and drop anywhere it is destroyed (because I do not know how to create a drop area, so wherever I drop it, it activates a particular function for drop)

    Another problem is that when I let go of the object in the wrong place, he should return to the place of origin (he not only did not back as destroy, as the problem I have quoted the above)

    can someone help me?

    tks (:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • apparently worked.

    tks (:

  • I can setting a function for each frame of an animation?

    I have an animation with 10 frames, I want all these frames are drag and drop, however the area of the drop and what happens after the drop are different for each frame.

    is this possible?

    was understandable? I'm kinda confused haha

    tks (:

  • I like I could do to when collision / overlapping, redo the random?

    in my event sheet: (I can not post images yet D:)

    • On start of layout: destroys the object to be randomized
    • then create object positioned in "slot.x" - "slot.y"
    • and do other procedures to leave his position on the random slot

    ("slot" are 10 objects I created, which will be organized on the screen, and other objects, will be randomized on him, remembering that I want each object on top of a slot, none on the other)

    tks

  • I need to randomize the starting position of 10 objects in 10 specific locations, so far I got, however when it randomizes the objects in places, it overlaps some elements

    I need a solution to where to start, they are in different positions, and not overlap each other.

    remembering, random works, only that sometimes, an element overlap each other

    can someone help me?

    tks (:

    and I'm sorry if it is not the right place for this question, I'm new here