Mouse movement recognition

For questions about using Classic.

Post » Sun Dec 26, 2010 3:46 pm

Hi,

This one might be bit difficult. I wonder does anyone would have an idea how to make game recognize shapes or movement made using mouse pointer?
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910

Post » Sun Dec 26, 2010 8:39 pm

I found this site with a pretty good explanation on how to do it:
[url:1vl161yq]http://www.bytearray.org/?p=91[/url:1vl161yq]

Here's my attempt at it:
[url:1vl161yq]http://dl.dropbox.com/u/5426011/examples3/gesture.cap[/url:1vl161yq] made in 0.99.96

My implementation isn't complete since it only accepts exact mouse gestures. Ideally a gesture should be detected if it's close enough.
B
79
S
24
G
54
Posts: 4,753
Reputation: 40,769

Post » Wed Dec 29, 2010 9:14 pm

[quote="R0J0hound":36hnioj7]I found this site with a pretty good explanation on how to do it:
[url:36hnioj7]http://www.bytearray.org/?p=91[/url:36hnioj7]

Here's my attempt at it:
[url:36hnioj7]http://dl.dropbox.com/u/5426011/examples3/gesture.cap[/url:36hnioj7] made in 0.99.96

My implementation isn't complete since it only accepts exact mouse gestures. Ideally a gesture should be detected if it's close enough.[/quote:36hnioj7]

Awesome! Thanks. Will do research on it.
My professional Royalty Free Music at Scirra Assets Store
--------------------------------
Specs: i5 2500, 16gb of ram, gtx 770, win 7, Focusrite Scarlett 8i6, Mackie mr8mk2, Alesis 320, browsing the net on chrome.
B
71
S
19
G
19
Posts: 1,919
Reputation: 16,910


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests