npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

sideral

v0.0.36

Published

A game engine framework in JavaScript

Downloads

57

Readme

Sideral JS

Stories in Ready Build Status Open Source Love License: GPL v3 Commitizen friendly

:rocket::construction: Project in construction :construction::rocket:

Sideral JS is the next generation of video-game framework with JavaScript. This framework is made to create a more complexe 2D game with all features needed like HUD, Event Manager, Map Editor, Quest manager, etc. It also provide complete library to make your game online.

What is inside this framework ?

  • A fast and lightweight library to build easily a complete game. It will embark all feature needed like HUD, Event, Map, Character, Input, etc.
  • A complete map editor to create a platform or a RPG game with a complete event system
  • A big feature to transform your game into a complete MMO with server calculation, data prediction, etc.
  • A new way to build your game with ES6

How does it works ?

More than just a framework, Sideral is a complete workspace with HUB and many features to improve your game development. It is separate into 3 features :

  • the library with all you need to develop your game
  • A second library for server side and transform your game into a complete MMO
  • A map editor to build your map in WYSIWYG
  • A hub which list all your games, and give quick access to all features listed above

Installation

At this time, it's preferable to use git and clone this repository like this :

git clone https://github.com/js-republic/sideral sideral

Your folder will be your workspaces to create project.

Usage

Core library

This is all the src you need to create your game. The library has theses classes :

Scene

A Scene is typically a canvas. A game can have multiple Scenes and it must have multiple Scenes.

Entity

An Entity is an object to be render in a Scene.

Engine

Engine is a singleton instance. The aim of this object is to loop and give information about FPS

Element

an Element is the superclass of this library. It provide lifecycle of each element such as initialize, update and render functions.

Component

a Component is a class which is not inherited from Element class because it doesnot have static lifecycle. A component must be composed by an Element and add additional instructions into Element's function such as update for example.

HUB

The HUB will be your best friend to develop your game. To run it, go into your workspace project and run :

yarn start

Now you can access to your main hub page at http://localhost:3000

With the HUB, you can :

  • See all your games stocked into the public/games folder
  • Create an empty game. It will be stocked into the public/games folder
  • Access to other features of Sideral

Contributing

See CONTRIBUTING.md to contribute to this project.

License

SGR project is a licensed under GNU General Public License v3.