Gesture Recognition Engine for both Game Maker: Studio 1 and Game Maker Studio 2 allows you to integrate multistroke gesture recognition technology on your games and apps in only a few minutes
[ FEATURES ]
[ YOUTUBE TRAILER ]
https://www.youtube.com/watch?v=FAU_FX7PGEE Length 1:12
[ DEMO ]
Check the "HTML5 Demo" or "Windows zip demo" on the Gesture Recognition Engine official website:
[ ONLINE DOCS ]
The full online documentation is here: http://ciberman.net/gr/docs Also, the engine includes a lot of commented demos
[ SUPPORT ]
For support about this or any other extension published by me, send me a message on the Gesture Recognition website: https://ciberman.net/gr
Please do not use the review section for support, since I don't get any notification. Also, remember to leave a nice review. It really helps me a lot.
[ FOLLOW CIBERMAN ON TWITTER ]
[ FAQ ]
Q: What is the difference with the other extensions on the marketplace?
This engine supports any number of custom gestures, added by you or by the user. Also, the other extensions only support primitive shapes, while the Gesture Recognition Engine supports ANY shape with any number of strokes. You can draw it in any way and the system will figure it out with a special scoring system. (see below).
Q: How do I recognize a gesture?
First add all the template gestures with ´gr_template_add´. You can use Game Maker Paths, arrays of coordinates, arrays of points, ds_lists of coordinates, or ds_lists of points.
Then, record the user gesture. (The engine provides gr_record_* functions for this task)
Then, recognize the recorded gesture with:
result = gr_record_recognize(record);
The result object has all the data about the recognized figure. For example, the name, the score, and other data. You can use gr_result_get_name, gr_result_get_score.
Also, you can draw the user drawn gesture on the screen with gr_draw_record. Or draw the available templates with gr_draw_gesture
Q: What means that a gesture have a score?
The system will analyze the user recorded gesture (What the player draws on the screen) with your gesture templates and compare it using an cloud point matching algorithm. Then, it will assign one score from 0.00 to 1.00 for each template you provided. If the score is higher, it means that is more feasible that the gesture drawn by the user is similar to that template. Check the demo for a more visual example.
UPDATE The package has been ported to GMS1. Enjoy! If you have troubles purchasing this asset please contact me with the contact form in https://ciberman.net/gr or via facebook https://www.facebook.com/cibermanGM/ or Twitter https://twitter.com/cibermandesigns