shoebox / hypertouch Goto Github PK
View Code? Open in Web Editor NEWHaxe NME Native Extension for Gesture in Android & iOS
Haxe NME Native Extension for Gesture in Android & iOS
didn't found another tracker so i post here :
1- Whence return type is not specified, the lib should throw a compile error,
we preferre to ignore by adding:
static private function _get_package_return_type( t : ComplexType ) : String{
if ( t == null )
return 'Void';
but it must be better to send error
2- whence porting to haxe3 it shows there are many unmatched switch, they should send back null and we have the feeling it should sometime get processed :)
Good work anyway !
../../../../extensions/HyperTouch/src/fr/hyperfiction/hypertouch/gestures/GestureSwipe.hx:80: characters 4-38 : fr.hyperfiction.hypertouch.#HyperTouch has no field onTransformGesture
did I miss something?
PS.
ok, I found the answer.
HyperTouch.onTransformGesture.emit( ev );
stage_emit( ev );
Hi, just tried to switch to openfl 1.2.2 and hypertouch does not work anymore.
Seems you cannot rely on GameActivity for handling events : symbol org.haxe.nme.GameActivity does not exist anymore.
I saw that you were "Waiting for the GLSurfaceView reinitialization" so maybe with openfl / lime it is doable?
Hey again,
I noticed that issue today on Android.
I've managed to solve this by making the Java View listener to consume the event (returning true when there's an emit, at onTouch, onDoubleTap, onSingleTap).
I can provide the change if you confirm the problem.
When I'm adding the to the .nmml file and running:
openfl test android
I'm getting the error:
Error: Could not find include file ""
Hello,
It seams that the so file is still referencing to the old "org.haxe.nme" instead of lime.
I get errors like below.
How can I generate a new so file?
Thanks
-compile:
[javac] Compiling 13 source files to D:\Haxeflixel\Gestures\Project Jumper_gestures2\export\android\bin\bin\classes
[javac] D:\Haxeflixel\Gestures\Project Jumper_gestures2\export\android\bin\src\fr\hyperfiction\hypertouch
\HyperTouch.java:10: error: package org.haxe.nme does not exist
xcode show the error.
ld: library not found for -lhypertouch
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I did "include" in the nmml file.
Project Folder
|__project.nmml
|__extensions
Hi,
I'm currently testing your great gesture lib, but I encounter a problem with Pan on Android (haven't tested ios yet).
As soon as I try to listen to a pan event, the android app just kill itself after a black screen.
"xxxMyAppNamexxx s'est arrété"
I'm wondering if you can reproduce that error, or if you have an idea about where to look.
I'm currently looking after the Java code and checking if it might be a JNI issue.
Best
Thomas
Gesure are not reenabled after an activity switch.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.