Giter Site home page Giter Site logo

feathers's Introduction

Feathers

Built on Starling, the hardware accelerated 2D framework for Adobe AIR and Flash Player, Feathers offers a variety of robust user interface controls for apps and games. Developed by Josh Tynjala, Feathers was originally created to build UI for web and mobile games from Bowler Hat Games.

To get started, you might want to check out the API Documentation, the Wiki and the Examples.

Available Components

Feathers includes the following UI controls (in alphabetical order):

Button

A typical button control, with optional toggle support. Includes a label and an icon, both optional.

Callout

A pop-up container that points at (or calls out) a specific region of the application (typically, a specific control that triggered it).

Check

A typical checkbox control with a label and selection.

GroupedList

A hierarchical List-like control where items are divided into groups or sections, each with an optional header and an optional footer.

Label

A non-interactive text control. Uses bitmap fonts. A simplified replacement for starling.text.TextField that is built on FoxholeControl.

List

A touch-based, list control. Has elastic edges and you can "throw" it. Supports custom layouts (vertical by default) and custom item renderers (with a robust default renderer that can customize the label, icon, and an "accessory" view based on the item data).

PageIndicator

Displays a selected index, usually corresponding to a page index in another UI control, using a highlighted symbol.

PickerList

A control similar to a combo box. Appears as a button when closed. The list is displayed as a fullscreen overlay on top of the stage.

ProgressBar

Displays the progress of a task over time. Non-interactive.

Radio

A typical radio button control with a label and selection, where only one radio in a group may be selected at a time.

Screen

An abstract class for implementing a single screen within a menu developed with ScreenNavigator. Includes common helper functionality, including back/menu/search hardware key callbacks, calculating scale from original resolution to current stage size, and template functions for initialize, layout and destroy.

ScreenHeader

A header that displays a title along with a horizontal regions on the sides for additional UI controls. The left side is typically for navigation (to display a back button, for example) and the right for additional actions.

ScreenNavigator

A state machine for menu systems. Uses events (or as3-signals) to trigger navigation between screens or to call functions. Includes very simple dependency injection.

ScrollContainer

A container that supports scrolling and custom layouts. Some of Foxhole's provided layouts include VerticalLayout, HorizontalLayout, TiledRowsLayout and TiledColumnsLayout.

ScrollBar and SimpleScrollBar

Horizontal or vertical scroll bar controls. The full version has a thumb, track, and step buttons like traditional desktop scroll bars. The simple version has a thumb and an invisible track more like mobile touch scroll bars..

Slider

A typical horizontal or vertical slider control.

TabBar

A line of tabs, where one may be selected at a time.

TextInput

A text entry control that allows users to enter and edit a single line of uniformly-formatted text. Uses StageText to get the best text editing integration with the operating system.

ToggleSwitch

A sliding on/off switch. A common alternative to a checkbox in mobile environments.

Dependencies

The following external libraries are required. Other versions of the same library may work, but the version displayed below is the one currently recommended by the author.

Quick Links

Important Note

The core architecture and non-private APIs of Feathers are still under active design and development. Basically, for the time being, absolutely everything is subject to change, and updating to a new revision can often result in compiler errors caused by modified APIs. If something breaks in your app after you update to the latest revision, and you can't figure out the new way to do what you were doing before, please ask in the Feathers Forum over at the Starling Forums.

Tips

  • The components do not have default skins. However, feel free to try out one of the themes included with the Feathers Examples.

  • An Ant build script is included. Add a file called sdk.local.properties to override the location of the Flex SDK and build.local.properties to override the locations of the required third-party libraries.

feathers's People

Contributors

joshtynjala avatar osro avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.