All Projects → eva-engine → eva.js

eva-engine / eva.js

Licence: MIT License
Eva.js is a front-end game engine specifically for creating interactive game projects.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to eva.js

Ct Js
Ct.js is a desktop game engine that makes learning programming fun and game development easy by its visual editors and well-documented code library
Stars: ✭ 831 (-43.39%)
Mutual labels:  game-engine, pixijs
fe-notes
🍎个人前端知识汇总,并且处于持续更新中。 This is a summary of personal front-end knowledge, and will be updated from time to time.
Stars: ✭ 68 (-95.37%)
Mutual labels:  front-end
TIGER
implement a full compiler based on c++ 11
Stars: ✭ 17 (-98.84%)
Mutual labels:  front-end
Repository-Collection
A collection of useful Github repositories. Github项目精选。
Stars: ✭ 14 (-99.05%)
Mutual labels:  front-end
muilessium
UI Framework for simple websites - landings, blogs, etc.
Stars: ✭ 16 (-98.91%)
Mutual labels:  front-end
epic-react-exercises
Practical React exercises with detailed solutions.
Stars: ✭ 126 (-91.42%)
Mutual labels:  front-end
englishextra.github.io
English Grammar for Russian-Speakers, a PWA website + SPA
Stars: ✭ 19 (-98.71%)
Mutual labels:  front-end
CLUSEK-RT
Vulkan based C++ ray-tracing game engine.
Stars: ✭ 24 (-98.37%)
Mutual labels:  game-engine
preset-tailwindcss
DEPRECATED: Statamic 3 starts with TailwindCSS out of the box.
Stars: ✭ 23 (-98.43%)
Mutual labels:  front-end
parcel-static-template
Start a simple static site with components and hot reloading.
Stars: ✭ 20 (-98.64%)
Mutual labels:  front-end
mnimi
🎲 Mnimi (A Game of Memory Skill)
Stars: ✭ 15 (-98.98%)
Mutual labels:  front-end
single-spa-svelte
a single-spa plugin for svelte applications
Stars: ✭ 17 (-98.84%)
Mutual labels:  front-end
Website-Cloner
It allows you to download a website from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer.
Stars: ✭ 118 (-91.96%)
Mutual labels:  front-end
meta2d
Meta2D is open source WebGL 2D game engine for making cross platform games.
Stars: ✭ 33 (-97.75%)
Mutual labels:  game-engine
3D-Engine-OpenGL-4
3D Graphics Engine For Games | C++ OpenGL 4.1
Stars: ✭ 19 (-98.71%)
Mutual labels:  game-engine
lightsout
🎲 Lights Out Game
Stars: ✭ 23 (-98.43%)
Mutual labels:  front-end
visual-ts-game-engine
Typescript project based on matter.ts implementation."This version 2 of visualjs game engine, totally different approach. Whole project is based fully dependency build. Main file is app.ts and ioc.ts. Class ioc saves singleton instances also bind. In this project html and css is also present, webpack helps and handle this type of files. GamePlay…
Stars: ✭ 15 (-98.98%)
Mutual labels:  game-engine
YokosukaJS
A functional programming-style beat-em-up game engine written in javascript
Stars: ✭ 18 (-98.77%)
Mutual labels:  game-engine
panic-panda
A 3D rendering demo powered by Python and Vulkan
Stars: ✭ 67 (-95.44%)
Mutual labels:  game-engine
scion
Scion is a tiny 2D game engine built on top of wgpu, winit and legion, following the KISS principle.
Stars: ✭ 87 (-94.07%)
Mutual labels:  game-engine

Eva.js (Interactive Game Engine)

Eva.js logo

npm-version npm-size npm-download

English | Chinese

Introduction

Eva.js is a front-end game engine specifically for creating interactive game projects.

Easy to Use: Eva.js provides out-of-box game components for developers to use right away. Yes, it's simple and elegant!

High-performance: Eva.js is powered by efficient runtime and rendering pipeline (Pixi.JS) which makes it possible to unleash the full potential of your device.

Scalability: Thanks to the ECS(Entity-Component-System) structure, you can expand your needs by highly customizable APIs. The only limitation is your imagination!

Documentation

You can find the Eva.js Documentation on eva.js.org, we appreciate your devotion by sending pull requests to this repository.

Checking out the Live example.

Usage

With NPM

npm i @eva/eva.js @eva/plugin-renderer @eva/plugin-renderer-img --save

In Browser

<script src="https://unpkg.com/@eva/[email protected]/dist/EVA.min.js"></script>

Example

<canvas id="canvas" ></canvas>
import { Game, GameObject, resource, RESOURCE_TYPE } from '@eva/eva.js';
import { RendererSystem } from '@eva/plugin-renderer';
import { Img, ImgSystem } from '@eva/plugin-renderer-img';

resource.addResource([
  {
    name: 'imageName',
    type: RESOURCE_TYPE.IMAGE,
    src: {
      image: {
        type: 'png',
        url:
          'https://gw.alicdn.com/tfs/TB1DNzoOvb2gK0jSZK9XXaEgFXa-658-1152.webp',
      },
    },
    preload: true,
  },
]);

const game = new Game({
  systems: [
    new RendererSystem({
      canvas: document.querySelector('#canvas'),
      width: 750,
      height: 1000,
    }),
    new ImgSystem(),
  ],
});

const image = new GameObject('image', {
  size: { width: 750, height: 1319 },
  origin: { x: 0, y: 0 },
  position: {
    x: 0,
    y: -319,
  },
  anchor: {
    x: 0,
    y: 0,
  },
});

image.addComponent(
  new Img({
    resource: 'imageName',
  })
);

game.scene.addChild(image);

Questions

For questions and support please use Gitter or WeChat (微信) to scan this QR Code.

Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Changelog

release notes in documentation.

Contribute

How to Contribute

License

The Eva.js is released under the MIT license. See LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].