This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
users:shilo:extensions:shfingertrail [2011/11/10 01:02] – [Data entry] shilo | users:shilo:extensions:shfingertrail [2013/03/05 10:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== SHFingerTrail ====== | ||
+ | ---- dataentry extension ---- | ||
+ | type : extension | ||
+ | author_mail | ||
+ | description | ||
+ | lastupdate_dt : 2011-03-29 | ||
+ | compatible | ||
+ | depends | ||
+ | tags : finger, trail, particle | ||
+ | homepage_url | ||
+ | download_url | ||
+ | sample_url | ||
+ | ---- | ||
+ | ===== Description ===== | ||
+ | {{http:// | ||
+ | SHFingerTrail class will allow you to create finger trail effect with only a few lines of code. You can change the style, set the effect time, set the particle size. You can also set the inner and outer gradient color, or you can also set a solid color. You can also toggle " | ||
+ | ===== Sample ===== | ||
+ | [[http:// | ||
+ | * Project: [[http:// | ||
+ | * Screenshot: [[http:// | ||
+ | * Recording: [[http:// | ||
+ | |||
+ | ===== Example ===== | ||
+ | <code objc> | ||
+ | // | ||
+ | SHFingerTrail *fingerTrail = [SHFingerTrail fingerTrailWithTime: | ||
+ | |||
+ | //change the finger trail effect to bubbly | ||
+ | fingerTrail.style = SHFingerTrailStyleBubbly; | ||
+ | |||
+ | //add the finger trail to the stage | ||
+ | [self addChild: | ||
+ | </ | ||
+ | |||
+ | ===== Instructions ===== | ||
+ | ==== To add into your Sparrow project ==== | ||
+ | - Download the source files here: [[https:// | ||
+ | - Open your desired Sparrow project | ||
+ | - Drag and drop the files into the " | ||
+ | - Open " | ||
+ | - Include the extension: <code objc># | ||
+ | - Save " | ||
+ | |||
+ | ==== To add directly into Sparrow source ==== | ||
+ | - Download the source files here: [[https:// | ||
+ | - Save the files into Sparrow' | ||
+ | * Example: "/ | ||
+ | - Navigate back one directory and open " | ||
+ | * Example: "/ | ||
+ | - Inside the " | ||
+ | * Example: " | ||
+ | - Right click the " | ||
+ | - Navigate into the "/ | ||
+ | - On the next window, leave all options as default and click " | ||
+ | - In the " | ||
+ | * Example " | ||
+ | - At the bottom of the file, add: <code objc># | ||
+ | - Save " | ||
+ | - Close " | ||
+ | |||
+ | ===== Source Code ===== | ||
+ | %gist(893746)% | ||
+ | |||
+ | ===== Changelog ===== | ||
+ | * // | ||
+ | |||
+ | ===== Todo ===== | ||
+ | * Increase performance | ||
+ | * Add smooth style | ||
+ | * Add max finger limit | ||
+ | * Add SHFingerTrailEvent | ||
+ | |||
+ | ===== Special Thanks ===== | ||
+ | * Whoever would like to help me! |