aframe-extras 0,1 travis-ci npm

:confetti_ball: Add-ons and helpers for A-Frame VR.

3 years after

A-Frame Extras

Build Status GitHub license

Add-ons and helpers for A-Frame VR.

Usage (Scripts)

In the dist/ folder, download any package(s) you need. Include the scripts on your page, and all components are automatically registered for you:

<script src="//cdn.rawgit.com/donmccurdy/aframe-extras/v2.6.0/dist/aframe-extras.min.js"></script>

CDN builds for aframe-extras/v2.6.0:

For partial builds, use a subpackage like aframe-extras.controls.min.js. Full list of packages below.

A-Frame Version Compatibility

A-Frame Extras
>= v0.3.0 aframe-extras/v2.6.0
< v0.2.0 */v1.17.0

Usage (NPM)

npm install --save aframe-extras
// custom-extras.js

var extras = require('aframe-extras');

// Register a single component.
AFRAME.registerComponent('checkpoint', extras.misc.checkpoint);

// Register a particular package, and its dependencies.
extras.controls.registerAll();

// Register everything.
extras.registerAll();

Once installed, you'll need to compile your JavaScript using something like Browserify or Webpack. Example:

npm install -g browserify
browserify custom-extras.js -o bundle.js

bundle.js may then be included in your page. See here for a better introduction to Browserify.

Add-ons

src
├── controls/ (Documentation)
│   ├── checkpoint-controls.js
│   ├── gamepad-controls.js
│   ├── hmd-controls.js
│   ├── keyboard-controls.js
│   ├── mouse-controls.js
│   ├── touch-controls.js
│   └── universal-controls.js
├── loaders/ (Documentation)
│   ├── ply-model.js
│   └── three-model.js
├── misc/ (Documentation)
│   ├── checkpoint.js
│   ├── grab.js                 New
│   ├── jump-ability.js
│   ├── kinematic-body.js       Experimental
│   ├── sphere-collider.js      New
│   └── toggle-velocity.js
├── physics/ (Moved to aframe-physics-system)
├── primitives/ (Documentation)
│   ├── a-grid.js
│   ├── a-ocean.js
│   └── a-tube.js
└── shadows/ (Documentation)    Experimental
    ├── shadow-light.js
    └── shadow.js

Related Repositories

aframe

aframe

:a: web framework for building virtual reality experiences. ...

MarqueeLabel

MarqueeLabel

A drop-in replacement for UILabel, which automatically adds a scrolling marquee ...

awesome-aframe

awesome-aframe

A collection of awesome things regarding the A-Frame ecosystem. ...

aframe-physics-components

aframe-physics-components

Physics components for A-Frame VR. ...

meteor-aframe

meteor-aframe

Create WebVR apps with A-Frame and Meteor ...


Top Contributors

donmccurdy msj121 ngokevin iandeboisblanc bryik cvan sgidon

Dependencies

package version
aframe-physics-system ^1.4.3
dev aframe >=0.5.0
browserify ^13.0.0
budo ^9.0.0
chai ^3.5.0
chai-shallow-deep-equal ^1.3.0
chalk ^1.1.1
envify ^4.0.0
fs-extra ^0.30.0
karma ^1.2.0
karma-browserify ^5.1.0
karma-chai-shallow-deep-equal 0.0.4
karma-chrome-launcher ^2.0.0
karma-env-preprocessor ^0.1.1
karma-firefox-launcher ^1.0.0
karma-mocha ^1.1.1
karma-mocha-reporter ^2.1.0
karma-sinon-chai ^1.1.0
live-server ^1.2.0
mocha ^3.0.2
replace ^0.3.0
sinon ^1.17.3
sinon-chai ^2.8.0
uglify-js ^2.6.2
watch-exec ^1.2.2
peer aframe >=0.5.0

Releases

-   v2.6.0 zip tar
-   v2.5.4 zip tar
-   v2.5.3 zip tar
-   v2.5.2 zip tar
-   v2.5.1 zip tar
-   v2.5.0 zip tar
-   v2.4.0 zip tar
-   v2.3.2 zip tar
-   v2.3.1 zip tar
-   v2.3.0 zip tar
-   v2.2.1 zip tar
-   v2.2.0 zip tar
-   v2.1.1 zip tar
-   v2.1.0 zip tar
-   v2.0.0 zip tar
-   v1.17.0 zip tar
-   v1.16.3 zip tar
-   v1.16.2 zip tar
-   v1.16.1 zip tar
-   v1.16.0 zip tar
-   v1.15.2 zip tar
-   v1.15.1 zip tar
-   v1.15.0 zip tar
-   v1.14.1 zip tar
-   v1.14.0 zip tar
-   v1.13.0 zip tar
-   v1.12.6 zip tar
-   v1.12.5 zip tar
-   v1.12.4 zip tar
-   v1.12.3 zip tar