_gesture.lua coming soon

I would love to be able to test out the library too! If you are looking for specifics, I’d do my best to provide it.

Response sent

Looks great! I’m just curious. What angle is acceptable when you define diagonal moves like “4”. Are we talking anything or near 45 degrees?

30 - 60 degrees = 45

thanks. so a star works but pentagon doesn’t :) 

i could get a pentagon to work. using my code “82467” would be the definition for a pentagon. although nothing is perfect. this would also define _<> something like this. kinda like you could take a wii controller and swing it like a bat or you could just flick your wrist and get the same result. i could adjust the code to detect more angles, which i had given consideration, but that would also make it harder to define gestures and harder to draw without any wobbling from one angle to the next.

This sounds amazing. I look forward to trying it once released. 

thx.

This looks very cool! When will it be available?

maybe this weekend i’ve put it to the side for a few days to work on my new class thats allows you to use the keyboard to control screen taps in the sim.

Er… I don’t get how you’re setting up the gestures. How are you defining what the gesture should be?

I mean with that first string.

  • C

Each number is a movement direction. Ex. 4 is down and right and 6 is down and left

Ah… I see.

Looks cool!

  • C

Thx
It’s surprised me how well it works

This just looks really cool. I’m really looking forward to getting my hands on this!

Thx

I have the privilege of being a tester for this amazing library. jstrahan has done a great job with the concept and implementation. It is very quick to get it going in your project and develop your gestures. It is a lot of fun working with it too! Can’t wait for its final release. Way to go!!!

Thx kana
Glad you’ve enjoyed testing it.
Got a couple more changes ima make tonite that should make it a little more accurate

Wow. talk about good timing. I’m brand new to Corona / Lua (well, to game programming in general) and was just wondering how to implement custom gestures for an idea I have for a game. (Later…first I need to get up to speed in Corona.) And now I see you have a library you are going to release for exactly that. This looks awesome! You should have a mailing list or something so interested people can know when they can get it. :slight_smile:

Cool!