Neatly Punctuated Musings
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    voxel-portal-gunpublic

    voxel-portal-gun

    A portal gun. Shoot portals and jump through them. Made using @substack's voxel-portal.

    example

    View this example

    // Create a portal gun by giving it a copy of the game 
    var shoot = require('voxel-portal-gun')(game);
     
    // on mouseup, shoot a portal 
    window.addEventListener('mouseup', shoot.bind(this), false);

    install

    With npm do:

    npm install voxel-portal-gun

    Use browserify to require('voxel-portal-gun').

    release history

    • 0.1.1 - fix the spherical coordinates
    • 0.1.0 - initial release

    license

    Copyright (c) 2013 Kyle Robinson Young
    Licensed under the MIT license.

    Keywords

    none

    install

    npm i voxel-portal-gun

    Downloadslast 7 days

    3

    version

    0.1.1

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar