# verne-engine

> A game framework for web VR games.

Latest version **1.0.20** (published 2022-01-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install verne-engine
pnpm add verne-engine
yarn add verne-engine
bun add verne-engine
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.20 |
| Published | 2022-01-14 |
| First published | 2021-01-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Esteban Devia Bedoya |
| Maintainers | vernestudios |
| Keywords | VR, Game, three.js, 3D |

## Links

- npm: https://www.npmjs.com/package/verne-engine
- npm.io page: https://npm.io/package/verne-engine

## Dependencies (1)

- [three](https://npm.io/package/three.md) ^0.136.0

## Recent versions

- 1.0.20 (latest) — 2022-01-14
- 1.0.19 — 2022-01-14
- 1.0.18 — 2022-01-14
- 1.0.17 — 2022-01-14
- 1.0.16 — 2022-01-14
- 1.0.15 — 2022-01-14
- 1.0.14 — 2022-01-14
- 1.0.13 — 2022-01-14
- 1.0.12 — 2022-01-14
- 1.0.10 — 2021-01-24
- 1.0.9 — 2021-01-24
- 1.0.8 — 2021-01-24
- 1.0.7 — 2021-01-23
- 1.0.6 — 2021-01-23
- 1.0.5 — 2021-01-23
- … 5 more at https://npm.io/package/verne-engine/versions

## README

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


```

---
_Source: https://npm.io/package/verne-engine · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
