This shows you the differences between two versions of the page.
unity_clock [2017/05/09 21:41] |
unity_clock [2017/05/09 21:44] |
||
---|---|---|---|
Line 23: | Line 23: | ||
* Create Bell Script | * Create Bell Script | ||
* Create Clock Script | * Create Clock Script | ||
+ | * Minute Hand Script | ||
+ | * Second Hand Script (Optional) | ||
+ | * Review | ||
===== Setup the Project ===== | ===== Setup the Project ===== | ||
Line 182: | Line 185: | ||
{{:hourhandsetup.png?600|}} | {{:hourhandsetup.png?600|}} | ||
- | ===== Second Hand Script (optional) ===== | + | ===== Second Hand Script (Optional) ===== |
If you would like to make the clock look like it has a good wind up (time keeping power), add this script to the SecondHand object: | If you would like to make the clock look like it has a good wind up (time keeping power), add this script to the SecondHand object: | ||
Line 198: | Line 201: | ||
} | } | ||
</code> | </code> | ||
+ | |||
+ | ===== Review ===== | ||
+ | In this tutorial we expanded on the knowledge gained in Tutorial #3 by manipulating on-screen bitmaps using gesture data obtained from GestureWorks. This tutorial covers a number of concepts that are central to the usage of GestureWorks: | ||
+ | |||
+ | * Fine tuned control over touchable objects | ||
+ | * Adding unique gestures to the registered touch objects | ||
+ | * Manipulating object instances based on data obtained from GestureWorks | ||
+ |