From bb28203f9ce952f34c0097ab0292aeae45b5fb69 Mon Sep 17 00:00:00 2001 From: Pavel fljot Date: Fri, 31 May 2013 15:42:05 +0300 Subject: [PATCH] Minor updates in readme --- README.textile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.textile b/README.textile index 22ce062..f9fbd0e 100644 --- a/README.textile +++ b/README.textile @@ -33,7 +33,7 @@ Features: h3. Getting Started -All gestures dispatch (if you listen) GestureEvent with the next types: +All gestures dispatch (if you listen to!) GestureEvent with the next types: GestureEvent.GESTURE_STATE_CHANGE GestureEvent.GESTURE_IDLE GestureEvent.GESTURE_POSSIBLE @@ -47,7 +47,7 @@ GestureEvent.GESTURE_BEGAN GestureEvent.GESTURE_CHANGED GestureEvent.GESTURE_ENDED -If you use a good IDE (such as Intellij IDEA, FDT, FlashDevelop, Flash Builder) you should see these events in autocompletion. +If you use a good IDE (such as IntelliJ IDEA, FDT, FlashDevelop, Flash Builder) you should see these events in autocompletion. Quick start:
var doubleTap:TapGesture = new TapGesture(myButton);
@@ -81,7 +81,7 @@ private function onFreeTransform(event:GestureEvent):void
 h3. Advanced usage: Starling, ...
 
 Recent changes made it possible to work with "Starling":http://www.starling-framework.org display list objects as well as any other display list hierarchical structures, e.g. other Stage3D frameworks that have display objects hierarchy like "ND2D":https://github.com/nulldesign/nd2d or even 3D libraries.
-In order to use Gestouch with Starling do the following:
+In order to use Gestouch with Starling all you need to do is a bit of bootstrapping:
 
starling = new Starling(MyStarlingRootClass, stage);
 /* setup & start your Starling instance here */
 
@@ -105,7 +105,7 @@ Gestouch.addTouchHitTester(new StarlingTouchHitTester(starling), -1);
 // your application lifetime.
 
-Now you can register gesture in familiar, exactly same way: +Now you can register gestures as usual:
var tap:TapGesture = new TapGesture(starlingSprite);
@@ -122,7 +122,7 @@ h3. Roadmap, TODOs h3. News * "Follow me on Twitter":http://twitter.com/fljot for latest updates -* Don't forget about "issues":https://github.com/fljot/Gestouch/issues section as good platform for discussions. +* Don't forget about "issues":https://github.com/fljot/Gestouch/issues section as a good platform for discussions.