How do I (Message box with buttons) - RESOLVED

Get help using Construct 2

Post » Mon Jun 30, 2014 11:55 am

Guys how do I create a window with buttons?

Example: Clicking 2 times (double click) the mouse over the object, a window should appear with 2 buttons (yes or no).

1. Event, click the yes button object is deleted.
2. Event, click the No button, the window closes and nothing happens.

Can anyone help?
Last edited by Rony Sueliton on Sun Jul 06, 2014 1:53 pm, edited 1 time in total.
B
11
S
3
G
1
Posts: 105
Reputation: 1,135

Post » Mon Jun 30, 2014 12:19 pm

"System > Create Object"
"Mouse > On object clicked > Double Clicked"
"Object > Destroy"
B
6
S
1
Posts: 73
Reputation: 571

Post » Sun Jul 06, 2014 1:52 pm

With the help of my friend @Scofano, could implement a message box with button inside.

If they want to do, follow the tips below that @Scofano gave me:

Grab a sprite, create a new layer, put the layer on top and put all the elements within the message box. Necessary to place the objects pop up to start as invisible.
Then make a button that makes the pop up button visible and X (close window) you make it invisible again.

Check out the results below:

POP UP.png


Vlw @Scofano.
You do not have the required permissions to view the files attached to this post.
B
11
S
3
G
1
Posts: 105
Reputation: 1,135

Post » Mon Jul 07, 2014 2:31 am

You welcome

:D :D :D
B
32
S
5
G
1
Posts: 163
Reputation: 2,648


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest