A-Frame-Gun

所属分类:物理/力学计算
开发工具:JavaScript
文件大小:1870KB
下载次数:0
上传日期:2017-12-18 12:49:57
上 传 者sh-1993
说明:  A-Blast的枪重新编程,以与A-Frame物理系统组件一起工作。
(The gun from A-Blast reprogrammed to work with the A-Frame Physics System component.)

文件列表:
LICENSE (1069, 2017-12-18)
assets (0, 2017-12-18)
assets\images (0, 2017-12-18)
assets\images\decal0.png (22287, 2017-12-18)
assets\images\gun_diff.jpg (496108, 2017-12-18)
assets\images\gun_normal.png (740310, 2017-12-18)
assets\images\gun_spec.jpg (465658, 2017-12-18)
assets\models (0, 2017-12-18)
assets\models\gun.json (86848, 2017-12-18)
assets\models\player-bullet.json (24943, 2017-12-18)
build (0, 2017-12-18)
build\build.js (36329, 2017-12-18)
gun.png (141066, 2017-12-18)
index.html (4084, 2017-12-18)
package-lock.json (64636, 2017-12-18)
package.json (537, 2017-12-18)
src (0, 2017-12-18)
src\a-asset-image.js (563, 2017-12-18)
src\build.js (36329, 2017-12-18)
src\bullets (0, 2017-12-18)
src\bullets\player.js (3189, 2017-12-18)
src\components (0, 2017-12-18)
src\components\bullet.js (8406, 2017-12-18)
src\components\collision-helper.js (1238, 2017-12-18)
src\components\gun.js (3592, 2017-12-18)
src\components\headset.js (1921, 2017-12-18)
src\components\json-model.js (4960, 2017-12-18)
src\components\shoot-controls.js (2233, 2017-12-18)
src\components\weapon.js (4399, 2017-12-18)
src\index.js (460, 2017-12-18)
src\lib (0, 2017-12-18)
src\lib\poolhelper.js (1269, 2017-12-18)
src\lib\utils.js (1032, 2017-12-18)
src\systems (0, 2017-12-18)
src\systems\bullet.js (1637, 2017-12-18)

# A-Frame-Gun The gun from A-Blast VR game reprogrammed to work with A-Frame Physics System.
### Project Specifications:
A-Frame 0.7.1
A-Frame Particle System 1.0.10
A-Frame Physics System 2.10.0
A-Frame Animation Component 3.2.5
A-Frame Gradient Sky 1.0.4
### Compiling the Project
Install Node.js version 9.20 or greater.
Install Browserify using:
```bat npm install -g browserify ``` Navigate to the project src folder then run the following, which will override the file build.js in the src directory:
```bat browserify index.js -o build.js ``` Finally, copy the resultant build.js file into the build folder and override the previous build.js. ### Credit:
Code reprograms the gun from A-Blast (Serrano et al., 2017); hence, it uses a significant amount of code from the original repository. https://github.com/aframevr/a-blast.

近期下载者

相关文件


收藏者