Gringoo's Forum Posts

  • Thanks a lot for the reply dop2000 this worked Well !! Again applogize for several posts , this is first time i'm using this engine , and first time posting , i didn't know how Interaction with my post will be and i needed the answer in hurry ,

    Thanks again

    So , hi i asket this question many time without finding solution , many asked me to post a Cp3 file , so this is what i'm doing the link below .

    for who didnt see my question before ,

    i want to create a game kind of Rise up ,

    I have two object one moved with mouse ( by setting his position to the mouse position ) and another falling object with physic behaviour

    ,

    Problem is , when i move the defender object to fast with the mouse , i notice that it go trough the falling object a little some times too much and its verry ugly and weird

    Another thing i have noticed , when i use drag and drop behaviour in the defender object , instead of moving the it by setting the position to mouse position , i didnt have this problem collision are perfect ,

    So if someone can help me by editing a little the drag and drop behaviour , to make the clickable region bigger than the sprite it would be great, i tred to pin it to another biggest objet and drag the biggest but the problem of overlapping reappear again .

    otherwise if there is someone having another solution please help me

    and thanks in advance .

    drive.google.com/open

  • So this is the construt file thanks in advane for the reply

    drive.google.com/open

  • Yes Sure i wish but i'm completly new here i need an answer in hurry , How can i create and post this capx ¨Please

  • Yes Sure i wish but i'm completly new here i need an answer in hurry , How can i create and post this capx ¨Please

  • unfortunately , this doesnt fix my problem , thanks for the reply

  • Just tried this still doesnt work ( my actor still going trough other when i drag to fast )

    is there any way to create two collision shape and desactivate one ?

  • Pin your object to an invisible sprite with a bigger collision box. Use that invisible sprite for dragging and dropping.

    what do you mean by pin please Brooo ? can i conserve the smallest collision shpe ?

  • what do you mean by pin please Brooo ? can i conserve the smallest collision shpe ?

  • i want to move my sprite like the drag and drop behaviour , because it seems like the drag and drop move the collider and sprite spontaneously and make the collision verry clean , ( i have problem moving it with mouse collision are not to clean )

    how can i acess this behaviour code , how can edit it ? how can make simmilair movement to this behaviour

  • hey evreyone , i have a big problem moving my sprite with position , (setting the psition to the mouse position)

    i have ugly collision seems like the sprite come before the collider moving it this way .

    because when i move it with the drag and drop behavior evreything its okey collider and sprite move cleanly

    so i wanted to know how can i move the player like in the drag and drop behaviour

  • Hey

    i want to edit the drag and drop behaviour to make the clickable interface in the sprite bigger ? without making the collision box bigger

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    Hi evrey one i really need this solution guys !!

    So

    All i have on the scene is :

    a mouse ,

    an object which i set his position to the mouse position , (it have physic behaviour)

    a second object with physic behaviour ( falling )

    the problem is when i move the first object quickly with the mouse it look like is going trough the falling object a little and he take the exacte postion and really it looks weird and doesnt look good !!

    And i have to :

    notice that when i use the drag and drop behaviour to move the object the collision works perfect ! the object dont go trough the other like when i move it with setting his position evrey tick to mouse position ,

    in my opinion it look like the sprite come before the collision shape or something like this !

    maybe moving it with physics not by setting position will solve this if its right how to move it to the mouse position using physics .

    thanks in advance

  • Hi evrey one i really need this solution guys !!

    So

    All i have on the scene is :

    a mouse ,

    an object which i set his position to the mouse position , (it have physic behaviour)

    a second object with physic behaviour ( falling )

    the problem is when i move the first object quickly with the mouse it look like is going trough the falling object a little and he take the exacte postion and really it looks weird and doesnt look good !!

    And i have to :

    notice that when i use the drag and drop behaviour to move the object the collision works perfect ! the object dont go trough the other like when i move it with setting his position evrey tick to mouse position ,

    in my opinion it look like the sprite come before the collision shape or something like this !

    maybe moving it with physics not by setting position will solve this if its right how to move it to the mouse position using physics .

    thanks in advance

    Hi evrey one i really need this solution guys !!

    So

    All i have on the scene is :

    a mouse ,

    an object which i set his position to the mouse position , (it have physic behaviour)

    a second object with physic behaviour ( falling )

    the problem is when i move the first object quickly with the mouse it look like is going trough the falling object a little and he take the exacte postion and really it looks weird and doesnt look good !!

    And i have to :

    notice that when i use the drag and drop behaviour to move the object the collision works perfect ! the object dont go trough the other like when i move it with setting his position evrey tick to mouse position ,

    in my opinion it look like the sprite come before the collision shape or something like this !

    maybe moving it with physics not by setting position will solve this if its right how to move it to the mouse position using physics .

    thanks in advance