These extensions are created by Shilo.
An extension consists of one or more classes you can add to your game to enhance its functionality. Most of my extensions will have a prefix of “SH”, which is short for my name, “Shilo”.
Name | Description | ↑ Tags | Compatible with |
---|---|---|---|
SPTween+RepeatValues | A category for Sparrow that allows setting the repeat total time and repeat start values of properties. | tween, repeat, start | v2.0 |
SHThumbstick | A robust thumbstick. | thumbstick, joystick, joypad, dpad, controller | v2.X |
SPTexture+Line | A category for Sparrow that draws rounded lines via SPTexture and Core Graphics. | texture, line, round | v2.0 |
SPTextField+Justify | A category for Sparrow 2.X that allows a bitmap SPTextField to justify align. | text, textfield, justify, justified, justification | v2.X |
SPDisplayObject+Snapshot | An extension that takes advantage of GLKView's snapshot method to create UIImages of specific display objects. | snapshot, image, screenshot | v2.0 |
SPStage+Transparency | An extension for Sparrow 2.0 to render the stage background transparent and non-opaque, allowing interactions with UIKit elements behind the Sparrow view. | rotation, uiview | v2.0 |
UIView+Additions | A simple category that allows one to easily set/get UIView rotation. | rotation, uiview | v2.0 |
UIImage+Additions | A UIImage category that will replace or remove colors. This allows multiple colors to be changed on a single image, until it has alpha values. | replace, remove, image, uiimage | v2.0 |
SPQuad+ColorComponents | A category for Sparrow 2.X that allows a SPQuad (or subclass) to get/set red, green, and blue color components. | quad, image, color, red, green, blue | v2.X |
SHPolygon | A Sparrow 2.X extension for polygon shapes and polygon-shaped images. | polygon, shape, image, texture | v2.0 |
SPDisplayObject+Image | A category for Sparrow 2.X that allows a SPDisplayObject to be dynamically converted to a UIImage. | object, image, spdisplayobject, uiimage | v2.X |
SHShakeEvent | A Sparrow 2.x extension for handling shake/motion events. | motion, shake, event | v2.X |
MemoryManager | A simple static class to output semi-accurate memory usage and free memory during runtime. | memory, usage, free | v2.0 |
NSObject+AssociatedValues | A simple Objective-C wrapper that allows easier use of Associated Objects. | associative, associated, objects, nsobject, runtime | v2.0 |
SHAnimatableColor | A simple animatable color extension for Sparrow. | animate, color, animatable color | v2.X |
XDSpinner | An extension that allows highly customizable activity indicators. | Spinner, Activity, Indicator | v2.0 |
NSString+Spacing | A NSString category that allows spacing between characters. | NSString, string, spacing | v2.0 |
XDImage | An extension for Sparrow that allows 9-slice scaling of images and buttons. | 9-slice, slice, scale, scaling, image, button | v2.0 |
Name | Description | ↑ Tags | Compatible with |
---|---|---|---|
SHAlphaTexture | An extension for Sparrow that allows alpha handing of texture-based objects. | texture, image, button, alpha, touch | v1.X |
SHSwipeEvent | A simple swipe event. | swipe, event, swipeevent | v1.X |
SHSplashScreen | A simple splash screen. | splash, splashscreen, advertisement, logo | v1.X |
SHShakeEvent | A simple shake event. | shake, event, shakeevent | v1.X |
SPTextField+Shadow | A category for Sparrow that allows shadows on a SPTextField. | shadow, drop shadow, text, sptextfield | v1.X |
SPTexture+Additions | A SPTexture category for Sparrow that will replace or remove colors. | replace, remove, color, sptexture | v1.X |
SHPolygon (OLD VERSION) | A simple customizable polygon. | polygon, shape, primitive | v1.X |
SHPinchEvent | A simple pinch event. | pinch, event, pinchevent | v1.X |
SHOverflowTextField | A simple overflow text extension for Sparrow. | overflow, text, sptextfield | v1.X |
OrientatedViewController | A UIViewController subclass that allows one to easily set the allowed orientations and content orientation. | orientation, uiviewcontroller | v1.X |
SPDisplayObject+Image | A category for Sparrow that allows a SPDisplayObject to be dynamically converted to a UIImage. | object, image, spdisplayobject, uiimage | v1.X |
SHMotionBlurSprite | A simple sprite with a motion blur effect. | motion, blur, sprite | v1.X |
SPDisplayObject+Loopability | A simple category for Sparrow that allows one to change the loopability of a SPDisplayObject. | loop, loopable, loopability, spdisplayobject, enterframeevent | v1.X |
SHLine | A simple customizable line. | line, primitive | v1.X |
Sparrow+SupportPadResolution | A Sparrow category that allows support for iPad resolution. | ipad, resolution, texture, hd | v1.X |
SHFingerTrail | A simple finger trail. (testing phase) | finger, trail, particle | v1.X |
SPRenderTexture+Erase | A category for Sparrow that allows erasing of a SPRenderTexture. | erase, render, texture, sprendertexture | v1.X |
SHClippedSprite | A simple clipped sprite. | clip, sprite, clippedsprite | v1.X |
SHCircle | A simple customizable circle. | circle, primitive | v1.X |
SHBlendModes | A category that allows blend modes via presets or custom blends. | blend, blending, mode, blend mode | v1.X |
SPTextField+AutoSize | A simple category for Sparrow that allows one to auto size an SPTextField. | auto, size, text, sptextfield | v1.X |
A mod works similar to an extension, but requires you to make changes to the Sparrow source code. It might become an extension if the source code changes get integrated into Sparrow. Use them with care!
Name | Description | ↑ Tags | Compatible with |
---|---|---|---|
Nothing found |
The following resources are not provided by Gamua or Daniel. They are primarily provided as a starting point for learning the internals of Sparrow and should be used with caution. If you need any support on the forums, please mention that you are using the following resource.