0.2.2 • Published 4 years ago

@outwalk/skylark v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Skylark

Skylark is a high performance 2D game engine, designed for building cross platform games.

Actions License Chat Server

Skylark is still in its early stages and the API is subject to change with any update until v1.0.0

More information, tests, and examples are coming soon!


Installation

Install using npm:

npm install --save @outwalk/skylark

Install using yarn:

yarn add @outwalk/skylark

You can learn the API by reading the documentation.


Getting Started

Skylark allows you to structure your game code however you like, but the easiest structure to get up and running with a proper game loop is using the Screen class.

Example:

/* create the initial game screen */
class Game extends Screen {

    async create() {

    }

    update() {

    }

    render() {

    }

    dispose() {

    }
}

/* start the game */
Screen.setScreen(new Game());

Screen.setScreen(screen); will run the screen's create method, call the update and render functions in the game loop, and when you change the screen again, the dispose method is called.


Building from source

To build the engine from source, follow these steps:

StepsCommand
Clone the repositorygit clone https://github.com/jleeson/skylark.git
Install the toolsnpm install
Build the projectnpm run build
Generate the docsnpm run docs

Why?

Skylark was developed to make cross platform game development easy without sacrificing performance. Skylark is built with an object oriented design to make the code structure up to the user. After using other JavaScript game engines, they felt very opinionated, and so I set out to develop Skylark with as little required structure as possible.


Support

Having trouble with Skylark? Create a new Issue or contact us on our website.


License

Skylark is licensed under the terms of the MIT license.

0.2.2

4 years ago

0.2.1

4 years ago

0.1.2

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago