- Notifications
You must be signed in to change notification settings - Fork108
Eva.js is a front-end game engine specifically for creating interactive game projects.
License
eva-engine/eva.js
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
English |Chinese
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!
You can find the Eva.js Documentation oneva.js.org, we appreciate your devotion by sending pull requests tothis repository.
Checking out theLive example.
npm i @eva/eva.js @eva/plugin-renderer @eva/plugin-renderer-img --save
<scriptsrc="https://unpkg.com/@eva/eva.js@1.0.4/dist/EVA.min.js"></script>
<canvasid="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,},]);constgame=newGame({systems:[newRendererSystem({canvas:document.querySelector('#canvas'),width:750,height:1000,}),newImgSystem(),],});constimage=newGameObject('image',{size:{width:750,height:1319},origin:{x:0,y:0},position:{x:0,y:-319,},anchor:{x:0,y:0,},});image.addComponent(newImg({resource:'imageName',}));game.scene.addChild(image);
For questions and support please useGitter orWeChat (微信) to scanthis QR Code.
Please make sure to read theIssue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.
release notes in documentation.
The Eva.js is released under the MIT license. SeeLICENSE file.
About
Eva.js is a front-end game engine specifically for creating interactive game projects.
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors10
Uh oh!
There was an error while loading.Please reload this page.
