1.0.20 • Published 2 years ago

verne-engine v1.0.20

Weekly downloads
16
License
ISC
Repository
-
Last release
2 years ago

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

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.20

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago