nnn1czech
Member
Nice day.
(I do not know how much English - I translate in the translate.)
Please, how can I do it (dress up game):
1.) When I click on thing A, the other things (thing B, thing C ...) are under A. And when I click on B to put other things under it (thing A, C ...).
2.) It was moved with the thing that is the highest (currently moving with the thing below what is above).
Edit:
I mean, object A rises. Although there is an object B above it, over which is a mouse. As seen on the video, the object B does not move even if I want to drag it if there is an object A next to it. Instead, object A is selected.
In other words: In order to move any clothes. But only the one on which the mouse is (not something under)?
I use an event Draw GUI Begin to render an image. Object thing A is the parent of other things.
explanatory notes:
canclick clicking on a specific thing
object thing A
Event Left Down (mouse button)
(I do not know how much English - I translate in the translate.)
Please, how can I do it (dress up game):
1.) When I click on thing A, the other things (thing B, thing C ...) are under A. And when I click on B to put other things under it (thing A, C ...).
2.) It was moved with the thing that is the highest (currently moving with the thing below what is above).
Edit:
I mean, object A rises. Although there is an object B above it, over which is a mouse. As seen on the video, the object B does not move even if I want to drag it if there is an object A next to it. Instead, object A is selected.
In other words: In order to move any clothes. But only the one on which the mouse is (not something under)?
I use an event Draw GUI Begin to render an image. Object thing A is the parent of other things.
explanatory notes:
canclick clicking on a specific thing
object thing A
Event Left Down (mouse button)
Code:
if (canclick1 == 1)
{
x = mouse_x;
y = mouse_y;
depth = -200;
with (other)
{
depth = -100;
}
canclick2 = 0;
canclick3 = 0;
...
}
Last edited: