Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
charliegerard committed Jun 30, 2019
1 parent e35f198 commit 7f41d11
Show file tree
Hide file tree
Showing 36 changed files with 927 additions and 627 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.DS_Store
.DS_Store
node_modules/
package-lock.json
1 change: 1 addition & 0 deletions .nowignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
674 changes: 674 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

52 changes: 34 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,34 @@
# HVBRD

Interactive experiment connecting a Daydream controller to the web to provide some kind of digital hoverboard experience.

# To do:

- [x] Fix color of the terrain
- [x] Fix color of the background with missing sun
- [x] Add score
- [x] Make terrain move only after game has started
- [x] Add music
- [x] Check 3D model for hoverboard
- [x] Style obstacles
- [x] Replace cube with skateboard
- [x] Style sky
- [x] Add postprocessing effect on collision
- [] Find a way to fade out the sound before the end
- [] Fix score
# HVBRD (v2 with web sockets)

Interactive hoverboard experiment using a mobile phone and web sockets.

**The original version of this project was built using a Daydream controller.
To make it accessible to more people, I've changed it to use a mobile phone to connect to the browser via web sockets.**


Blog post here:



## Demo


## Tech stack

* HTML / CSS
* (Vanilla) JavaScript
* DeviceOrientation Web API
* Three.js
* Node.js w/ socket.io


## Current commands

After opening the link on mobile, place the phone on a skateboard and start tilting it from left to right to avoid obstacles.

There is no particular goal or point system at the moment.





Binary file removed assets/Delorean-dynamite-trimmed.m4a
Binary file not shown.
Binary file not shown.
38 changes: 0 additions & 38 deletions index.html

This file was deleted.

Binary file removed js/.DS_Store
Binary file not shown.
103 changes: 0 additions & 103 deletions js/daydream.js

This file was deleted.

Loading

0 comments on commit 7f41d11

Please sign in to comment.