HTML, CSS : Force verticle scroll bars

Pages with varied content on different pages can often experience ‘content jumps’. This happens as the browser decides to add or remove the scroll bars, causing page content to move the width of the scroll bars. An unsightly event… The fastest way to stop this behavior is to force scroll bars to always be present. Read [...]

By |2013-03-24T02:29:07+00:00March 24th, 2013|Categories: Uncategorized|0 Comments

Drop Shadow Filter with Starling Framework

With starling v1.3 came the introduction of filters. In this post i will show how to use the DropShadow filter. the fiilter takes 6 Parameters: Distance, angle, colour, alpha, blur, resolution. Make sure you download the latest version of starling and add it to your project // import the filter import starling.filters.BlurFilter; //apply it [...]

By |2013-03-16T00:52:26+00:00March 13th, 2013|Categories: Game Development|2 Comments

Generate Dynamic Sprite Sheets at run-time for Starling

If you are new to starling and just learning the ropes, you have likely gone through some of the well known tutorials for the framework including the fantastic series from Adobe's Hermanth Sharma. They all demonstrate the use of Texture Packer or Flash CS6 to generate sprite sheets which are later embeded into your project. This [...]

By |2013-02-14T12:27:23+00:00February 14th, 2013|Categories: Game Development|0 Comments

As3 Signals

//declare the signal private var _sigSomthingHappened= new Signal(); // optional Data type for explicit coding incase you // want to pass along a specific argument with the signal when its dispatched // you can use any data type Strings, ints, numbers, value objects etc. private var _sigSomthingHappened= new Signal(String); //DISPATCH _sigSomthingHappened.dispatch(); [...]

By |2013-02-10T04:23:09+00:00February 10th, 2013|Categories: Uncategorized|0 Comments

List of screen resolutions and DPI/PPI for popular mobile devices

In this post I am showing a list screen resolutions for popular devices, this list will grow and shrink as time goes by based on device popularity. You will find that most devices fall into a common resolution group, ie many android devices of 2010-2012 had a device res of 800×480 pixels, then in 2012+ they [...]

By |2013-02-06T13:21:23+00:00February 6th, 2013|Categories: Game Development, Uncategorized|1 Comment

Virtual Joystick for mobile games using AS3

There are several joystick scripts going around, however the few I stumbled upon had limited control sensitivity. A virtual analog controller should allow full 360 degree control (even if limited to certain directions within game-play, the system should allow for expansion/re-use), and MUST enable movement sensitivity (the character should move with a relative speed to the [...]

By |2014-07-07T14:40:21+00:00January 13th, 2013|Categories: Game Development|13 Comments

Keyboard controls for game character with AS3

Below is the keyboard class i use when building any flash projects which require keyboard controls. Over my years as an as3 developer I have seen many different implementations of the simple character movement code. I often see people attaching the character movement script directly to the event handlers; that is not a good idea, as [...]

By |2013-01-12T20:47:24+00:00January 12th, 2013|Categories: Game Development|2 Comments

This Is A Custom Widget

This Sliding Bar can be switched on or off in theme options, and can take any widget you throw at it or even fill it with your custom HTML Code. Its perfect for grabbing the attention of your viewers. Choose between 1, 2, 3 or 4 columns, set the background color, widget divider color, activate transparency, a top border or fully disable it on desktop and mobile.