rbaskam / headtrackerUfoGame

Basic Vue Js Component with Headtrackr and a small game

Home Page:https://www.robert-askam.co.uk/games/game/headtrackr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UFO Game using HeaderTrackr.js to control it

A Vue Component that can be used to play a game using head movement from your webcam

Getting Started

This requires the package headtrackr.js https://github.com/auduno/headtrackr

Prerequisites

Install HeadTrackr

npm install headtrackr

In your bootstrap.js file add

window.headtrackr = require('headtrackr')

Set up your app.js

Vue.component('headtrackr', require('./components/Headtrackr.vue'));

Download the component and add it to the resources/assets/js/components folder. Add the following to your View

<headtrackr></headtrackr>   

About

Basic Vue Js Component with Headtrackr and a small game

https://www.robert-askam.co.uk/games/game/headtrackr


Languages

Language:Vue 100.0%