background preloader

Mobile

Facebook Twitter

Onebyoneblog » Filters in Starling. Just in case you happened to miss it, the most recent version of the Starling Framework (the one which you can pull from Github, that is) now supports custom filters.

onebyoneblog » Filters in Starling

You can check out the official announcement here. Using filters in Starling couldn’t be easier – you just assign a filter to the filter property of any Starling DisplayObject, like so: myStarlingMovieclip.filter = myStarlingFilter; Creating your own filters is also pretty easy – assuming, that is, you have a moderate handle on AGAL and can write a decent fragment shader. To do so, just extend the FragmentFilter class and in the createPrograms method drop in your own fragment shader. In the activate method, you can upload whatever constants the shader requires to the Context3D instance (which is accessible as the variable ‘context’). Fljot/Gestouch.

Gestouch — multitouch gestures for Starling and classic DisplayList « Starling Forum. Touch Events and Gestures on Mobile. When using touch events, consider the size of a finger/thumb.

Touch Events and Gestures on Mobile

Gone are the days of the simple mouse click when it comes to mobile devices. In fact, there’s a lot of really cool touch events and gestures that can really extend the functionality of any app. Touch Events vs. Gestures So what’s the difference between touch events and gestures? Multitouch and gesture support on the Flash Platform. All multitouch and gesture interactions start with the Multitouch class.

Multitouch and gesture support on the Flash Platform

It contains several important properties necessary for authoring a multitouch or gesture-enabled application. Discovering support Before registering for any multitouch or gesture events, it's a good idea to use the Multitouch.supportsGestureEvents and the Multitouch.supportsTouchEvents properties in order to determine whether or not the device on which your content is running supports the types of events that your application needs. Mobile Development.