How to make a click with Construct Classic?

For questions about using Classic.

Post » Thu Aug 25, 2011 5:01 pm

I have a question: i know how to set cursor position with Mouse&Keyboard and with InputSystem but i have no idea how to make a click. Any ideas?
B
2
G
1
Posts: 20
Reputation: 490

Post » Thu Aug 25, 2011 5:55 pm

Mouse & Keyboard > On click..?
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Thu Aug 25, 2011 6:58 pm

Tokinsom, she need auto click!
But I think this is impossible with Construct(no python).
B
5
S
2
G
5
Posts: 97
Reputation: 2,826

Post » Thu Aug 25, 2011 8:00 pm

You don't need to force mouseclicks most of the time. Just pretend a click.

Example

In your game you have a sprite that acts like a button, and when the user clicks on it, the buton sprite changes its look and something else is triggered.
+On myButtonSprite left clicked
-> myButtonSprite: Set animation frame to 2
-> do something awesome

Now you want to automatically click on that button for a tutorial level. Instead of some forced mouseclick you just use all the actions above combined with another condition, e.g.
+Tickcount = 180
-> myButtonSprite: Set animation frame to 2
-> do something awesome

If this doesn't help in your case, please be more specific.
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Fri Aug 26, 2011 6:47 am

tulamide, thanks but i solved my problem with Delphi))). I need to click on the all screen not only on the app window)iamnp2011-08-26 07:25:45
B
2
G
1
Posts: 20
Reputation: 490


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests