How do I add physics to the DragDrop

0 favourites
  • 2 posts
From the Asset Store
Customize the animation of character when item changed
  • A recently released game Potion Craft: Alchemist Simulator (https://store.steampowered.com/app/1210320/)

    This game build the potions is very interesting. I am confused, how can I restore this kind of interaction in C3?

    How can I make it stop by the collision box when I drag the object?

    {"is-c3-clipboard-data":true,"type":"world-instances","items":[{"type":"Sprite1","properties":{"initially-visible":true,"initial-animation":"Animation 1","initial-frame":0,"enable-collisions":true,"live-preview":false},"instanceVariables":{},"behaviors":{},"world":{"x":924,"y":853,"width":497,"height":332,"originX":0.4969818913480885,"originY":0.9307228915662649,"color":[1,1,1,1],"angle":0,"zElevation":0}},{"type":"Sprite2","properties":{"initially-visible":true,"initial-animation":"Animation 1","initial-frame":0,"enable-collisions":true,"live-preview":false},"instanceVariables":{},"behaviors":{"DragDrop":{"properties":{"axes":"both","enabled":true}}},"world":{"x":1295.7302930881829,"y":670.9383123136321,"width":153,"height":458,"originX":0.5,"originY":0.5,"color":[1,1,1,1],"angle":0,"zElevation":0}}],"object-types":[{"name":"Sprite1","plugin-id":"Sprite","isGlobal":false,"instanceVariables":[],"behaviorTypes":[],"effectTypes":[],"animations":{"items":[{"frames":[{"width":497,"height":332,"originX":0.4969818913480885,"originY":0.9307228915662649,"originalSource":"","exportFormat":"png","exportQuality":0.8,"imageDataIndex":0,"collisionPoly":{"points":[0.0010060669190928026,0.049698783690670975,0.18863177539357218,0.032379512327263195,0.16700191996706779,0.17771088933370177,0.2002011458398831,0.560240963855422,0.31790741396621913,0.7296687895993165,0.5638832729347273,0.7908508174390683,0.7205419398889213,0.7176792668290889,0.8138202944511855,0.4110739812793507,0.8152665545043325,0.11864641631942253,0.7970320991347242,0.005177104329489134,0.9939638671260957,0.09600931190582702,0.8501006151349012,0.987763594432049,0.12374245472837016,0.9563253471650276]},"useCollisionPoly":true,"duration":1}],"name":"Animation 1","isLooping":false,"isPingPong":false,"repeatCount":1,"repeatTo":0,"speed":5}],"subfolders":[],"name":"Animations"}},{"name":"Sprite2","plugin-id":"Sprite","isGlobal":false,"instanceVariables":[],"behaviorTypes":[{"behaviorId":"DragnDrop","name":"DragDrop"}],"effectTypes":[],"animations":{"items":[{"frames":[{"width":153,"height":458,"originX":0.5,"originY":0.5,"originalSource":"","exportFormat":"png","exportQuality":0.8,"imageDataIndex":1,"collisionPoly":{"points":[0.15686284482868665,0.028384346108249175,0.862744699116626,0.030567552324986355,0.9934636533649919,0.9257641588236047,0.5032682730481516,0.9694324476750137,4.336808689942018e-18,0.9268558785384401]},"useCollisionPoly":true,"duration":1}],"name":"Animation 1","isLooping":false,"isPingPong":false,"repeatCount":1,"repeatTo":0,"speed":5}],"subfolders":[],"name":"Animations"}}],"imageData":["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfEAAAFMCAYAAADbZoXWAAAAAXNSR0IArs4c6QAAIABJREFUeF7t3TuaLLlxQOHhHmhzH3TlypIlS1qcZMmSJXdc7UM290B9eS9rbj+qKhEBIBOPf9wGkMgTgTgVqO47f/rNfwgggAACCCAwJYE/Tblrm0YAAQQQeEngr3/5899b4Pnf//sbR7QA2XENAeoI19IIIIBAbwKthF27T8KvJZibT+I5bmYhgAACXQmMIuealyT2Gnplc0m8jJNRCCDwhMAKohHYawkQe1veJN6Wp9UQmI4AEU8XsuU2TOz5kJJ4np2ZAxAgoAGCYAsIdCBA7GVQSbyMk1GuUuUAAgjcTIDYvweAxG9OypaP15W2pGktBBCYgcDuYifxGbL0xR5Je+Lg2ToCCHQjsJPYSbxbGtUtTNB1/MxGAAEEPhJYVexLSrxGgD0DXbMvxxEBBBBAoD2BnjW//W4X+078CilmAnzFvq5IDs9AAIG5CfzH//x38Qv8+z//S/HYlQdmav6dPKbpxInxzjTxbAQQmIFARNqv3ofMf5GZQejNJU62Mxx1e0QAgZkItJBz9n1J/Se5UYXeTOLknT0i5iGwBoE7RbMGwbHfIiPzf/23f/rjpf7rP38f+wULdzeazJtInMALo28YAoMTIOLBA3Tj9mol/mzrxF4f0CqJk3d9AK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xijsM0CNwvTOdbWB3ppYTG/J5MOPBubN7gssLZ1zsKVqpJlAGeFjrg+ZjNVJcuCDQWXCVb0oV6yc6VHNuOt9By4uysR4pIQO/wuDFnz+a0iXxLmr/Z5BrPPWtL4lKlk5wWtiq0KrGO+yiI7LmIFcBVxpX+7lJbiDGc2dK5I+8q42iHrgq0DqvOHqMV2eVcZKm2jHXG1rWTZwXXGdBf71pUsC7gVYbV7u0QO0pHfKqyOa7ntUgpx9BxHWB8jveR26QGOuO6jSmRScWynjsD/AV9e+X/jWbD5AAAAAElFTkSuQmCC"]} 
    

    BTW, It can also throw the ingredients and tools. I also found tutorials here.

    howtoconstructdemos.com/throw-a-physics-object

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think you can do the dragging by having an invisible sprite with drag drop and physics connected to the other object with a revolute joint so it does the dangling.

    From the looks of it you should be able to do it without physics by just changing the angle of the object and clamping the y position.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)