[Plugin] : Unistroke Gesture Recognizer

Post your completed addons to share with the community

Post » Mon Oct 31, 2016 5:07 pm

hi, can this plugin be updated??? its really good but sadly is having some javascript errors when deleting the defined gestures...
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Mon Oct 31, 2016 6:54 pm

how do you create new shapes? I cant seem get it to work :)

I mean- how do you extract the shape to construct2, after making it in the demo
B
40
S
15
G
4
Posts: 426
Reputation: 5,870

Post » Mon Oct 31, 2016 7:11 pm

do you have an example json file that contains shapes? How does that look like?
B
40
S
15
G
4
Posts: 426
Reputation: 5,870

Post » Mon Oct 31, 2016 7:32 pm

Image ImageImage
B
172
S
50
G
183
Posts: 8,439
Reputation: 115,597

Post » Mon Oct 31, 2016 7:37 pm

newt wrote:Just copy the text from the demo:
https://dl.dropboxusercontent.com/u/666 ... plate.capx


the problem is that whenever i tried to create my own gestures using the plugin's action inside c2 it gives me a javascript error

i know i can edit the code by hand and thats a way of putting my own gestures into it but the demo doesnt
give me the "codes" of the gesture the way i needed to put them on the runtime.js file, i think thats the only way to erase the already buildin gestures and create our own, to change by hand the runtime.js...
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Mon Oct 31, 2016 7:48 pm

Post a capx I guess.
Pode is probably gone for good.
Image ImageImage
B
172
S
50
G
183
Posts: 8,439
Reputation: 115,597

Post » Mon Oct 31, 2016 7:51 pm

newt wrote:Post a capx I guess.
Pode is probably gone for good.


i figured out a way to create my own gestures, the bad thing is that we have to change the code by hand, good part is that i change a little bit the gesture generator to create the code needed just to copy paste our gestures to the plugin's code. i will be uploading the generator and a mini guide of how to do it right here when im done with it :)
i dont think it will be more than 3 steps.
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Mon Oct 31, 2016 10:25 pm

Hi guys, well since i love this plugin and looks like Pode is gone, i figure out a way to create our own gestures since the plugin is giving us a JavaScript error message when trying to do it, so i did this custom gesture creator based on the one that Pode did.



Custom Gesture Creator

this generator creates a JavaScript line that have to be copy pasted inside the runtime.js file of the original plugin, this lets you create your own gestures.

LINK: http://vortechstudios.com/gestures/

//////

STEPS TO DO IT

1 - open runtime.js of Unistroke Gesture Recognizer Plugin and go to the line #115
it should looks like this, here is every gesture's code.
Image

2 - delete all lines from 120 to 135
should looks like this now
Image

3 - open the generator ( http://vortechstudios.com/gestures/ ) and create your gesture, DONT FORGET TO ADD A GESTURE NAME
AND A GESTURE ID, gesture ID have to be a NUMBER , use 0 if its your firts gesture.

4 - now just COPY the code that you just generated inside the runtime.js file, it should looks like this
Image

DONE, now the plugin recognize your gesture, if you want to add more gestures, just put the gesture code in the next line and with a different ID.



i did this for the people that doesnt know any of code or are afraid of touching code, since i love this plugin and sadly the original creator isnt online anymore.
hope you guys like it and tell me if you find any problems creating your own gestures, have fun!
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Wed Feb 01, 2017 4:52 am

i hope that was helpful!
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Mon Sep 18, 2017 8:27 pm

Hi there. This plugin is just what i am after, is there anyway I can get hold of it now that Pode has gone? Thanks.
B
3
Posts: 1
Reputation: 177

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 0 guests