Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

IbrahimFadel/rorkejs

Repository files navigation

RorkeJS

This is a simple game framework inspired by Phaser. It uses the Pixi WebGL renderer to make browser games.

Usage

Using this framework is pretty simple. Essentially there are three stages to the game: load, create, and update. Load runs once at the start of the game, use it to load assets like spritesheets and textures. Create runs once, right after load. Update gets called every frame.

Check out game.js in this repository for an example of a simple game made with this framework.

Here's how you initialize your game. You can specify the canvas size, background color, and the functions to run for each three stages (in this case, i just kept them as load, create, and update).

const game = new Rorke(768, 758, [0, 0, 0], {
	load,
	create,
	update,
});
game.init();

About

A game framework made with PixiJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published