logo
down
shadow

LUA QUESTIONS

Detect Multiple Touch
Detect Multiple Touch
this will help Seems you're ignoring event.id field, that's why you have multiple touches behavior mixed up.Track each new touch by storing it in some list when you get began phase. Include touch initial coords (your pX goes there) and anything else
TAG : lua
Date : November 11 2020, 11:01 PM , By : KarthiK
LPeg Pattern which matches strings without consecutive hypens
LPeg Pattern which matches strings without consecutive hypens
like below fixes the issue In your pattern letter * ((dash^-1) * alphanum)^0, lpeg will try to match against the prefix of the string. For cases where you didn't expect a match
TAG : lua
Date : November 07 2020, 11:01 PM , By : user6060598
Extracting number from string using lua
Extracting number from string using lua
hope this fix your issue I have the following string as an input: , You may extract the number in various ways:
TAG : lua
Date : October 21 2020, 01:08 AM , By : Anaya Ali
shadow
Privacy Policy - Terms - Contact Us © soohba.com