fruta
v0.0.4
Published
Intuitive Video Game Library Aimed at HTML5 Development.
Downloads
6
Maintainers
Readme
Fruta 🍒 (Alpha) - Game Framework
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. 👽
UI Frameworks/Libraries Supported
License
This project was released under the MIT license