Dialog

Get help using Construct 2

Post » Sat Nov 30, 2013 12:45 pm

Hello,

How can you make a simple dialog for example a shop in the same layout?

Regards,
RickUSBstick.
Image

Coin Clicker 2 [Play store]
B
15
S
2
Posts: 75
Reputation: 905

Post » Sat Nov 30, 2013 10:40 pm

@RickUSBstick do you mean in a shooping website after selecting an item to buy, a dialog appears that say "your item is in the basket" ?
If that's the case, put a text/image where you want it to show up, but make it invisible (in property window select "Initial visibility = Invisible"), then make it visible at runtime.
Or you can also move it outside the layout changing it's X or Y coordinate
B
79
S
21
G
23
Posts: 513
Reputation: 18,648

Post » Sat Nov 30, 2013 10:46 pm

Moving outside the layout you can for example set the Y position to
-self.Y which would move it to the negative value of its current location.
Do it again, and it puts it back.


This toggles everything in the family1 off and on the screen on Touch.

In the past I also put drag and drop behavior on the family, so it drags around like a window too. Paradox2013-11-30 23:06:10
B
230
S
62
G
33
Posts: 902
Reputation: 40,319


Return to How do I....?

Who is online

Users browsing this forum: Huemerson, ultrafop and 14 guests