GithubHelp home page GithubHelp logo

bhanditz / starling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openfl/starling

0.0 2.0 0.0 19.42 MB

The "Cross-Platform Game Engine", a popular Stage3D framework

License: Other

Haxe 91.38% ActionScript 7.43% JavaScript 1.20% TypeScript 0.01%

starling's Introduction

Simplified BSD License NPM Version Haxelib Version Build Status

Starling Framework

The Cross Platform Game Engine

The Starling Framework allows you to create hardware accelerated apps in ActionScript 3, Haxe, TypeScript or JavaScript. The main target is the creation of 2D games, but Starling may be used for any graphical application. Thanks to Adobe AIR, Starling-based applications can be deployed to mobile devices (iOS, Android), the desktop (Windows, OS X), and to the browser (via the Flash plugin).

You can also pair Starling with OpenFL to deploy native builds for iOS, Android, Windows, OS X, Linux or WebAssembly, as well as Flash/AIR or regular HTML5 releases without WebAssembly. HTML5 support is available in TypeScript, Haxe, ES5 JavaScript or ES6+ JavaScript.

While Starling mimics the classic display tree architecture of Adobe AIR/Flash, it provides much better performance than the Adobe version: all objects are rendered directly by the GPU (using the Stage3D API). When paired with OpenFL, Starling provides an alternative GPU renderer with helpful features. The complete architecture was designed for working well with the GPU; common game development tasks were built right into its core. Starling hides Stage3D internals from developers, but makes it easy to access them for those who need full performance and flexibility.

Starling aims to be as lightweight and easy to use as possible. As an open-source project, much care was taken to make the source code easy to read, understand and extend. With under 15k lines of code, experienced developers can easily grasp it in its entirety, or modify it to their needs.

Getting Started (NPM)

You can install the Yeoman generator to create an empty project:

npm install -g yo starling-framework-generator
mkdir StarlingProject
cd StarlingProject
yo starling-framework

You can also try the Starling demo:

git clone https://github.com/openfl/starling
cd starling/samples/demo_npm/typescript
npm install
npm start -s

There are ES5, ES6, Haxe and TypeScript versions of the demo available.

Getting Started (Haxelib)

You can easily install Starling using haxelib:

haxelib install starling

To add it to an OpenFL project, add this to your project file:

<haxelib name="starling" />

You can also create a new empty project like this:

openfl create starling:project StarlingProject

You can also try the Starling demo:

openfl create starling:demo
cd demo
openfl test flash

Quick Links (AS3)

News and Updates

starling's People

Contributors

jgranick avatar vroad avatar valr2 avatar tbyrne-imag avatar doppp avatar matsefr avatar astrocreep avatar hklindworth avatar chatziko avatar terrycavanagh avatar gitter-badger avatar

Watchers

James Cloos 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.