1.0.20 • Published 3 years ago
verne-engine v1.0.20
What is this?
This is a Javascript game framwork that helps us creating 3D VR Web games. It uses three.js for the 3D rendering.
Installation
npm i verne-engine --save
Instructions
import { APP } from "verne-engine";
let player = new APP.Player();
player.load(scene);
player.setSize(window.innerWidth, window.innerHeight);
player.onGameStart(GamePlay); //use this hook to pass a function and programm the game.
player.play();
document.querySelector("#App").appendChild(player.dom);
window.addEventListener("resize", function () {
player.setSize(window.innerWidth, window.innerHeight);
});
1.0.19
3 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.20
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago