0.0.4 • Published 11 months ago

fruta v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Fruta 🍒 (Alpha) - Game Framework npm version NPM License

FrutaJs is a 2D game engine based on Canvas and WebGL that allows you to create animations, dynamic elements, and video games. Its main objective is to provide an easy-to-understand and dynamic syntax, which helps people to easily enter the world of development.

The idea behind FrutaJs is to provide an additional layer on top of the existing functionalities of Canvas and WebGL, making it easier to use and allowing developers to focus on creating games and animations without having to deal with the technical complexity of these underlying technologies.

Warning

We are still working on many of the features that are still missing, such as animations, UI, gravity, etc. So please do not consider this as a complete version because it is not

Install

npm i fruta

Usage

import Fruta from "fruta"

const config = {
  scene: {
    w: 500,
    h: 500,
    id: 'main',
  },
}

const { FontCreator, ShapeCreator, Game } = Fruta(config)

// Code :)

Current Short Doc

The documentation I have to offer is somewhat early, basically explaining the return of each wrapper made for each method in the canvas.

It also includes examples where you can understand why things were done the way they were, even though we still need to continue improving what we have. 👽

Shape, Font and Image Methods

UI Frameworks/Libraries Supported

License

This project was released under the MIT license

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago