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
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

Post » Tue Apr 02, 2013 12:17 am

Why when a button is invisible, if i add onclick that dont work???
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575

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
78
S
36
G
13
Posts: 955
Reputation: 15,260

Post » Tue Apr 02, 2013 12:20 am

but where is the condition mouse??
B
32
S
12
G
6
Posts: 1,625
Reputation: 8,575


Return to How do I....?

Who is online

Users browsing this forum: Ajbael, Jhorbam and 11 guests