Interface

Endless Parallax Scrolling

This is a parallax star field scrolling effect. It gives the illusion of moving through 3d space. This effect endless and will continue scrolling forever.

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , , ,

Dynamic Tooltip

Tuesday, July 14th, 2009 | Game Examples AS2, Interface | 10 Comments

This is a dynamic tooltip window script that sizes and positions itself based on tooltip content size and location on the screen. It calculates it’s own size and current location, and if outside of the stage, reposition itself to remain always visible.

Download Fla Sample

Download Fla Sample

Tags: , , , , ,

UI - Smooth Window Resize, Move and Hide

Sunday, January 25th, 2009 | Game Examples AS2, Interface | 6 Comments

As the title says, this is a smooth window resizing, moving and hiding script. Easing animation with ActionScript.

Perfect for when you need a dynamic interface and don’t want to use the timeline to animate it.

Preview

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , , , ,

Drag Drop & Snap Inventory System v2

Monday, November 3rd, 2008 | Game Examples AS2, Interface | 3 Comments

Drag, drop and snap inventory system for Flash games written in ActionScript 2.0.

I updated the previous version of my drag drop and snap inventory system to make it easier to understand. Added the ability to create new dragable items as objects. Also cleaned up & commented all the code.

Features

  • Slots Array
  • Create new Draggable Items
  • Drag & Drop Items
  • Dropped Items snap to Slot
  • Each Item stores Slot info
  • Each Slot stores Item info
  • Return to previous position if current slot is full

Drag, Drop & Snap Inventory System Sample v2

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , , , , , , ,

Game Engine - Minimap & Radar

Monday, November 3rd, 2008 | Game Examples AS2, Interface | 1 Comment

This script shows you how to create a game mini-map or radar for your Flash games using ActionScript 2.0.

How this works:
The mini map is 25% scale of the actual map so we multiply the current minimap player position by 0.25 to get the 25% scale position.

Equation:
minimap.player._x = map.player._x * 0.25

Game Engine - Minimap & Radar

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , , , , ,

Drag Drop & Snap Inventory System

Saturday, August 23rd, 2008 | Game Examples AS2, Interface | No Comments

Update 11/03/08
Please see http://www.freeactionscript.com/2008/11/drag-drop-snap-inventory-system-v2/ for the latest version of the Drag Drop and Snap Inventory system.

Here is a prototype of my ActionScript 2.0 drag, drop and snap inventory system for flash games.

Drag, Drop & Snap Inventory System Sample

Download Fla Sample

Download Fla Sample

Tags: , , , , , , , , , , , , , , ,