Warning: Creating default object from empty value in /home/flexwiz/public_html/blog/wp-content/themes/precisio/functions/admin-hooks.php on line 160

Spotlight effect in Starling

The problem: in your Starling app, you need to display your main screen as usual, but with a circular spotlight over it, while the rest of the screen is darkened. This is usually done to highlight an element and direct the user to tap it. Here I will show how to create the ‘spotlight’ effect in […]

Read full story 0 Comments

AnimSprite for Starling: a better MovieClip alternative

About a year ago I posted here about character animation with sprite sheets, including sample code that included the AnimSprite class. Lately all of my projects are using Starling. As a new framework, I half expected Starling to drop legacy classes that are not useful anymore – but for some reason they carried over MovieClip with its antiquated interface. To be sure, […]

Read full story 1 Comment

Tip: How to Take a Screenshot in Starling

Developers that are used to Flash take it for granted that bitmaps can be accessed since a Bitmap display objects has a bitmapData readily available. In Starling, however, that is not the case. Starling images are using textures to hold the pixel data, and Stage3D textures live exclusively in the GPU memory (or Video RAM) […]

Read full story 5 Comments

Practical use of Starling + ANE in a mobile game Project

I Recently completed and deployed Magic Slots, a mobile game for iOS and Android platforms. Following is  a mini post-mortem  of this mobile project that was made with AIR using Starling and ANE. While having plenty of mileage with AIR, I had very little prior experience with Starling.  I did experiment with starling for a while, but […]

Read full story 2 Comments