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

figure-engine

v0.5.0

Published

A typescript open source 2D game engine for HTML5 games with the Canvas API

Downloads

99

Readme

This engine is a project that seeks to provide a simple way to start making 2D games in the Web environment using TypeScript/ JavaScript and HTML5.

The project is still in pre-release development and is not completely ready for use but its main purpose is to supply simplicity for starter game devs to learn about game development and start developing quickly with a robust documentation and tutorials to learn from while also making a nice environment to build quick prototypes or simple 2D games.

The development of this project started in 2024 as my thesis for a System Analysis and Development graduation, being an idea that I had in mind for quite some time.

The Figure Engine seeks to provide as its core only the basic features necessary for game development: things like importing resources, iterating the game frames, setting up the game display and such. That is aimmed to keep it simple and beginner friendly, but if you wish to build upon it feel free to do so, since it is an open source project.

One of the ideas of this engine is being typescript first, since that language delivers lots of Object Oriented programming features and typing functionalities, which are awesome features to use when making games.

Installing

Since the engine is published to NPM, it should be quite easy to install if you have that package manager with the command:

npm install --save-dev figure-engine

Obs: you will most likely install it as a dev dependency since it is used only to develop and build your game, but needs to be bundled in order to run on a browser.

As said in the blockquote, to run on the browser, your project will have to be bundled and to simplify that set up a utility to create a Figure Engine project is also planned to release.

How to use

A documentation for this engine is still in development.

Contributing

Contributing to this project isn't available yet as from its pre-release, but I plan to allow it once an official release is launched.

Original author

Daniel de Oliveira - @nadjiel