Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oseiskar/3dtris
THREE.js 3D tetris-like game
https://github.com/oseiskar/3dtris
android arcore emscripten game threejs webgl
Last synced: 3 months ago
JSON representation
THREE.js 3D tetris-like game
- Host: GitHub
- URL: https://github.com/oseiskar/3dtris
- Owner: oseiskar
- License: other
- Created: 2017-02-26T19:49:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-09T12:02:36.000Z (8 months ago)
- Last Synced: 2024-10-13T02:12:43.548Z (4 months ago)
- Topics: android, arcore, emscripten, game, threejs, webgl
- Language: JavaScript
- Homepage: https://oseiskar.github.io/3dtris/
- Size: 1.76 MB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![3dtris](android_ar/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png)
# 3D-tris
A game and an experiment on using WebGL, Emscripten and ARCore.
Available in two flavors:* [WebGL-based browser version](https://oseiskar.github.io/3dtris/)
* Android ARCore version (available on [Google Play](https://play.google.com/store/apps/details?id=xyz.osei.tris))## Building the browser version
The browser version can be built like this
1. Install [Emscripten](https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html)
1. locate `emsdk_env.sh` and set that in the root `Makefile`
1. Run `make browser` (also try `make test`)
1. `cd browser`
1. `python -m SimpleHTTPServer`
1. Go to http://localhost:8000/ (and http://localhost:8000/test/)There is also an old [JavaScript-only version](https://github.com/oseiskar/3dtris/releases/tag/js-only),
hosted in https://oseiskar.github.io/3dtris/ which works without this complicated
build process.## ARCore version for Android
Import `android_ar/build.gradle` to Android Studio 3+ and run.
## Copyright & License info
See `COPYRIGHT.md` for the licences of the included JS libraries.