verne-engine

1.0.20 • Public • Published

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);
    });


Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.200latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.200
1.0.190
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.100
1.0.91
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i verne-engine

Weekly Downloads

0

Version

1.0.20

License

ISC

Unpacked Size

1.45 MB

Total Files

19

Last publish

Collaborators

  • vernestudios