2018-07-18 20:48:45 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>Supersaber</title>
|
|
|
|
|
<script src="vendor/aframe.dev.js"></script>
|
|
|
|
|
<script src="build/build.js"></script>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<audio id="hoverSound" src="/assets/sounds/hover.ogg"></audio>
|
|
|
|
|
|
2018-07-20 09:34:52 +02:00
|
|
|
<a-scene bind__beat-loader="challengeId: challenge.id"
|
2018-07-20 19:58:09 +02:00
|
|
|
bind__preview-song="challengeId: menuSelectedChallenge.id"
|
2018-07-18 20:48:45 +02:00
|
|
|
challenge-loader
|
|
|
|
|
console-shortcuts
|
|
|
|
|
search>
|
|
|
|
|
<a-assets timeout="10000">
|
2018-07-20 15:42:47 +02:00
|
|
|
<a-mixin id="raycaster" raycaster="objects: [raycastable]; far: 2"></a-mixin>
|
2018-07-18 20:48:45 +02:00
|
|
|
<img id="playImg" src="assets/img/play.png">
|
|
|
|
|
<img id="resultImg" src="assets/img/result.png">
|
|
|
|
|
<img id="gridImg" src="assets/img/grid.png">
|
|
|
|
|
<img id="sliceImg" src="assets/img/slice.png">
|
|
|
|
|
<a-mixin id="slice" slice9="color: #050505; src: #sliceImg; left: 50; right: 52; top: 50; bottom: 52; padding: 0.04"></a-mixin>
|
|
|
|
|
<a-mixin id="font" text="font: exo2semibold; letterSpacing: -1"></a-mixin>
|
|
|
|
|
<a-mixin id="textFont" text="font: exo2semibold; letterSpacing: -1"></a-mixin>
|
|
|
|
|
</a-assets>
|
|
|
|
|
|
|
|
|
|
<a-entity id="dustParticles" particle-system="maxAge: 100; positionSpread: 5 5 5; type: 2; rotationAxis: x; rotationAngle: 0.001; accelerationValue: 0.001 0.001 0.001; accelerationSpread: 0.001 0.001 0.001; velocityValue: 0.001 0.001 0.001; velocitySpread: 0.0125 0.0125 0.0125; color: #ffffff; size: 0.1; opacity: 0.85; direction: 0; particleCount: 150; texture: assets/img/smokeparticle.png"></a-entity>
|
|
|
|
|
|
|
|
|
|
<a-entity id="container">
|
|
|
|
|
{% include './templates/environment.html' %}
|
|
|
|
|
{% include './templates/gameUi.html' %}
|
|
|
|
|
{% include './templates/menu.html' %}
|
|
|
|
|
</a-entity>
|
|
|
|
|
|
|
|
|
|
<a-entity id="cameraRig">
|
|
|
|
|
<a-entity id="camera" camera look-controls="enabled: false" orbit-controls="target: 0 1.6 -0.5; maxDistance: 20; initialPosition: 0 1.6 0"></a-entity>
|
2018-07-20 15:42:47 +02:00
|
|
|
<a-entity id="leftHand" controller="hand: left"></a-entity>
|
|
|
|
|
<a-entity id="rightHand" controller="hand: right"></a-entity>
|
2018-07-18 20:48:45 +02:00
|
|
|
</a-entity>
|
|
|
|
|
|
2018-07-20 09:34:52 +02:00
|
|
|
<a-entity id="mouseCursor" mixin="raycaster" cursor="rayOrigin: mouse" debug-cursor bind__isPlaying="!inVR"></a-entity>
|
2018-07-18 20:48:45 +02:00
|
|
|
</a-scene>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|