Hello. If I edit points on an object (adding a few points), is it possible to somehow add collision/actions by referencing those individual points?
As an example I’ve drawn two rectangles with three different coloured squares in them. I would like to have condition/action when two identical colour squares intersect. (Like a puzzle game)
There are probably several methods but the one I would try is to make different colored squares as objects and put them together as rectangles. Then you could easily reference the squares and even randomize the combination of squares for your rectangles.
This would work absolutely perfect except I have been unable to find a way to join multiple objects (like welding them so they stay together). I am very new to all this, but have been surprised by how much I can accomplish using gdevelop. Any suggestions on how to weld or join multiple objects?
You could create an “attach”-point for each square and in the events you can put the rectangle together by referencing the points. For moving the squares together you can use the “Position of an object”-action and reference again the “attach”-point. Just check the events below, you just have to modify it in a way that it suits your idea (how the rectangles are created, how they move etc.).