Skip to content

Commit

Permalink
README: Haxelib before npm
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Nov 15, 2023
1 parent 68c8a96 commit 6c078c5
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,6 @@ While Starling mimics the classic display tree architecture of Adobe AIR/Flash,

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:

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

You can also try the Starling demo:

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

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

Getting Started (Haxelib)
-------------------------

Expand Down Expand Up @@ -64,6 +41,29 @@ cd demo
openfl test flash
```

Getting Started (NPM)
---------------------

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

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

You can also try the Starling demo:

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

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

Note about high-dpi support
---------------------------
Starling supports high-dpi devices such as 4K monitors
Expand Down

0 comments on commit 6c078c5

Please sign in to comment.