How to make an event about mouse pointer...

Get help using Construct 2

Post » Wed Jul 18, 2012 3:44 am

Hi all, i'm just wondering how to make an event about mouse pointer is not moving for 5 seconds, then some random action is triggered like blocking the game.

Also else if mouse pointer is moving, no block the game.

Im talking about if you're not playing the game, it could be inactive, the action makes pause the game or just block the game.

I hope you know what i mean.

My regards.
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236

Post » Wed Jul 18, 2012 6:52 am

this is an idea :
you can put variables like : X,Y variable and timer and when mouse.x and mouse.y = them it will subtract from the timer . if the timer = 0 it do that stuff..
the timer will reset if the x or y changed ^^
B
52
S
15
G
7
Posts: 795
Reputation: 12,770

Post » Wed Jul 18, 2012 8:49 am

Ok, let me try it.

I will let you know if it works.
B
96
S
34
G
29
Posts: 3,139
Reputation: 28,236


Return to How do I....?

Who is online

Users browsing this forum: Aquanex2 and 3 guests