Giter VIP home page Giter VIP logo

foxhole-starling's Introduction

Foxhole

Built on Starling for Adobe AIR and Flash Player, Foxhole consists of various UI controls designed for mobile, developed by Josh Tynjala. Foxhole's name comes from the fact that the author develops these components "under fire" for real projects, mostly games. Documentation is sparse. APIs may change completely and on a whim. They're not necessarily fully-featured. Use at your own risk.

Available Components

Foxhole includes The following UI controls:

Label

A single-line, non-interactive text control. Uses bitmap fonts.

Button

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

ToggleSwitch

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

Slider

A typical horizontal or vertical slider control.

List

A touch-based, vertical list control. Has elastic edges and you can "fling" it.

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.

Dependencies

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

Tips

At this time, the components do not have default skins. All skins need to be set manually, and you're likely to see runtime errors if certain skins are omitted.

In most cases any Starling display object is acceptable. However, the ToggleSwitch control requires the use of scrollRect, which isn't currently available in Starling. Subclasses of Sprite and Image are included with simple (but unoptimized) implementations of scrollRect.

Bitmap fonts are required for all text displayed in these UI controls. Use BitmapFontTextFormat to customize the text.

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.