Giter Site home page Giter Site logo

aframevr / a-saturday-night Goto Github PK

View Code? Open in Web Editor NEW
73.0 9.0 33.0 72.09 MB

๐Ÿ’ƒ๐Ÿผ Record and share your dance moves with motion capture in WebVR.

Home Page: https://aframe.io/a-saturday-night/

HTML 20.41% JavaScript 73.70% CSS 5.90%
webvr vr aframe

a-saturday-night's Introduction

A-Saturday-Night

A WebVR dancing experience using A-Frame by Mozilla VR.

Jump right in and read the introductory blog post.

Recording of A-Saturday-Night gameplay

Usage

Screenshot of A-Saturday-Night main menu

Local Development

git clone [email protected]:aframevr/a-saturday-night && cd a-saturday-night
npm install
npm start

Then, load http://localhost:8080 in your browser.

We are opened to new ideas and contributions, feel free to send a pull request with your A-Saturday-Night improvements.

a-saturday-night's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

a-saturday-night's Issues

app main behaviour

So, I think the correct flow for the app should be:

  1. Independent of if url is given or not, the first screen is showing the dance with lights and music.
  2. After 8 seconds the title and instructions appear (this is set in main.css:98).
  3. If the user enters VR, it is located in spectator mode, watching at the dance.
  4. In the stage (and/or attached to his controllers) the message "press trigger to record" is shown
  5. If user presses trigger, it enters state avatarSelection, and camera/head is positioned in center of stage.
  6. When the recording is finished, user is positioned in spectator mode, and can press trigger to start recording again (a message is shown also reminding him that the sharing url is available). Goto step 3.

check headset position in room

Trying in nightly (chromium crashes for me), the headset position is offset from 0,0,0. Restarting and refreshing the page does not fix it.

Uncaught TypeError: Cannot read property 'value' of undefined

After a while playing the recorded animation I get plenty errors like the following one:

Uncaught TypeError: Cannot read property 'value' of undefined
    at NewComponent.onButtonChanged (http://localhost:8080/vendor/aframe.js:64735:35)
    at HTMLElement.bound (http://localhost:8080/vendor/aframe.js:73583:17)
    at Object.module.exports.fireEvent (http://localhost:8080/vendor/aframe.js:73996:6)
    at http://localhost:8080/vendor/aframe.js:69421:24
    at Array.map (native)
    at HTMLElement.value (http://localhost:8080/vendor/aframe.js:69420:32)
    at NewComponent.playRecording (http://localhost:8080/vendor/motion-capture.js:1:6680)
    at NewComponent.tick (http://localhost:8080/vendor/motion-capture.js:1:6874)
    at http://localhost:8080/vendor/aframe.js:70708:21
    at Array.forEach (native)

add music

  • add music to all the introduction before the dancing
  • add music to the dancing

both musics should restart from the beginning when the dancing data is restarted

Can't record more than one dance

I enter VR I record a dance and then click again to select another avatar, choose the avatar and I can see just the new head in the mirror but I can't see my hands on the controller position or in the mirror.
/cc @dmarcos

Using latest aframe-master breaks the website

I tried using the latest version of aframe/master and the only object that is rendered is the dance floor (no animation). THREE.WebGLRenderer 87, no errors in the console.
This reproes both in MSEdge and Mozilla Firefox.

Can't select the bear avatar

I can select the rest of the avatars but as soon as I select the bear it just keeps highlighted and it doesn't do anything

reduce json size

by reducing length of attributes (position -> p), reducing the number of decimals, etc.

no way to personalize a saved dance

Once a dance is saved there is no way to know who recorded it. Since the persona are already predefined it makes the result a bit impersonal.

Instead of "Start" in a saved dance it could be replaced by "Name of the dance performed by nickname". It's a small difference but it could motivate people to share more.

doublesided screens

When you move around the scene it looks weird that the screens has no doublesided material
image

Using `master` or `gh-pages` branch?

@fernandojsg: I noticed for A-Blast, and it looks like too now for A Saturday Night, you're using master as the GH Pages branch. Is that supposed to be the case for ASN too? Because if so, need to change that from Settings and delete the gh-pages branch here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.