how to add onclick

Get help using Construct 2

Post » Mon Apr 01, 2013 11:14 pm

i have a jpg, and on the top of the jpg i have a little picture, how to ad the condition "on mouse click object" and that do another action???

i have added a button, invisible, but when i add the condition on click, that dont work, i cant go to the next frame.imothep852013-04-01 23:50:02
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Tue Apr 02, 2013 12:17 am

Why when a button is invisible, if i add onclick that dont work???
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761

Post » Tue Apr 02, 2013 12:18 am

Mouse "on object click" button
->do whatever

If its invisible i don't think it will register that its a button though.

Try not making it invisible, but simply an empty blank sprite instead if you need it to start visually invisible but still clickable
B
83
S
39
G
15
Posts: 984
Reputation: 16,741

Post » Tue Apr 02, 2013 12:20 am

but where is the condition mouse??
B
34
S
13
G
6
Posts: 1,643
Reputation: 8,761


Return to How do I....?

Who is online

Users browsing this forum: blissfulwizard, DevinMurray and 16 guests